Back to models
deprecated
Grok 4
xai/grok-4Prices
- Input
$1.25 per 1M tokens
unverified · disputed- Input (>200k ctx)
$2.50 per 1M tokens
low- Input (cached read, >200k ctx)
$0.40 per 1M tokens
low- Input (cached read)
$0.20 per 1M tokens
unverified · disputed- Output
$2.50 per 1M tokens
unverified · disputed- Output (>200k ctx)
$5.00 per 1M tokens
low
Also available on
The same model, sold by someone else. The price above is the maker's own.
| Channel | What | Price |
|---|---|---|
| Microsoft Azure · azure-ai | Input | $3.00 per 1M tokens |
| Output | $15.00 per 1M tokens | |
| OpenRouter | Input | $3.00 per 1M tokens |
| Output | $15.00 per 1M tokens | |
| Other · abacus | Input | $3.00 per 1M tokens |
| Output | $15.00 per 1M tokens | |
| Other · fastrouter | Input | $3.00 per 1M tokens |
| Input (cache write) | $15.00 per 1M tokens | |
| Input (cached read) | $0.75 per 1M tokens | |
| Output | $15.00 per 1M tokens | |
| Other · helicone | Input | $3.00 per 1M tokens |
| Input (cached read) | $0.75 per 1M tokens | |
| Output | $15.00 per 1M tokens | |
| Other · jiekou | Input | $2.85 per 1M tokens |
| Output | $14.25 per 1M tokens | |
| Other · llmgateway | Input | $3.00 per 1M tokens |
| Input (cached read) | $0.75 per 1M tokens | |
| Output | $15.00 per 1M tokens | |
| Other · llmgateway-providers | Input | $3.00 per 1M tokens |
| Input (cached read) | $0.75 per 1M tokens | |
| Output | $15.00 per 1M tokens | |
| Other · oci | Input | $3.00 per 1M tokens |
| Output | $15.00 per 1M tokens | |
| Other · poe | Input | $3.00 per 1M tokens |
| Input (cached read) | $0.75 per 1M tokens | |
| Output | $15.00 per 1M tokens | |
| Other · replicate | Input | $7.20 per 1M tokens |
| Output | $36.00 per 1M tokens | |
| Other · vercel-ai-gateway | Input | $3.00 per 1M tokens |
| Output | $15.00 per 1M tokens | |
| Other · zenmux | Input | $3.00 per 1M tokens |
| Input (cached read) | $0.75 per 1M tokens | |
| Output | $15.00 per 1M tokens |
Specifications
- Provider
- xai
- Context window
- 256,000
- Max output tokens
- 256,000
- Open weights
- no
- Released
- 07/09/2025
- Retires
- 01/31/2027
- First seen by this tracker
Price history
Input — per 1M tokens
| From | Amount |
|---|---|
| 09/14/2026 | 3 |
| 09/14/2026 | 1.25 |
Input (cached read) — per 1M tokens
| From | Amount |
|---|---|
| 09/14/2026 | 0.75 |
| 09/14/2026 | 0.2 |
Output — per 1M tokens
| From | Amount |
|---|---|
| 09/14/2026 | 15 |
| 09/14/2026 | 2.5 |
No changes recorded
- Input (>200k ctx)
- 2.5 per 1M tokens, unchanged since 09/14/2026
- Output (>200k ctx)
- 5 per 1M tokens, unchanged since 09/14/2026
- Input (cached read, >200k ctx)
- 0.4 per 1M tokens, unchanged since 09/14/2026