XAI (Grok) API Pricing
8 XAI models with published API pricing, $1.25–$3.00 per 1M tokens blended.
Grok token pricing
Price per 1M input and output tokens for XAI models with a published API price, sortable below.
XAI model prices
| Model | ECI | Arena coding | In $/1M | Out $/1M | Blended |
|---|---|---|---|---|---|
| Grok 4.20 (Non-Reasoning) | — | — | 1.25 | 2.50 | 1.5625 |
| Grok 4.20 (Reasoning) | — | — | 1.25 | 2.50 | 1.5625 |
| Grok 4.3 | — | 1488 | 1.25 | 2.50 | 1.5625 |
| Grok 4.5 | 155.1 | 1514 | 2.00 | 6.00 | 3.00 |
| Grok 4.6 | 157.9 | 1509 | 2.00 | 6.00 | 3.00 |
| Grok 4.7 | 156.1 | 1494 | 2.00 | 6.00 | 3.00 |
| Grok Build 0.1 | — | — | 1.00 | 2.00 | 1.25 |
| x-AI/Grok-Code-Fast 1 | — | — | 1.00 | 2.00 | 1.25 |
Same workload, different XAI models
| Workload | Grok 4.6 | Grok 4.7 | Grok 4.5 | Grok 4.20 (Non-Reasoning) | Grok 4.20 (Reasoning) | Grok 4.3 | Grok Build 0.1 | x-AI/Grok-Code-Fast 1 |
|---|---|---|---|---|---|---|---|---|
| Short chat reply 500 in / 300 out | 0.28¢ | 0.28¢ | 0.28¢ | 0.137¢ | 0.137¢ | 0.137¢ | 0.11¢ | 0.11¢ |
| RAG query 4,000 in / 500 out | $0.0110 | $0.0110 | $0.0110 | 0.625¢ | 0.625¢ | 0.625¢ | 0.5¢ | 0.5¢ |
| Long document summary 50,000 in / 1,000 out | $0.1060 | $0.1060 | $0.1060 | $0.0650 | $0.0650 | $0.0650 | $0.0520 | $0.0520 |
Also tracked but without published pricing: Grok 4.1 Fast, Grok 4.1 Fast (Reasoning), Grok Imagine Image, Grok Imagine Image 2.0, Grok Imagine Image Quality, Grok Imagine Video, Grok Imagine Video 1.5, Grok Imagine Video 1.5 Lite, Grok TTS, Grok Voice 3.0, Grok Voice STT 1.0, Grok Voice TTS 1.0, Grok Voice Transcribe 2.0, X-Ai/Grok-4-Fast-Non-Reasoning, X-Ai/Grok-4-Fast-Reasoning.
Compare XAI with other developers
FAQ
How many XAI models have published API pricing?
8 XAI models currently have published pricing, ranging from $1.25 to $3.00 per 1M tokens blended.
What is the cheapest XAI model?
Grok Build 0.1, at $1.25/1M blended tokens.
Which XAI model offers the best value?
Grok 4.6, delivering 52.6 ECI points per $1/1M blended tokens — the highest of any priced XAI model.
Which XAI model has the highest ECI?
Grok 4.6, scoring 157.9 on the Epoch Capabilities Index.
Where does this pricing data come from?
models.dev and LiteLLM (open MIT-licensed catalogs), synced daily. See the full XAI lineup below, including any unpriced/unreleased models.