Compare / head-to-head

Claude Sonnet 4.5vsGrok 4

Grok 4 leads 7 of 10 shared benchmarks. Grok 4 has the larger context window (256K tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
3 – 7
Grok 4 leads
Cheaper per token
—
list price, input + output
Larger context
Grok 4
256K tokens
Providers
2 providers
Anthropic · xAI
Claude Sonnet 4.5
Anthropic · released 2025-09-29
textvision
Context
200K
Max out
64K
Input /1M
$3 ↗
Output /1M
$15 ↗
Cached /1M
$0.3
Scores
43 · 12 core
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

BenchmarkClaude Sonnet 4.5Grok 4ΔEdge
Reported by both · 10
GPQA Diamond83.4% ↗87% ↗epoch run-3.6 ptGrok 4
AIME 202584.2% ↗matharena ⚠91.7% ↗-7.5 ptGrok 4
Humanity's Last Exam (no tools)17.7% ↗25.4% ↗-7.7 ptGrok 4
LMArena Elo1456.6 ↗1410.8 ↗+45.8Claude Sonnet 4.5
Chess Puzzles (Epoch AI run)12% ↗epoch run28% ↗epoch run-16 ptGrok 4
Humanity's Last Exam (with tools)33.6% ↗38.6% ↗-5 ptGrok 4
OTIS Mock AIME 2024-2025 (Epoch AI run)77.8% ↗epoch run84% ↗epoch run-6.2 ptGrok 4
SAGE (Vals AI)36.1% ↗25.1% ↗+11 ptClaude Sonnet 4.5
SimpleBench (SimpleBench)54.3% ↗60.5% ↗-6.2 ptGrok 4
WeirdML (Håvard Tveit Ihle)47.7% ↗45.7% ↗+2 ptClaude Sonnet 4.5
Only Claude Sonnet 4.5 reports · 26
SWE-bench Verified77.2% ↗not reported——
ARC-AGI-2 (Verified)13.6% ↗not reported——
EBR-bench (Epoch AI run)2.4% ↗epoch runnot reported——
FrontierMath Tier 4 v2 (Epoch AI run)2.4% ↗epoch runnot reported——
FrontierMath Tiers 1-3 v2 (Epoch AI run)23.9% ↗epoch runnot reported——
GDPval-AA1276 ↗not reported——
GSO Opt@1 (GSO)12.7% ↗not reported——
LMArena WebDev (LMArena)1393 ↗not reported——
MATH Level 5 (Epoch AI run)97.7% ↗epoch runnot reported——
MCP Atlas43.8% ↗not reported——
MMMLU89.5% ↗not reported——
MMMU-Pro (no tools)63.4% ↗not reported——
MMMU-Pro (with tools)68.9% ↗not reported——
Mystery Game Puzzles (Epoch AI run)17% ↗epoch runnot reported——
OSWorld-Verified61.4% ↗not reported——
OSWorld-Verified (XLANG)62.9% ↗not reported——
SimpleQA Verified30.7% ↗epoch runnot reported——
SWE-bench Verified (Epoch AI run)71.3% ↗epoch runnot reported——
tau2-bench Airline (Sierra)72% ↗not reported——
tau2-bench Banking Knowledge (Sierra)25.3% ↗not reported——
Tau2-bench Retail86.2% ↗not reported——
tau2-bench Retail (Sierra)72.4% ↗not reported——
Tau2-bench Telecom98% ↗not reported——
tau2-bench Telecom (Sierra)84.9% ↗not reported——
Terminal-Bench 2.051% ↗not reported——
Vending-Bench 2 (Andon Labs)3838.74 ↗not reported——
Only Grok 4 reports · 7
ARC-AGI-2not reported15.9% ↗——
BALROG (BALROG)not reported43.6% ↗——
GPQA (no tools)not reported87.5% ↗——
HMMT 2025 (no tools)not reported90% ↗——
LiveCodeBench (Jan - May)not reported79% ↗——
LMArena Vision (LMArena)not reported1184.2 ↗——
USAMO 2025 (no tools)not reported37.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 Sonnet 4.5 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

SpecClaude Sonnet 4.5Grok 4Edge
Context window200K tokens256K tokensGrok 4
Max output64K tokens——
Input price / 1M$3 ↗——
Output price / 1M$15 ↗——
Cached input / 1M$0.3 ↗——
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$18——
Modalitiestext · visiontext · visionTie
Released2025-09-292025-07-09—
Cited benchmark scores4317—
Reliability

Provider status

All providers →
More matchups

Claude Sonnet 4.5 vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run Claude Sonnet 4.5 and Grok 4 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.