Across 12 comparable benchmarks, Claude Sonnet 4 has better reported results on 8 and worse on 3, with 1 tied.
Moderate evidence12 of 12 shared results countedHow we compare
Claude Sonnet 4 is no longer available through its official API. API prices for this version are not shown.
Grok 3 is no longer available through its official API. API prices for this version are not shown.
Price basis: Listed rates vs listed rates. The price section below shows the applicable periods.
| Fact | Claude Sonnet 4 | Grok 3 |
|---|---|---|
| Context window | 200K tokens | 128K tokens |
| Input / 1M | — | — |
| Output / 1M | — | — |
| Blended (4:1) | — | — |
| Status | Retired | Retired |
| Released | May 23, 2025 | February 17, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 8 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Claude Sonnet 4 ahead on 2 of 3 counted
Claude Sonnet 4 ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
Claude Sonnet 4 ahead on 2 of 4 counted
Claude Sonnet 4 ahead on 1 of 1 counted
Grok 3 ahead on 1 of 1 counted
Claude Sonnet 4 ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
No shared comparable results for Computer & tool use, Research & search, Long context, Cybersecurity.
Published scores, with matching modes where available. Gaps show Claude Sonnet 4 relative to Grok 3. Reading the results
| Benchmark | Claude Sonnet 4 | Grok 3 | Gap |
|---|---|---|---|
| Aider-PolyglotAgentic Development · Accuracy | 61.3Thinking · no tools · 32K | 53.3≠Normal · no tools | +8.0 pts#14 vs #21 of 47 |
| LiveCodeBenchAlgorithmic Coding · Pass @K | 48.5Normal · no tools | 70.6Normal · no tools | 0.69×#88 vs #54 of 113 |
| Terminal Bench HardAgentic Development · Accuracy | 31.1Thinking · tools | 11.4≠Normal · tools | +19.7 pts#66 vs #114 of 157 |
| SimpleBenchCommonsense · Score (AVG@5) | 45.5Thinking · no tools | 36.1≠Normal · no tools | 1.26×#73 vs #82 of 106 |
| AIME 2024Mathematics · Accuracy | 43.4Normal · no tools | 84.2Normal · no tools | −40.8 pts#45 vs #18 of 54 |
| AIME2025Mathematics · Accuracy | 85.0Deep Thinking · tools | 77.1≠Normal · no tools | +7.9 pts#48 vs #59 of 86 |
| FrontierMathMathematics · Accuracy | 4.1Normal · no tools | 3.8Normal · no tools | +0.3 pts#32 vs #35 of 48 |
| FrontierMath - Tier 4Mathematics · Accuracy | 0.0Normal · no tools | 0.0Normal · no tools | =#44 vs #44 of 50 |
| GPQA DiamondScientific Reasoning · Accuracy | 83.8Deep Thinking · tools | 80.4≠Normal · no tools | +3.4 pts#91 vs #110 of 200 |
| MMMUVisual Understanding · Accuracy | 74.4Normal · no tools | 78.0≠Reported best | −3.6 pts#23 vs #15 of 62 |
| Creative WritingWriting | 1483Normal · no tools | 1186Normal · no tools | 1.25×#62 vs #92 of 121 |
| ECICapability Indices · ECI score (capability index, higher is better) | 142Reported best | 138Reported best | 1.02×#91 vs #104 of 168 |
Agentic Development · Accuracy
Algorithmic Coding · Pass @K
Agentic Development · Accuracy
Commonsense · Score (AVG@5)
Mathematics · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Scientific Reasoning · Accuracy
Visual Understanding · Accuracy
Writing
Capability Indices · ECI score (capability index, higher is better)
A dash means no result is available.
| Benchmark | Claude Sonnet 4 | Grok 3 |
|---|---|---|
| CritPt | 1.1 | — |
| HLE | 9.6 | — |
| IMO-ProofBench | 27.1 | — |
| IMO-ProofBench Advanced | 4.8 | — |
| MATH-500 | 99.1 | — |
| MMLU-Pro | 84.0 | — |
| CodeClash | 1223 | — |
| IOI 2024 (Vals v1) | 9.7 | — |
| IOI 2025 (Vals v1) | 4 | — |
| SWE-Bench Pro - Commercial | 9.1 | — |
| SWE-Bench Pro - Public | 42.7 | — |
| SWE-bench Verified | 80.2 | — |
| Terminal-Bench 1.0 | 41.3 | — |
| Claw Bench | 77.8 | — |
| OSWorld-Verified | 42.2 | — |
| Pinch Bench | 80.5 | — |
| PinchBench v2 | 48.8 | — |
| LiveBench | 61.3 | — |
| IF Bench | 55.0 | — |
| Fiction.liveBench | 46.9 | — |
| MMMU-Pro | 62.4 | — |
| VPCT | 34.0 | — |
| GDPval-AA | 33.0 | — |
| SAGE | 35.0 | — |
| τ²-Bench | 52.0 | — |
| τ³-Banking | 16.7 | — |
| ARC-AGI-1 | 40.0 | — |
| ARC-AGI-2 | 5.9 | — |
| BALROG | — | 29.5 |
| SimpleQA | — | 43.4 |
| MedCode | 35.0 | — |
| MedScribe | 72.4 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Claude Sonnet 4: Listed text rates; pricing tier not confirmed.
Grok 3: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Claude Sonnet 4 | Grok 3 | Ratio |
|---|---|---|---|
| Input | — | — | — |
| Output | — | — | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | — | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Lower prices are highlighted. The cache hit rate applies to input tokens only; models without a published cached-input rate use their normal input price for those tokens.Effective dates: Claude Sonnet 4 2026-11-14; Grok 3 2026-11-14.Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Attribute | Claude Sonnet 4 | Grok 3 |
|---|---|---|
| Availability | Retired | Retired |
| Provider | Anthropic | xAI |
| Model type | Reasoning model | Chat model |
| First release | May 23, 2025 | February 17, 2025 |
| Context window | 200K tokens | 128K tokens |
| Max output | 64K tokens | — |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Multilingual | Multilingual |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
| Weights | Closed / API only | Closed / API only |
| Commercial use | Proprietary | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Claude Sonnet 4 vs Grok 3.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.