Skip to content

xAI: Grok 4.20 provider comparison

x-ai/grok-4.20

Grok 4.20 is a reasoning model from xAI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering...

Endpoints:
4
Context:
2M
Input:
text, image, file
Output:
text
Compare this model in a set →

At a glance

Comparison winners

Based on 1,000 input and 500 output tokens using the latest published median speed data.

Best cost/speed trade-off

xAIxai

$1.6667 / 1M tokens

5.48 s estimated response

Cheapest

xAIxai

$1.6667 / 1M tokens

$0.0025 for the sample request

Fastest

xAIxai

5.48 s estimated response

$1.6667 / 1M tokens

Visual comparison

Price and performance charts

Compare published endpoint pricing and estimated response time visually.

Effective price by endpoint

USD per 1 million tokens for input and output. Lower is better.

xAI has the lowest estimated cost for 1,000 input and 500 output tokens at $0.0025.

Estimated cost vs. response time

Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.

2 providers have complete pricing and speed data. xAI is closest to the ideal combination of lowest cost and fastest response.

Server-rendered comparison

Provider endpoints

Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.

Endpoint comparison for xAI: Grok 4.20
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
xAIxai
CheapestFastestBest cost/speed trade-off
Current pricing
Input price
$1.25 / 1M tokens
Output price
$2.5 / 1M tokens
Sample cost
$0.0025
Speed measurements
500-token response
5.48 s
Response starts
0.58 s
Output speed
102.0 tok/s
Endpoint details
Uptime (30 min)
99.76%
Context
2M
Model format
unknown
Max output
N/a
12 parameters

include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
xAIxai/priority
Current pricing
Input price
$2.5 / 1M tokens
Output price
$5 / 1M tokens
Sample cost
$0.005
Speed measurements
500-token response
Insufficient recent data
Response starts
Insufficient recent data
Output speed
Insufficient recent data
Endpoint details
Uptime (30 min)
99.76%
Context
2M
Model format
unknown
Max output
N/a
12 parameters

include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
xAIxai/zdr
Current pricing
Input price
$1.25 / 1M tokens
Output price
$2.5 / 1M tokens
Sample cost
$0.0025
Speed measurements
500-token response
10.84 s
Response starts
0.84 s
Output speed
50.0 tok/s
Endpoint details
Uptime (30 min)
100.00%
Context
2M
Model format
unknown
Max output
N/a
12 parameters

include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
xAIxai/zdr/priority
Current pricing
Input price
$2.5 / 1M tokens
Output price
$5 / 1M tokens
Sample cost
$0.005
Speed measurements
500-token response
Insufficient recent data
Response starts
Insufficient recent data
Output speed
Insufficient recent data
Endpoint details
Uptime (30 min)
100.00%
Context
2M
Model format
unknown
Max output
N/a
12 parameters

include_reasoning, logprobs, max_tokens, reasoning, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Endpoint data fetched .

Grok 4.20 deployment guide

How to choose a Grok 4.20 inference provider

Grok 4.20 is indexed here as a text model by xAI, with 4 provider endpoints from xAI. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.

Match the endpoint to the workload

The model publishes a 2M-token context window. It accepts text, image, file input and returns text output. 12 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.

Compare the real request economics

xAI currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.0025. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.

Balance response start and generation speed

xAI currently has the shortest estimated 500-token response at 5.48 seconds. xAI is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.