grok-4.20-0309-reasoning API pricing
xAI charges $1.25 per million input tokens and $2.5 per million output tokens for grok-4.20-0309-reasoning, and $0.2 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.0025, or $0.002 through the batch API.
Prices updated October 28, 2026
Input / 1M tokens
$1.25
Output / 1M tokens
$2.5
Cached input / 1M tokens
$0.2
Typical request
$0.0025
grok-4.20-0309-reasoning price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $1.25 | $1 |
| Cached input | $0.2 | $0.16 |
| Output | $2.5 | $2 |
grok-4.20-0309-reasoning supports a 1M-token context window, up to 1M output tokens, image input, tool calling and reasoning.
What grok-4.20-0309-reasoning costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.000875 | $0.88 | $875.00 |
| Typical request (1K in, 500 out) | $0.0025 | $2.50 | $2,500.00 |
| Long document summary (20K in, 1K out) | $0.0275 | $27.50 | $27,500.00 |
| Coding agent step (50K in, 2K out) | $0.0675 | $67.50 | $67,500.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. xAI counts tokens with its own tokenizer, so the same text can be a different number of tokens.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| grok-4.3 | xAI | $1.25 | $0.2 | $2.5 | $0.0025 |
| grok-4.20 | xAI | $1.25 | $0.2 | $2.5 | $0.0025 |
| grok-4.20-0309-non-reasoning | xAI | $1.25 | $0.2 | $2.5 | $0.0025 |
| grok-4.20-non-reasoning | xAI | $1.25 | $0.2 | $2.5 | $0.0025 |
| grok-4.20-reasoning | xAI | $1.25 | $0.2 | $2.5 | $0.0025 |
| gemini-3.6-flash | Google Gemini | $0.75 | $0.075 | $3.75 | $0.00263 |
| gemini-3.7-flash | Google Gemini | $0.75 | $0.075 | $3.75 | $0.00263 |
| gemini-3.8-flash | Google Gemini | $0.75 | $0.075 | $3.75 | $0.00263 |
Other xAI models
- grok-4.3 $1.25 / $2.5
- grok-4.5 $2 / $6
- grok-4.6 $2 / $6
- grok-4.7 $2 / $6
- grok-4.20 $1.25 / $2.5
- grok-4.20-0309-non-reasoning $1.25 / $2.5
- grok-4.20-non-reasoning $1.25 / $2.5
- grok-4.20-reasoning $1.25 / $2.5
- grok-build-0.1 $1 / $2
- grok-code-fast $1 / $2
- grok-code-fast-1-0825 $1 / $2
Source: xAI pricing.