Across 7 comparable benchmarks, Claude Sonnet 4 has better reported results on 5 and worse on 2.
Moderate evidence7 of 7 shared results countedHow we compare
Claude Sonnet 4 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 | Llama 4 Maverick Instruct |
|---|---|---|
| Context window | 200K tokens | 1M tokens |
| Input / 1M | — | $0.240 |
| Output / 1M | — | $0.970 |
| Blended (4:1) | — | $0.386 |
| Status | Retired | Available |
| Released | May 23, 2025 | April 5, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 4 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
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 3 counted
Split 1–1 of 2 counted
No shared comparable results for Abstract reasoning, Mathematics, Computer & tool use, Research & search, Long context, Multimodal, Cybersecurity.
Published scores, with matching modes where available. Gaps show Claude Sonnet 4 relative to Llama 4 Maverick Instruct. Reading the results
| Benchmark | Claude Sonnet 4 | Llama 4 Maverick Instruct | Gap |
|---|---|---|---|
| LiveCodeBenchAlgorithmic Coding · Pass @K | 48.5Normal · no tools | 43.4Normal · no tools | 1.12×#88 vs #91 of 113 |
| GPQA DiamondScientific Reasoning · Accuracy | 83.8Deep Thinking · tools | 69.8≠Normal · no tools | +14.0 pts#91 vs #143 of 200 |
| MedCodeClinical Workflows · Accuracy (%) | 35.0Thinking · tools | 36.5≠Unspecified Reasoning · tools | −1.5 pts#73 vs #72 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 72.4Normal · tools | 54.2≠Unspecified Reasoning · tools | +18.2 pts#81 vs #97 of 99 |
| Creative WritingWriting | 1483Normal · no tools | 858Normal · no tools | 1.73×#62 vs #109 of 121 |
| SAGEService Workflows · Accuracy (%) | 35.0Normal · tools | 35.7≠Unspecified Reasoning · tools | −0.7 pts#67 vs #65 of 82 |
| MMLU-ProKnowledge Exams · Accuracy | 84.0Thinking · no tools | 80.5≠Normal · no tools | +3.5 pts#42 vs #59 of 153 |
Algorithmic Coding · Pass @K
Scientific Reasoning · Accuracy
Clinical Workflows · Accuracy (%)
Clinical Workflows · Rubric pass rate (%)
Writing
Service Workflows · Accuracy (%)
Knowledge Exams · Accuracy
A dash means no result is available.
| Benchmark | Claude Sonnet 4 | Llama 4 Maverick Instruct |
|---|---|---|
| AIME 2024 | 43.4 | — |
| AIME2025 | 85.0 | — |
| CritPt | 1.1 | — |
| FrontierMath | 4.1 | — |
| FrontierMath - Tier 4 | 0.0 | — |
| HLE | 9.6 | — |
| IMO-ProofBench | 27.1 | — |
| IMO-ProofBench Advanced | 4.8 | — |
| MATH-500 | 99.1 | — |
| Aider-Polyglot | 61.3 | — |
| 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 Hard | 31.1 | — |
| Terminal-Bench 1.0 | 41.3 | — |
| Claw Bench | 77.8 | — |
| OSWorld-Verified | 42.2 | — |
| Pinch Bench | 80.5 | — |
| PinchBench v2 | 48.8 | — |
| ECI | 142 | — |
| LiveBench | 61.3 | — |
| IF Bench | 55.0 | — |
| Fiction.liveBench | 46.9 | — |
| MMMU | 74.4 | — |
| MMMU-Pro | 62.4 | — |
| VPCT | 34.0 | — |
| GDPval-AA | 33.0 | — |
| τ²-Bench | 52.0 | — |
| τ³-Banking | 16.7 | — |
| ARC-AGI-1 | 40.0 | — |
| ARC-AGI-2 | 5.9 | — |
| SimpleBench | 45.5 | — |
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.
Llama 4 Maverick Instruct: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Claude Sonnet 4 | Llama 4 Maverick Instruct | Ratio |
|---|---|---|---|
| Input | — | $0.24 | — |
| Output | — | $0.97 | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | — | $0.386 | — |
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; Llama 4 Maverick Instruct 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 | Llama 4 Maverick Instruct |
|---|---|---|
| Availability | Retired | Available |
| Provider | Anthropic | Facebook AI Research Lab |
| Model type | Reasoning model | Multimodal model |
| First release | May 23, 2025 | April 5, 2025 |
| Context window | 200K tokens | 1M tokens |
| Max output | 64K tokens | 4K tokens |
| Total parameters | — | 400B |
| Architecture | Undisclosed | Dense |
| Documented capabilities | Reasoning, Multilingual | Multilingual |
| Input modalities | Text, Image | Text, Image, Audio, Video |
| Output modalities | Text | Text |
| Weights | Closed / API only | Open weights |
| Licence | — | Llama4 License |
| Commercial use | Proprietary | Commercial use allowed |
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 Llama 4 Maverick Instruct.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.