Compare / head-to-head
Claude Opus 4.7vs
Grok 4
Claude Opus 4.7 leads 10 of 10 shared benchmarks. Claude Opus 4.7 has the larger context window (1M tokens).
Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.
Shared benchmarks
10 – 0
Claude Opus 4.7 leads
Cheaper per token
—
list price, input + output
Larger context
Claude Opus 4.7
1M tokens
Providers
2 providers
Anthropic · xAI
Claude Opus 4.7
Anthropic · released 2026-04-16
textvision
Grok 4
xAI · released 2025-07-09
textvision
- Context
- 256K
- Max out
- —
- Input /1M
- —
- Output /1M
- —
- Cached /1M
- —
- Scores
- 17 · 8 core
Quality
Benchmark matrix
10 shared · 28 only Claude Opus 4.7 · 7 only Grok 4| Benchmark | Claude Opus 4.7 | Grok 4 | Δ | Edge |
|---|---|---|---|---|
| Reported by both · 10 | ||||
| GPQA Diamond | 94.2% ↗ | 87% ↗epoch run | +7.2 pt | Claude Opus 4.7 |
| Humanity's Last Exam (no tools) | 46.9% ↗ | 25.4% ↗ | +21.5 pt | Claude Opus 4.7 |
| LMArena Elo | 1483.4 ↗ | 1410.8 ↗ | +72.6 | Claude Opus 4.7 |
| Chess Puzzles (Epoch AI run) | 30% ↗epoch run | 28% ↗epoch run | +2 pt | Claude Opus 4.7 |
| Humanity's Last Exam (with tools) | 54.7% ↗ | 38.6% ↗ | +16.1 pt | Claude Opus 4.7 |
| LMArena Vision (LMArena) | 1298.1 ↗ | 1184.2 ↗ | +113.9 | Claude Opus 4.7 |
| OTIS Mock AIME 2024-2025 (Epoch AI run) | 97.8% ↗epoch run | 84% ↗epoch run | +13.8 pt | Claude Opus 4.7 |
| SAGE (Vals AI) | 56.1% ↗ | 25.1% ↗ | +31 pt | Claude Opus 4.7 |
| SimpleBench (SimpleBench) | 61.7% ↗ | 60.5% ↗ | +1.2 pt | Claude Opus 4.7 |
| WeirdML (Håvard Tveit Ihle) | 76.4% ↗ | 45.7% ↗ | +30.7 pt | Claude Opus 4.7 |
| Only Claude Opus 4.7 reports · 28 | ||||
| SWE-bench Verified | 87.6% ↗ | not reported | — | — |
| AIME 2026 | 95.8% ↗matharena ⚠ | not reported | — | — |
| APEX-Agents (Mercor) | 49.2% ↗ | not reported | — | — |
| BrowseComp | 79.8% ↗ | not reported | — | — |
| EBR-bench (Epoch AI run) | 19% ↗epoch run | not reported | — | — |
| FrontierMath Tier 4 v2 (Epoch AI run) | 31.7% ↗epoch run | not reported | — | — |
| FrontierMath Tiers 1-3 v2 (Epoch AI run) | 70.2% ↗epoch run | not reported | — | — |
| Furniture Assembly (Epoch AI run) | 33.3% ↗epoch run | not reported | — | — |
| GSO Opt@1 (GSO) | 42.2% ↗ | not reported | — | — |
| LiveBench Agentic Coding (LiveBench) | 50.7% ↗ | not reported | — | — |
| LiveBench Coding (LiveBench) | 82.1% ↗ | not reported | — | — |
| LiveBench Data Analysis (LiveBench) | 78.3% ↗ | not reported | — | — |
| LiveBench Instruction Following (LiveBench) | 66.7% ↗ | not reported | — | — |
| LiveBench Language (LiveBench) | 77.9% ↗ | not reported | — | — |
| LiveBench Mathematics (LiveBench) | 92.9% ↗ | not reported | — | — |
| LiveBench Reasoning (LiveBench) | 87.2% ↗ | not reported | — | — |
| LMArena WebDev (LMArena) | 1557.3 ↗ | not reported | — | — |
| MirrorCode (Epoch AI run) | 31.1% ↗epoch run | not reported | — | — |
| Mystery Game Puzzles (Epoch AI run) | 28% ↗epoch run | not reported | — | — |
| OSWorld-Verified | 82.8% ↗ | not reported | — | — |
| SimpleQA Verified | 51.7% ↗epoch run | not reported | — | — |
| SWE-bench Multilingual | 80.5% ↗ | not reported | — | — |
| SWE-bench Multimodal | 34.5% ↗ | not reported | — | — |
| SWE-Bench Pro | 64.3% ↗ | not reported | — | — |
| SWE-bench Verified (Epoch AI run) | 83.5% ↗epoch run | not reported | — | — |
| tau2-bench Banking Knowledge (Sierra) | 40.2% ↗ | not reported | — | — |
| Terminal-Bench 2.1 | 66.1% ↗ | not reported | — | — |
| Vending-Bench 2 (Andon Labs) | 10936.76 ↗ | not reported | — | — |
| Only Grok 4 reports · 7 | ||||
| AIME 2025 | not reported | 91.7% ↗ | — | — |
| ARC-AGI-2 | not reported | 15.9% ↗ | — | — |
| BALROG (BALROG) | not reported | 43.6% ↗ | — | — |
| GPQA (no tools) | not reported | 87.5% ↗ | — | — |
| HMMT 2025 (no tools) | not reported | 90% ↗ | — | — |
| LiveCodeBench (Jan - May) | not reported | 79% ↗ | — | — |
| USAMO 2025 (no tools) | not reported | 37.5% ↗ | — | — |
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is Claude Opus 4.7 minus Grok 4 in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing
Side by side
Official pricing pages and model cards| Spec | Claude Opus 4.7 | Grok 4 | Edge |
|---|---|---|---|
| Context window | 1M tokens | 256K tokens | Claude Opus 4.7 |
| Max output | 128K tokens | — | — |
| Input price / 1M | $5 ↗ | — | — |
| Output price / 1M | $25 ↗ | — | — |
| Cached input / 1M | $0.5 ↗ | — | — |
| Input + output / 1M Lower is cheaper. List prices; batch, tool and regional fees excluded. | $30 | — | — |
| Modalities | text · vision | text · vision | Tie |
| Released | 2026-04-16 | 2025-07-09 | — |
| Cited benchmark scores | 46 | 17 | — |
Reliability
Provider status
Live from /statusMore matchups
Claude Opus 4.7 vs …
Models sharing the most benchmarksMore matchups
Grok 4 vs …
Models sharing the most benchmarksBuilt by Respan
Which one wins on your data?
Public benchmarks are a starting point. Run Claude Opus 4.7 and Grok 4 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.