Grok 4.20 API pricing
As of October 16, 2026, Grok 4.20 costs $1.25 per million input tokens and $2.50 per million output tokens on the xAI API. Cached input is $0.20 per million.
It is the 3rd cheapest of 7 Grok models tracked here, by blended price. The closest Standard-tier model from another provider is Gemini 3.6 Flash (Google) at $0.75 / $3.75; Grok 4.20 is 4% more expensive. Same list price as Grok 4.3. First listed in the LiteLLM price data on March 18, 2026. Prompts longer than 200K tokens are billed at $2.50 input / $5.00 output.
Every published rate
| Rate | Per 1M tokens |
|---|---|
| Input (standard) | $1.25 |
| Output (standard) | $2.50 |
| Cached input (read) | $0.20 |
| Batch input | $1.00 |
| Batch output | $2.00 |
| Input, prompts over 200K tokens | $2.50 |
| Output, prompts over 200K tokens | $5.00 |
What it costs in practice
| Task | Tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chatbot reply | 1,000 in / 500 out | $0.0025 | $2.50 |
| Summarize a long document | 20,000 in / 1,000 out | $0.03 | $27.50 |
| Coding agent step | 50,000 in / 2,000 out | $0.07 | $67.50 |
Standard rates, no caching or batch discount; prompts over 200K tokens are billed at the higher long-prompt rate. Compare your own numbers across all models →
Price history
| Date | Model | Change |
|---|---|---|
| 2026-08-10 | Grok 4.20 | Context window: 2M → 1M (-50%) source |
| 2026-08-10 | Grok 4.20 | Name now points to a newer version: $2 / $6 → $1.25 / $2.5 source |
| 2026-03-18 | Grok 4.20 | New model listed: $2 in / $6 out source |
Dates are when each change first appeared in the LiteLLM price data, usually within days of the provider's announcement.
Details
| Provider | xAI |
| Price tier | Standard |
| Features | Vision, Reasoning, Prompt caching, Tool use, Web search |
| API model names | grok-4.20, grok-4.20-0309, grok-4.20-0309-non-reasoning, grok-4.20-0309-reasoning, grok-4.20-beta, grok-4.20-beta-0309, grok-4.20-beta-0309-non-reasoning, grok-4.20-beta-0309-reasoning, grok-4.20-beta-latest, grok-4.20-beta-latest-non-reasoning, grok-4.20-beta-latest-reasoning, grok-4.20-beta-non-reasoning, grok-4.20-beta-reasoning, grok-4.20-experimental-beta-0304, grok-4.20-experimental-beta-0304-non-reasoning, grok-4.20-experimental-beta-0304-reasoning, grok-4.20-experimental-beta-latest, grok-4.20-experimental-beta-non-reasoning-latest, grok-4.20-experimental-beta-reasoning-latest, grok-4.20-non-reasoning, grok-4.20-non-reasoning-gv2, grok-4.20-non-reasoning-latest, grok-4.20-reasoning, grok-4.20-reasoning-gv2, grok-4.20-reasoning-latest |
| Official pricing | api.x.ai |
Models at a similar price
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Gemini 3.6 Flash | $0.75 | $3.75 |
| Gemini 3.7 Flash | $0.75 | $3.75 |
| Gemini 3.8 Flash | $0.75 | $3.75 |
| Grok 4.3 | $1.25 | $2.50 |
| GPT-5.4 Mini | $0.75 | $4.50 |
| o3 Mini | $1.10 | $4.40 |
Other xAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Grok 4.5 | $2.00 | $6.00 |
| Grok 4.6 | $2.00 | $6.00 |
| Grok 4.7 | $2.00 | $6.00 |
| Grok 4.3 | $1.25 | $2.50 |
| Grok Build 0.1 | $1.00 | $2.00 |
| Grok Code Fast 1 | $1.00 | $2.00 |