Stay connected with us on X, Discord, and LinkedIn to stay up to date with future analysis
logo

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

#1
Grok 4.20 Beta 0309Grok 4.20 Beta 0309
48
#2
Grok 4Grok 4
42
#3
Grok 4.1 FastGrok 4.1 Fast
39
#4
Grok 4 FastGrok 4 Fast
35
#5
Grok 3 mini Reasoning (high) FastGrok 3 mini Reasoning (high) Fast
32

Intelligence index

Total 12 models

Fastest

#1
Grok 4.20 Beta 0309Grok 4.20 Beta 0309
213 t/s
#2
Grok 4.20 Beta 0309Grok 4.20 Beta 0309
203 t/s
#3
Grok Code Fast 1Grok Code Fast 1
191 t/s
#4
Grok 3 mini Reasoning (high) FastGrok 3 mini Reasoning (high) Fast
190 t/s
#5
Grok 3 mini Reasoning (high)Grok 3 mini Reasoning (high)
189 t/s

Output speed

Total 12 models

Lowest Price

#1
Grok 4.1 FastGrok 4.1 Fast
$0.28
#2
Grok 4 FastGrok 4 Fast
$0.28
#3
Grok 4.1 FastGrok 4.1 Fast
$0.28
#4
Grok 4 FastGrok 4 Fast
$0.28
#5
Grok 3 mini Reasoning (high)Grok 3 mini Reasoning (high)
$0.35

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
Artificial Analysis Intelligence Index; Higher is better
Speed
Output Tokens per Second; Higher is better
Price
USD per 1M Tokens; Lower is better

Intelligence Evaluations

Artificial Analysis Intelligence Index

Artificial Analysis Intelligence Index; Higher is better

Artificial Analysis Intelligence Index v4.0 includes: GDPval-AA, 𝜏²-Bench Telecom, Terminal-Bench Hard, SciCode, AA-LCR, AA-Omniscience, IFBench, Humanity's Last Exam, GPQA Diamond, CritPt. See Intelligence Index methodology for further details, including a breakdown of each evaluation and how we run them.

Figures represent performance of the model's first-party API (e.g. OpenAI for o1) or the median across providers where a first-party API is not available (e.g. Meta's Llama models).

Intelligence Evaluations

Intelligence evaluations measured independently by Artificial Analysis; Higher is better
Results claimed by AI Lab (not yet independently verified)
GDPval-AA (Agentic Real-World Work Tasks, (ELO-500)/2000)
Terminal-Bench Hard (Agentic Coding & Terminal Use)
𝜏²-Bench Telecom (Agentic Tool Use)
AA-LCR (Long Context Reasoning)
AA-Omniscience Accuracy (Knowledge)
AA-Omniscience Non-Hallucination Rate (1 - Hallucination Rate)
Humanity's Last Exam (Reasoning & Knowledge)
GPQA Diamond (Scientific Reasoning)
SciCode (Coding)
IFBench (Instruction Following)
CritPt (Physics Reasoning)
MMMU Pro (Visual Reasoning)

Artificial Analysis Intelligence Index v4.0 includes: GDPval-AA, 𝜏²-Bench Telecom, Terminal-Bench Hard, SciCode, AA-LCR, AA-Omniscience, IFBench, Humanity's Last Exam, GPQA Diamond, CritPt. See Intelligence Index methodology for further details, including a breakdown of each evaluation and how we run them.

Intelligence vs. Price

Artificial Analysis Intelligence Index; Price: USD per 1M Tokens
Most attractive quadrant
xAI
xAI Fast

Artificial Analysis Intelligence Index v4.0 includes: GDPval-AA, 𝜏²-Bench Telecom, Terminal-Bench Hard, SciCode, AA-LCR, AA-Omniscience, IFBench, Humanity's Last Exam, GPQA Diamond, CritPt. See Intelligence Index methodology for further details, including a breakdown of each evaluation and how we run them.

Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).

Context Window

Context Window

Context Window: Tokens Limit; Higher is better

Maximum number of combined input & output tokens. Output tokens commonly have a significantly lower limit (varied by model).

JSON Mode & Function Calling

Function (Tool) Calling & JSON Mode

ModelsFunction callingJSON Mode
Grok 4.20 Beta 0309, xAI logoGrok 4.20 Beta 0309, xAI
Grok 4, xAI logoGrok 4, xAI
Grok 4.1 Fast, xAI logoGrok 4.1 Fast, xAI
Grok 4 Fast, xAI logoGrok 4 Fast, xAI
Grok 3 mini Reasoning (high) Fast, xAI logoGrok 3 mini Reasoning (high) Fast, xAI
Grok 3 mini Reasoning (high), xAI logoGrok 3 mini Reasoning (high), xAI
Grok 4.20 Beta 0309, xAI logoGrok 4.20 Beta 0309, xAI
Grok Code Fast 1, xAI logoGrok Code Fast 1, xAI
Grok 3 Fast, xAI logoGrok 3 Fast, xAI
Grok 3, xAI logoGrok 3, xAI
Grok 4.1 Fast, xAI logoGrok 4.1 Fast, xAI
Grok 4 Fast, xAI logoGrok 4 Fast, xAI

Indicates whether the provider supports function calling in their API. Function calling is also known as 'Tool Calling'.

Indicates whether the provider supports JSON mode in their API. When JSON mode is enabled, the models will always return a valid JSON object.

Pricing

Intelligence vs. Price

Artificial Analysis Intelligence Index; Price: USD per 1M Tokens
Most attractive quadrant
xAI
xAI Fast

Artificial Analysis Intelligence Index v4.0 includes: GDPval-AA, 𝜏²-Bench Telecom, Terminal-Bench Hard, SciCode, AA-LCR, AA-Omniscience, IFBench, Humanity's Last Exam, GPQA Diamond, CritPt. See Intelligence Index methodology for further details, including a breakdown of each evaluation and how we run them.

Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).

Figures represent performance of the model's first-party API (e.g. OpenAI for o1) or the median across providers where a first-party API is not available (e.g. Meta's Llama models).

Performance Summary

Output Speed vs. Price

Output Speed: Output Tokens per Second; Price: USD per 1M Tokens; 10,000 Input Tokens
Most attractive quadrant
xAI
xAI Fast

Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API for models which support streaming).

Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).

Speed

Measured by Output Speed (tokens per second)

Output Speed

Output Tokens per Second; Higher is better; 10,000 Input Tokens

Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API for models which support streaming).

Figures represent performance of the model's first-party API (e.g. OpenAI for o1) or the median across providers where a first-party API is not available (e.g. Meta's Llama models).

Latency

Measured by Time (seconds) to First Token

Time to First Answer Token

Seconds to First Token Received; Lower is better
Input processing time
'Thinking' time (reasoning models, where applicable)

Time to first answer token received, in seconds, after API request sent. For reasoning models, this includes the 'thinking' time of the model before providing an answer. For models which do not support streaming, this represents time to receive the completion.

Seconds to receive a 500 token response. Key components:

  • Input time: Time to receive the first response token
  • Thinking time (only for reasoning models): Time reasoning models spend outputting tokens to reason prior to providing an answer. Amount of tokens based on the average reasoning tokens across a diverse set of 60 prompts (methodology details).
  • Answer time: Time to generate 500 output tokens, based on output speed

Figures represent performance of the model's first-party API (e.g. OpenAI for o1) or the median across providers where a first-party API is not available (e.g. Meta's Llama models).

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

End-to-End Response Time: End-to-End Seconds to Output 500 Tokens; Price: USD per 1M Tokens
Most attractive quadrant
xAI
xAI Fast

Seconds to receive a 500 token response considering input processing time, 'thinking' time of reasoning models, and output speed.

Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).

Figures represent performance of the model's first-party API (e.g. OpenAI for o1) or the median across providers where a first-party API is not available (e.g. Meta's Llama models).

Key definitions

Maximum number of combined input & output tokens. Output tokens commonly have a significantly lower limit (varied by model).

Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API for models which support streaming).

Time to first token received, in seconds, after API request sent. For reasoning models which share reasoning tokens, this will be the first reasoning token. For models which do not support streaming, this represents time to receive the completion.

Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).

Price per token generated by the model (received from the API), represented as USD per million Tokens.

Price per token included in the request/message sent to the API, represented as USD per million Tokens.

Metrics are 'live' and are based on the past 72 hours of measurements, measurements are taken 8 times a day for single requests and 2 times per day for parallel requests.

Frequently Asked Questions

Common questions about xAI

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.