Claude Opus 4.8 vs Grok 4.20
Side-by-side pricing tables, surcharge math, capability benchmarks, and 30-day spend estimators across 411 live models and cloud GPU matchups.
$1.25 vs $5.00 / 1M
$2.50 vs $25.00 / 1M
—
2M vs 1M tokens
Capability Benchmarks & Third-Party Evaluations
Compare Artificial Analysis intelligence and engineering indexes, core capability matrices, and standardized external leaderboards.
| Metric | Claude Opus 4.8 | Grok 4.20 |
|---|---|---|
| Reasoning | max/xhigh/high/medium/low/none | Yes |
| Input Modalities | text, image | text, image, file |
| Tools & JSON | Tools · JSON | Tools · JSON |
| Prompt Caching | $0.50/1M | $0.20/1M |
| Open-Weight | Proprietary | Proprietary |
Compare independent Intelligence Index, Engineering/Coding scores, tokens/sec throughput, and TTFT latency for Claude Opus 4.8 and Grok 4.20.
Blind pairwise human preference Elo ratings across Overall, Coding, Hard Prompts, and Instruction Following.
Measures autonomous GitHub repository issue resolution rates in sandboxed software engineering evaluations.
Monthly refreshed objective tests spanning Math, Coding, Reasoning, Data Analysis, and Language.
Evaluates practical diff editing pass rates and API cost per benchmark run across Python, C++, Go, Java, JS, and Rust.
Live provider uptime, latency, throughput, and parameter support for anthropic/claude-opus-4.8.
Live provider uptime, latency, throughput, and parameter support for x-ai/grok-4.20.
Side-by-side specification matrix
USD ·| Metric | Compare | ||
|---|---|---|---|
| Input / 1M | $5.00 | $1.25 | Grok 4.20 -75% |
| Output / 1M | $25.00 | $2.50 | Grok 4.20 -90% |
| 5m Cache Write / 1M | $6.25 | $1.25 | Grok 4.20 -80% |
| 1h Cache Write / 1M | $10.00 | — | — |
| Cache Read | $0.50 | $0.20 | Grok 4.20 -60% |
| Web Search / Call | $0.01 | $0.005 | Grok 4.20 -50% |
| Context | 1M (1,000,000) | 2M (2,000,000) | Grok 4.20 2× |
| Max Output | 128K (128,000) | 1.8M (1,800,000) | Grok 4.20 14× |
| AA Intelligence(Artificial Analysis) | — | — | — |
| AA Engineering | — | — | — |
| Capabilities | text, image | text, image, file | Grok 4.20 |
| Reasoning | max, xhigh, high, medium, low, none | Supported | Equal |
| Structured Outputs(JSON Schema) | Supported | Supported | Equal |
| Open-Weight | Proprietary API | Proprietary API | Equal |
30-day production cost estimator
Adjust daily volume, prompt length, and cache hit rate to model 30-day API spend.
Frequently Asked Questions
Is Claude Opus 4.8 or Grok 4.20 cheaper per API token?
Grok 4.20 is 75% cheaper on input tokens ($1.25 vs $5.00 per 1M). For output tokens, Grok 4.20 costs 90% less ($2.50 vs $25.00 per 1M).
How do Claude Opus 4.8 and Grok 4.20 prompt caching discounts compare?
Grok 4.20 offers 60% cheaper cache reads at $0.20/1M compared to $0.50/1M for Claude Opus 4.8. Claude Opus 4.8 5m write: $6.25/1M; Grok 4.20 5m write: $1.25/1M.
Which model has a larger context window: Claude Opus 4.8 or Grok 4.20?
Grok 4.20 provides a 2× larger context window (2M vs 1M tokens). For single-turn output generation, Claude Opus 4.8 caps at 128K tokens and Grok 4.20 caps at 1.8M tokens.
How do Claude Opus 4.8 and Grok 4.20 compare on benchmarks and capabilities?
Compare Claude Opus 4.8 (Anthropic) and Grok 4.20 (xAI) across tool calling (yes vs yes) and reasoning support above.
Related Head-to-Head Matchups
ComparisonsClaude Opus 4.8 vs GPT-6.2 Astra
In: $5.00 vs $8.00 · Out: $25.00 vs $40.00
Claude Opus 4.8 vs GPT-6.2 Sol
In: $5.00 vs $2.00 · Out: $25.00 vs $10.00
Claude Opus 4.8 vs GPT Oss 20B
In: $5.00 vs $0.03 · Out: $25.00 vs $0.13
Claude Opus 4.8 vs GPT-6 Sol Pro
In: $5.00 vs $2.00 · Out: $25.00 vs $10.00
Grok 4.20 vs Llama 4 Scout
In: $1.25 vs $0.10 · Out: $2.50 vs $0.30
Grok 4.20 vs DeepSeek V4.1 Flash
In: $1.25 vs $0.14 · Out: $2.50 vs $0.42