Grok API pricing
Grok API prices per million tokens, context windows and independent benchmark scores for xAI models.
Prices updated . Benchmarks updated .
Prices are the current OpenRouter rate, refreshed about hourly. This page does not chart older prices.
| Model | You send / 1M | It replies / 1M | Context | ECI | Launched |
|---|---|---|---|---|---|
| Grok 4.6Closed | $2.00 | $6.00 | 200K | 156.9 | 2026-08-12 |
| Grok 4.7Closed | $2.00 | $6.00 | 500K | 154.6 | 2026-09-21 |
| Grok 4.5Closed | $2.00 | $6.00 | 500K | 154.4 | 2026-07-08 |
| Grok 4.20Closed | $1.25 | $2.50 | 2M | 152.3 | 2026-03-12 |
| Grok 4.3Closed | $1.25 | $2.50 | 1M | n/a | 2026-04-17 |
| Grok Build 0.1Closed | $1.00 | $2.00 | 256K | n/a | 2026-04-16 |
| Grok 4.20 Multi-AgentClosed | $1.25 | $2.50 | 2M | n/a | 2026-03-12 |
Which xAI model ranks highest?
Grok 4.6 has the highest Epoch Capabilities Index among xAI models on this page, at 156.9. Grok 4.7 is next at 154.6. Grok 4.6 costs $6.00 per million output tokens and reads 200K of context. The index is an independent score from Epoch AI. Lab-reported numbers are kept off this ranking.
Which xAI model is cheapest?
Grok Build 0.1 has the lowest published output price among xAI models here, at $2.00 per million tokens. Input tokens cost $1.00 per million and the context window is 256K. Grok 4.20 is next at $2.50 per million output tokens. It has no published Epoch Capabilities Index in the current file. Prices are the current public rate and can change.
FAQ
Which xAI model ranks highest?
Grok 4.6 has the highest Epoch Capabilities Index among xAI models on this page, at 156.9. Grok 4.7 is next at 154.6. Grok 4.6 costs $6.00 per million output tokens and reads 200K of context. The index is an independent score from Epoch AI. Lab-reported numbers are kept off this ranking.
Which xAI model is cheapest?
Grok Build 0.1 has the lowest published output price among xAI models here, at $2.00 per million tokens. Input tokens cost $1.00 per million and the context window is 256K. Grok 4.20 is next at $2.50 per million output tokens. It has no published Epoch Capabilities Index in the current file. Prices are the current public rate and can change.
How many xAI models are listed?
This page lists 7 xAI models with a public price or an independent score. Open the comparison table to filter the full catalogue.
Sources and licenses
- OpenRouter: Prices, context windows, modalities and the model list come from the OpenRouter public API. Data: OpenRouter.
- Vercel AI Gateway: The no-training flag comes from the Vercel AI Gateway model list.
- models.dev: Lab launch dates, open-weights flags and knowledge cutoffs come from models.dev. Copyright (c) 2025 models.dev, MIT License.
- Epoch AI: Independent benchmark scores and the Epoch Capabilities Index (ECI) come from Epoch AI's Benchmarking Hub, used under CC BY 4.0. Epoch AI, Capabilities & benchmarking, epoch.ai/benchmarks. Scores Epoch marks as external keep their original license, and the source is named on each score.
- LMArena: Arena Elo (text, webdev and vision) comes from the LMArena leaderboard dataset (lmarena-ai/leaderboard-dataset), CC BY 4.0, leaderboard date 2026-10-28.
- Lab-reported scores, when an editor has added them, are the lab's own numbers. Each one links to the source and is labeled lab-reported. They are not used to rank the lists.
- What a score measures: the benchmark guide.
