Scheduled for retirement on Apr 6, 2027. Still available at the prices below until then.
Context
2M
Max output
2M
Serving providers
5
Cheapest input
$1.25 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing detail

cost beyond the standard rate · source: models.dev
Long context (>200K)
$2.50 / $5.00
input / output · per 1M

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand

Input pricing runs from $1.25 to $2.00 per 1M tokens across 5 providers, so the dearest route costs 60% more than the cheapest for the same model.

Serving providerInput /1MOutput /1MEndpoints
Azure$1.25$2.501
VercelVercel reseller quote$1.25$2.501
Vertex AI$1.25$2.501
xAICheapest$1.25$2.501
Standardxai/grok-4.20-reasoning
ComponentUnitStandardBatch
Text cached in/1M tok$0.20—
Text input/1M tok$1.25$1.00
Text output/1M tok$2.50$2.00
Aihubmix$2.00$6.001
Vercel (long context, from 200K tokens)Vercel reseller quote$2.50$5.001
Vercel (priority)Vercel reseller quote$2.50$5.001

Price history

listed seller prices, input and output per 1M tokens
Input Output
Input down 38% since first tracked
$0.00$2.00$4.00$6.00May 1Aug 30Sep 10Sep 26$2.50$1.25

Cost calculator

estimate your monthly spend on this model
$450
estimated / month

Model IDs

copy the exact identifier for your platform
azure_ai/grok-4-20-reasoningvertex_ai/xai/grok-4.20-reasoningspacexai/grok-4.20-reasoningxai/grok-4.20-reasoningaihubmix/grok-4-20-reasoningspacexai/grok-4.20-reasoningspacexai/grok-4.20-reasoning

Frequently asked questions

Grok 4 20 Reasoning pricing, context and availability

Is Grok 4 20 Reasoning still available?

Yes. Grok 4 20 Reasoning is scheduled for retirement on 2027-04-06.

How much does Grok 4 20 Reasoning cost?

Grok 4 20 Reasoning costs $1.25 per 1M input tokens from xAI, and $2.50 per 1M output tokens from xAI. Across 5 serving providers, input prices range from $1.25 to $2.00 per 1M tokens.

What is the context window of Grok 4 20 Reasoning?

Grok 4 20 Reasoning accepts up to 2M tokens of context and can return up to 2M output tokens.

Which providers serve Grok 4 20 Reasoning?

Grok 4 20 Reasoning is available from 5 serving providers, each with its own pricing and model ID. xAI is currently the cheapest.

What can Grok 4 20 Reasoning do?

Grok 4 20 Reasoning supports image input (vision), tool use, reasoning, prompt caching, structured output and web search.

Other xAI models

compare pricing across the xAI lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI