Grok 2 pricing
Source: litellm · updated 2026-10-28
Short answer: Grok 2 costs $2.00 per million input tokens and $10.00 per million output tokens. That is a 3:1 blended rate of $4.00 per million tokens, ranking it #606 of 713 tracked models by input price.
Price breakdown
| Metric | USD |
|---|---|
| Input, per 1M tokens | $2.00 |
| Output, per 1M tokens | $10.00 |
| Output รท input multiple | 5.00× |
| 3:1 blended, per 1M tokens | $4.00 |
| Context window | 131,072 tokens |
What a typical workload costs
| Monthly volume | Input cost | Output cost | Total | 1M in / 250K out | $2.00 | $2.50 | $4.50 |
|---|---|---|---|
| 10M in / 2.5M out | $20.00 | $25.00 | $45.00 |
| 100M in / 25M out | $200 | $250 | $450 |
Other vercel_ai_gateway models
| Model | Input | Output |
|---|---|---|
| Ministral 3 B | $0.040 | $0.040 |
| Llama 3.8 B | $0.050 | $0.080 |
| Devstral Small | $0.070 | $0.280 |
| Qwen 3 14 B | $0.080 | $0.240 |
| Qwen 3 30 B | $0.100 | $0.300 |
Cheaper alternatives
Next cheaper option: Us Gov Xai Grok 4.6 at $2.64 per 1M input tokens. Next step up: GLM 5.3 Prime at $2.80 per 1M input tokens.