Grok 4.5 API pricing
xAI model · xAI on AIWiseRank
Short answer
Grok 4.5 by xAI costs $2 per 1M input tokens and $6 per 1M output tokens, with a 500K token context window. It scores 86.6% on SWE-bench Verified and 52.6% on ARC-AGI-2. GPT-6 Luna scores about as well on ARC-AGI-2 (59.3%) for $0.20 per 1M blended tokens versus $3.
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.
- GPT-6 LunaARC-AGI-2 59.3% · $0.20 / 1M
- Claude Haiku 5.5ARC-AGI-2 61.3% · $0.20 / 1M
- GLM-5.3 FlashSWE-bench Verified 92% · $0.24 / 1M
Other xAI models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| Grok 4.7 | $2 | $6 |
| Grok 4.6 | $2 | $6 |
| Grok 4.3 | $1.25 | $2.50 |
| Grok 4.20 | $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.5 API cost?
Grok 4.5 costs $2 per 1M input tokens and $6 per 1M output tokens. A workload of 10M input and 2M output tokens a month costs $32.
What is the context window of Grok 4.5?
Grok 4.5 supports a 500K token context window.
Is there a cheaper alternative to Grok 4.5?
GPT-6 Luna scores 59.3% on ARC-AGI-2, close to Grok 4.5, at $0.20 per 1M blended tokens versus $3.