Model comparison
Claude 3.5 Sonnet vs GPT-5.4
Head-to-head evidence from 3 shared benchmark results across 2 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Claude 3.5 Sonnet #132 (Estimated); GPT-5.4 #8 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Claude 3.5 Sonnet and GPT-5.4 share 3 comparable benchmark results. 3 of 8 categories are comparable. 1 result is unique to Claude 3.5 Sonnet; 49 to GPT-5.4.
Updated July 20, 2026- Shared results
- 3
- Claude 3.5 Sonnet only
- 1
- GPT-5.4 only
- 49
- Comparable categories
- 3 / 8
Pick GPT-5.4 if you want the stronger benchmark profile. Claude 3.5 Sonnet only becomes the better choice if knowledge is the priority or you would rather avoid the extra latency and token burn of a reasoning model.
Confidence note. This is a partial-evidence comparison with 3 shared benchmark results across 2 evidence categories; 3 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
GPT-5.4 is clearly ahead on the BenchAlign aggregate, 74.24 to 47.74. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
GPT-5.4's sharpest advantage is in mathematics, where it averages 42.5 against 1.6. The single biggest benchmark swing on the page is FrontierMath v2 (Tiers 1-3), 2.069% to 47.600%. Claude 3.5 Sonnet does hit back in knowledge, so the answer changes if that is the part of the workload you care about most.
GPT-5.4 is the reasoning model in the pair, while Claude 3.5 Sonnet is not. That usually helps on harder chain-of-thought-heavy tests, but it can also mean more latency and more token spend in real use. GPT-5.4 gives you the larger context window at 1.05M, compared with 200K for Claude 3.5 Sonnet.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | Claude 3.5 Sonnet | Δ | GPT-5.4 |
|---|---|---|---|
| Math | Claude 3.5 Sonnet1.6 | Margin→ 40.9 | GPT-5.442.5 |
| Coding | Claude 3.5 Sonnet49.0 | Margin→ 8.7 | GPT-5.457.7 |
| Knowledge | Claude 3.5 Sonnet59.4 | Margin← 1.8 | GPT-5.457.6 |
| Agentic | Claude 3.5 SonnetNot measured | MarginNo overlap | GPT-5.477.2 |
| Multimodal | Claude 3.5 SonnetNot measured | MarginNo overlap | GPT-5.473.2 |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
FrontierMath v2 (Tiers 1-3)
MathA 2.069%B 47.600%Winner: GPT-5.4Δ 45.5FrontierMath v2 (Tiers 1-3): Claude 3.5 Sonnet scored 2.069%; GPT-5.4 scored 47.600%. GPT-5.4 wins this benchmark. - Source ↗
GPQA
KnowledgeA 59.4%B 92.8%Winner: GPT-5.4Δ 33.4GPQA: Claude 3.5 Sonnet scored 59.4%; GPT-5.4 scored 92.8%. GPT-5.4 wins this benchmark. - Source ↗
FrontierMath v2 (Tier 4)
MathA 0.000%B 27.100%Winner: GPT-5.4Δ 27.1FrontierMath v2 (Tier 4): Claude 3.5 Sonnet scored 0.000%; GPT-5.4 scored 27.100%. GPT-5.4 wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Claude 3.5 Sonnet | GPT-5.4 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude 3.5 Sonnet$3 input / $15 output | GPT-5.4$2.5 input / $15 output | GPT-5.4 has the lower combined listed price. |
| Generation speedtokens per second | Claude 3.5 SonnetNot available | GPT-5.474 tok/s | A complete speed comparison is not available. |
| First-answer latencyseconds to first token | Claude 3.5 SonnetNot available | GPT-5.4151.79 s | A complete latency comparison is not available. |
| Context windowmaximum listed tokens | Claude 3.5 Sonnet200K | GPT-5.41.05M | GPT-5.4 lists the larger context window. |
Benchmark Deep Dive
Agentic17 benchmarks
| Benchmark | Claude 3.5 Sonnet | GPT-5.4 | Result |
|---|---|---|---|
| Terminal-Bench 2.0Source | — | 75.1% | Not comparable |
| CyberGymSource | — | 79.0% | Not comparable |
| BrowseCompSource | — | 82.7% | Not comparable |
| OSWorld-VerifiedSource | — | 75% | Not comparable |
| MCP AtlasSource | — | 70.6% | Not comparable |
| ToolathlonSource | — | 54.6% | Not comparable |
| τ²-bench resultsSource | — | 87.1% | Not comparable |
| Claw-EvalSource | — | 60.3% | Not comparable |
| DeepSearchQASource | — | 73.6% | Not comparable |
| AA Agentic IndexSource | — | 41.1% | Not comparable |
| APEX-Agents-AASource | — | 33.3% | Not comparable |
| GDPval-AASource | — | 44.7% | Not comparable |
| GDPval-AASource | — | 1395 | Not comparable |
| Gert LabsSource | — | 64.89% | Not comparable |
| ResearchClawBenchSource | — | 15.3% | Not comparable |
| JobBenchSource | — | 38.9% | Not comparable |
| ExploitGymSource | — | 6.0% | Not comparable |
CodingGPT-5.4 wins7 benchmarks
| Benchmark | Claude 3.5 Sonnet | GPT-5.4 | Result |
|---|---|---|---|
| SWE-bench VerifiedSource | 49% | — | Not comparable |
| LiveCodeBench ProSource | — | 87.5% | Not comparable |
| SWE-bench ProSource | — | 57.7% | Not comparable |
| React Native EvalsSource | — | 85.3% | Not comparable |
| Vibe Code BenchSource | — | 67.42% | Not comparable |
| AA Coding IndexSource | — | 71.0% | Not comparable |
| AA-SciCodeSource | — | 56.6% | Not comparable |
Reasoning2 benchmarks
KnowledgeClaude 3.5 Sonnet wins13 benchmarks
| Benchmark | Claude 3.5 Sonnet | GPT-5.4 | Result |
|---|---|---|---|
| GPQASource | 59.4% | 92.8% | GPT-5.4 leads |
| HLESource | — | 52.1% | Not comparable |
| HLE w/o toolsSource | — | 39.8% | Not comparable |
| GPQA-DSource | — | 92.8% | Not comparable |
| HealthBench HardSource | — | 40.1% | Not comparable |
| MedXpertQA (Text)Source | — | 59.6% | Not comparable |
| Artificial Analysis Intelligence IndexSource | — | 51.4% | Not comparable |
| AA-GPQA DiamondSource | — | 92.0% | Not comparable |
| AA-HLESource | — | 41.6% | Not comparable |
| AA-Omniscience IndexSource | — | 5.7% | Not comparable |
| AA-Omniscience AccuracySource | — | 50.0% | Not comparable |
| AA-Omniscience Hallucination RateSource | — | 88.6% | Not comparable |
| HealthBench ProfessionalSource | — | 48.1% | Not comparable |
MathGPT-5.4 wins2 benchmarks
Multimodal11 benchmarks
| Benchmark | Claude 3.5 Sonnet | GPT-5.4 | Result |
|---|---|---|---|
| MMMU-ProSource | — | 81.2% | Not comparable |
| OfficeQA ProSource | — | 53.2% | Not comparable |
| MMMU-Pro w/ PythonSource | — | 82.1% | Not comparable |
| CharXivSource | — | 82.8% | Not comparable |
| ERQASource | — | 65.4% | Not comparable |
| SimpleVQASource | — | 61.1% | Not comparable |
| ScreenSpot ProSource | — | 85.4% | Not comparable |
| ZeroBenchSource | — | 41.0% | Not comparable |
| MedXpertQA (MM)Source | — | 77.1% | Not comparable |
| AA-MMMU-ProSource | — | 78.4% | Not comparable |
| Design Arena WebsiteSource | — | 1252 | Not comparable |
Inst. Following1 benchmarks
| Benchmark | Claude 3.5 Sonnet | GPT-5.4 | Result |
|---|---|---|---|
| AA-IFBenchSource | — | 73.9% | Not comparable |
Frequently Asked Questions (4)
Which is better, Claude 3.5 Sonnet or GPT-5.4?
GPT-5.4 is ahead on BenchLM's BenchAlign leaderboard, 74.24 to 47.74. The biggest single separator in this matchup is FrontierMath v2 (Tiers 1-3), where the scores are 2.069% and 47.600%.
Which is better for knowledge tasks, Claude 3.5 Sonnet or GPT-5.4?
Claude 3.5 Sonnet has the edge for knowledge tasks in this comparison, averaging 59.4 versus 57.6. Inside this category, GPQA is the benchmark that creates the most daylight between them.
Which is better for coding, Claude 3.5 Sonnet or GPT-5.4?
GPT-5.4 has the edge for coding in this comparison, averaging 57.7 versus 49. Claude 3.5 Sonnet stays close enough that the answer can still flip depending on your workload.
Which is better for math, Claude 3.5 Sonnet or GPT-5.4?
GPT-5.4 has the edge for math in this comparison, averaging 42.5 versus 1.6. Inside this category, FrontierMath v2 (Tiers 1-3) is the benchmark that creates the most daylight between them.
Related Comparisons
Choose a model with this week’s evidence
Join 2,000+ readers for ranking moves, pricing changes, and the claims that still need proof.
One email each week. Unsubscribe anytime.