Grok 4.20 API pricing
xAI model · xAI on AIWiseRank
Short answer
Grok 4.20 by xAI costs $1.25 per 1M input tokens and $2.50 per 1M output tokens, with a 1M token context window. It scores 72.2% on SWE-bench Verified and 65.1% on ARC-AGI-2. GLM-5.3 Flash scores about as well on SWE-bench Verified (92%) for $0.24 per 1M blended tokens versus $1.56.
Prices updated Oct 23, 2026 (APIpulse, CC BY 4.0) · Benchmarks: ARC Prize, Vals.ai · all models
API cost calculator
Enter your monthly usage in millions of tokens (1M tokens ≈ 750,000 words).
Standard rates; batch processing and prompt caching can lower the bill.
Benchmarks
Cheaper models with similar scores
Within 3 points on the same benchmark, at a lower blended price.
- GLM-5.3 FlashSWE-bench Verified 92% · $0.24 / 1M
- DeepSeek V4.1 FlashARC-AGI-2 78.1% · $0.26 / 1M
- GPT-5.6 LunaSWE-bench Verified 93% · $0.45 / 1M
Other xAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Grok 4.7 | $2 | $6 |
| Grok 4.6 | $2 | $6 |
| Grok 4.5 | $2 | $6 |
| Grok 4.3 | $1.25 | $2.50 |
| Grok 4.20 Multi-Agent | $1.25 | $2.50 |
| Grok Build 0.1 | $1 | $2 |
Frequently asked questions
How much does the Grok 4.20 API cost?
Grok 4.20 costs $1.25 per 1M input tokens and $2.50 per 1M output tokens. A workload of 10M input and 2M output tokens a month costs $17.50.
What is the context window of Grok 4.20?
Grok 4.20 supports a 1M token context window.
Is there a cheaper alternative to Grok 4.20?
GLM-5.3 Flash scores 92% on SWE-bench Verified, close to Grok 4.20, at $0.24 per 1M blended tokens versus $1.56.