All prices › xAI
Grok API pricing (xAI)
7 xAI models, checked October 16, 2026. Prices run from $1.00 input / $2.00 output per million tokens (Grok Build 0.1) up to $2.00 / $6.00 (Grok 4.5).
What would it cost you? Pick a typical task or enter your own numbers. A token is roughly ¾ of a word. Long-prompt surcharges are applied where providers charge them.
Sorted by your estimated monthly cost, cheapest first. Click any column to sort by it. Tiers go by output price: Budget under $2, Standard $2–15, Premium $15+ per 1M tokens.
| Model | Your cost / mo ▲ | Input / 1M | Output / 1M |
|---|---|---|---|
| Grok Build 0.1xAI · Standard | $20.00 | $1.00 | $2.00 |
| Grok Code Fast 1New Sep 22xAI · Standard | $20.00 | $1.00 | $2.00 |
| Grok 4.20xAI · Standard | $25.00 | $1.25 | $2.50 |
| Grok 4.3xAI · Standard | $25.00 | $1.25 | $2.50 |
| Grok 4.5xAI · Standard | $50.00 | $2.00 | $6.00 |
| Grok 4.6xAI · Standard | $50.00 | $2.00 | $6.00 |
| Grok 4.7New Sep 21xAI · Standard | $50.00 | $2.00 | $6.00 |
Recent xAI price changes
| Date | Model | Change |
|---|---|---|
| 2026-09-22 | Grok Code Fast 1 | New model listed: $1 in / $2 out source |
| 2026-09-21 | Grok 4.7 | New model listed: $2 in / $6 out source |
| 2026-08-13 | Grok 4.6 | New model listed: $2 in / $6 out source |
| 2026-08-10 | Grok Build 0.1 | New model listed: $1 in / $2 out source |
| 2026-08-10 | Grok Code Fast 1 | New model listed: $1 in / $2 out source |
| 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-08-10 | Grok 4.20 Multi Agent | Context window: 2M → 1M (-50%) source |
| 2026-08-10 | Grok 4.20 Multi Agent | Name now points to a newer version: $2 / $6 → $1.25 / $2.5 source |
| 2026-07-08 | Grok 4.5 | New model listed: $2 in / $6 out source |
| 2026-06-05 | Grok Code Fast | New model listed: $0.2 in / $1.5 out source |
| 2026-05-07 | Grok 4.3 | New model listed: $1.25 in / $2.5 out source |
| 2026-03-18 | Grok 4.20 | New model listed: $2 in / $6 out source |
| 2026-03-18 | Grok 4.20 Multi Agent | New model listed: $2 in / $6 out source |
| 2025-11-21 | Grok 4.1 Fast | New model listed: $0.2 in / $0.5 out source |