Context
2M
Max output
2M
Serving providers
1
Cheapest input
$2.00 /1M
Prices are on-demand list rates. 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
Serving providerInput /1MOutput /1MEndpoints
Vertex AICheapest$2.00$6.001
ComponentUnitStandardBatchCached
Text cached in/1M tok$0.2000
Text input/1M tok$2.00
Text output/1M tok$6.00

Price history

input + output $/1M since we started tracking
Input Output
$0.000$2.00$4.00$6.00May 1Jun 22$6.00$2.00

Cost calculator

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

Model IDs

copy the exact identifier for your platform
vertex_ai/xai/grok-4.20-reasoning

Frequently asked questions

Grok 4 20 Reasoning pricing, context and availability

How much does Grok 4 20 Reasoning cost?

Grok 4 20 Reasoning costs $2.00 per 1M input tokens and $6.00 per 1M output tokens at its cheapest provider via Vertex AI.

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.

What can Grok 4 20 Reasoning do?

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

Other xAI models

compare pricing across the xAI lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI