Pricing detail
cost beyond the standard rate · source: models.devPricing by serving provider
standard tier · per 1M tokens · click a provider to expandInput 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 provider | Input /1M | Output /1M | Endpoints | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Azure | $1.25 | $2.50 | 1 | |||||||||||||||||
Standardazure_ai/grok-4-20-reasoning
| ||||||||||||||||||||
| VercelVercel reseller quote | $1.25 | $2.50 | 1 | |||||||||||||||||
Standardspacexai/grok-4.20-reasoning
| ||||||||||||||||||||
| Vertex AI | $1.25 | $2.50 | 1 | |||||||||||||||||
Standardvertex_ai/xai/grok-4.20-reasoning
| ||||||||||||||||||||
| xAICheapest | $1.25 | $2.50 | 1 | |||||||||||||||||
Standardxai/grok-4.20-reasoning
| ||||||||||||||||||||
| Aihubmix | $2.00 | $6.00 | 1 | |||||||||||||||||
Standardaihubmix/grok-4-20-reasoning
| ||||||||||||||||||||
| Vercel (long context, from 200K tokens)Vercel reseller quote | $2.50 | $5.00 | 1 | |||||||||||||||||
Long contextspacexai/grok-4.20-reasoning
| ||||||||||||||||||||
| Vercel (priority)Vercel reseller quote | $2.50 | $5.00 | 1 | |||||||||||||||||
Priorityspacexai/grok-4.20-reasoning
| ||||||||||||||||||||
Price history
listed seller prices, input and output per 1M tokensCost calculator
estimate your monthly spend on this modelModel IDs
copy the exact identifier for your platformFrequently asked questions
Grok 4 20 Reasoning pricing, context and availabilityIs 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 lineupEvery weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI