xAI: Models Intelligence, Performance & Price
Analysis of xAI's models across key metrics including quality, price, output speed, latency, context window & more. This analysis is intended to support you in choosing the best model provided by xAI for your use-case.
Most Intelligent
Intelligence index
Total 12 models
Fastest
Output speed
Total 12 models
Lowest Price
Blended price (per 1M tokens)
Total 12 models
xAI offers 12 models, each with different intelligence, performance, and pricing characteristics. Below is a comparison of the key metrics across models.
- For intelligence, the top models on xAI are Grok 4.20 Beta 0309 (48), Grok 4 (42), Grok 4.1 Fast (39).
- For output speed, the fastest models are Grok 4.20 Beta 0309 (213 t/s), Grok 4.20 Beta 0309 (203 t/s), Grok Code Fast 1 (191 t/s).
- For latency, Grok 4.20 Beta 0309 (0.54s), Grok 4 Fast (0.56s), Grok 4.1 Fast (0.60s) offer the lowest time to first token.
- For pricing, Grok 4.1 Fast ($0.28), Grok 4 Fast ($0.28), Grok 4.1 Fast ($0.28) offer the lowest blended prices per 1M tokens.
- For context window size, Grok 4.20 Beta 0309 (2m), Grok 4.1 Fast (2m), Grok 4 Fast (2m) support the largest context windows on xAI.
- Grok 4.20 Beta 0309 offers the best combination of intelligence and speed. For cost optimization, Grok 4.1 Fast provides the most competitive pricing.
Intelligence Evaluations
Artificial Analysis Intelligence Index
Intelligence Evaluations
Intelligence vs. Price
Context Window
Context Window
JSON Mode & Function Calling
Function (Tool) Calling & JSON Mode
Pricing
Intelligence vs. Price
Performance Summary
Output Speed vs. Price
Speed
Measured by Output Speed (tokens per second)
Output Speed
Latency
Measured by Time (seconds) to First Token
Time to First Answer Token
End-to-End Response Time
Seconds to output 500 Tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed
End-to-End Response Time vs. Price
Key definitions
Frequently Asked Questions
Common questions about xAI
xAI offers 12 models that we track: Grok 4.20 Beta 0309, Grok 4, Grok 4.1 Fast, Grok 4 Fast, Grok 3 mini Reasoning (high), Grok 3 mini Reasoning (high), Grok 4.20 Beta 0309, Grok Code Fast 1, Grok 3, Grok 3, Grok 4.1 Fast, and Grok 4 Fast.
The most intelligent model available on xAI is Grok 4.20 Beta 0309 with an Intelligence Index score of 48.
The fastest model on xAI by output speed is Grok 4.20 Beta 0309 at 213.3 tokens per second.
The model with the lowest time to first token on xAI is Grok 4.20 Beta 0309 at 0.54s. Lower latency means faster initial response time.
The most affordable model on xAI by blended price is Grok 4.1 Fast at $0.28 per 1M tokens (3:1 input to output ratio).
Prices on xAI vary up to 36x across models, from $0.28 per 1M tokens for Grok 4.1 Fast to $10.00 per 1M tokens for Grok 3.
Yes, xAI offers an OpenAI-compatible API, making it easy to switch from OpenAI or use existing OpenAI SDK integrations.
Yes, all 12 models on xAI support JSON mode for structured output.
Yes, all 12 models on xAI support function calling (tool use).
Yes, xAI offers 7 reasoning models: Grok 4.20 Beta 0309, Grok 4, Grok 4.1 Fast, Grok 4 Fast, Grok 3 mini Reasoning (high), Grok 3 mini Reasoning (high), and Grok Code Fast 1. Reasoning models use extended thinking to work through complex problems before providing an answer.
Yes, provider performance can vary over time due to infrastructure changes, load balancing, and updates. We continuously benchmark all providers and display historical performance trends in the "Over Time" charts.
When choosing a model on xAI, consider: intelligence (for quality-sensitive tasks), output speed (for throughput-intensive tasks), latency (for interactive applications requiring quick first responses), pricing (for cost-sensitive workloads), and features like context window size, JSON mode, or function calling support.