Skip to main content

Model comparison

Claude Sonnet 5 vs GPT-5.4 Pro

Data verified

Head-to-head evidence from 4 shared benchmark results across 3 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.

65.32/100
Margin
4.4pts
← winning
60.89/100
0 category wins3 category wins

Public leaderboard positions: Claude Sonnet 5 #29 (Estimated); GPT-5.4 Pro #44 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. Claude Sonnet 5 and GPT-5.4 Pro share 4 comparable benchmark results. 3 of 8 categories are comparable. 32 results are unique to Claude Sonnet 5; 8 to GPT-5.4 Pro.

Updated July 23, 2026
Shared results
4
Claude Sonnet 5 only
32
GPT-5.4 Pro only
8
Comparable categories
3 / 8

Pick Claude Sonnet 5 if you want the stronger benchmark profile. GPT-5.4 Pro only becomes the better choice if agentic is the priority or you need the larger 1.05M context window.

Confidence note. This is a partial-evidence comparison with 4 shared benchmark results across 3 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

Claude Sonnet 5 is clearly ahead on the BenchAlign aggregate, 65.32 to 60.89. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

GPT-5.4 Pro is also the more expensive model on tokens at $30.00 input / $180.00 output per 1M tokens, versus $2.00 input / $10.00 output per 1M tokens for Claude Sonnet 5. That is roughly 18.0x on output cost alone. GPT-5.4 Pro gives you the larger context window at 1.05M, compared with 1M for Claude Sonnet 5.

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 scores and score margins for Claude Sonnet 5 and GPT-5.4 Pro
CategoryClaude Sonnet 5ΔGPT-5.4 Pro
AgenticClaude Sonnet 581.9Margin 7.4GPT-5.4 Pro89.3
MultimodalClaude Sonnet 588.3Margin 5.7GPT-5.4 Pro94.0
KnowledgeClaude Sonnet 557.4Margin 1.3GPT-5.4 Pro58.7
CodingClaude Sonnet 576.7MarginNo overlapGPT-5.4 ProNot measured
ReasoningClaude Sonnet 5Not measuredMarginNo overlapGPT-5.4 Pro83.3
MathClaude Sonnet 5Not measuredMarginNo overlapGPT-5.4 Pro46.9

Decisive benchmark drivers

The largest measured benchmark gaps in this matchup, with exact reported values.

More
A · Claude Sonnet 5B · GPT-5.4 Pro
  1. BrowseComp

    Agentic
    Source ↗
    A 84.7%B 89.3%
    Winner: GPT-5.4 ProΔ 4.6
    BrowseComp: Claude Sonnet 5 scored 84.7%; GPT-5.4 Pro scored 89.3%. GPT-5.4 Pro wins this benchmark.
  2. HLE

    Knowledge
    Source ↗
    A 57.4%B 58.7%
    Winner: GPT-5.4 ProΔ 1.3
    HLE: Claude Sonnet 5 scored 57.4%; GPT-5.4 Pro scored 58.7%. GPT-5.4 Pro wins this benchmark.

Operational comparison

Runtime and commercial metrics are compared only when both models have a complete sourced value.

MetricClaude Sonnet 5GPT-5.4 ProComparison
Input / output priceUSD per 1M tokensClaude Sonnet 5$2 input / $10 outputGPT-5.4 Pro$30 input / $180 outputClaude Sonnet 5 has the lower combined listed price.
Generation speedtokens per secondClaude Sonnet 5Not availableGPT-5.4 Pro74 tok/sA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude Sonnet 5Not availableGPT-5.4 Pro151.79 sA complete latency comparison is not available.
Context windowmaximum listed tokensClaude Sonnet 51MGPT-5.4 Pro1.05MGPT-5.4 Pro lists the larger context window.

Benchmark Deep Dive

AgenticGPT-5.4 Pro wins
BenchmarkClaude Sonnet 5GPT-5.4 ProResult
Terminal-Bench 2.0Source 80.4%Not comparable
BrowseCompSource 84.7%89.3%GPT-5.4 Pro leads
HLE w/ toolsSource 57.4%Not comparable
OSWorld-VerifiedSource 81.2%Not comparable
GDPval-AASource 1607Not comparable
AA Agentic IndexSource 46.7%Not comparable
GDPval-AASource 55.4%Not comparable
AA BriefcaseSource 1388Not comparable
AA AutomationBenchSource 39.2%Not comparable
AA EnterpriseOps-GymSource 44.7%Not comparable
AA Harvey LABSource 90.1%Not comparable
AA Tau3 BankingSource 28.2%Not comparable
aaTerminalBench21Source 80.5%Not comparable
Coding
BenchmarkClaude Sonnet 5GPT-5.4 ProResult
SWE-bench VerifiedSource 85.2%Not comparable
SWE-bench ProSource 63.2%Not comparable
SWE MultilingualSource 78.3%Not comparable
SWE MultimodalSource 28.1%Not comparable
Terminal-Bench 2.0Source 80.4%Not comparable
FrontierCode 1.1 MainSource 42.7%Not comparable
cursorBench32Source 61.5%Not comparable
AA Coding IndexSource 71.5%Not comparable
AA-SciCodeSource 53.6%Not comparable
Reasoning
BenchmarkClaude Sonnet 5GPT-5.4 ProResult
AA-LCRSource 70.7%Not comparable
CritPtSource 16.9%30.0%GPT-5.4 Pro leads
ARC-AGI-2Source 83.3%Not comparable
KnowledgeGPT-5.4 Pro wins
BenchmarkClaude Sonnet 5GPT-5.4 ProResult
HLESource 57.4%58.7%GPT-5.4 Pro leads
HLE w/o toolsSource 43.2%42.7%Claude Sonnet 5 leads
Artificial Analysis Intelligence IndexSource 53.4%Not comparable
AA-GPQA DiamondSource 91.1%Not comparable
AA-HLESource 39.6%Not comparable
AA-Omniscience IndexSource 15.3%Not comparable
AA-Omniscience AccuracySource 38.3%Not comparable
AA-Omniscience Hallucination RateSource 37.3%Not comparable
FrontierScienceSource 36.7%Not comparable
FrontierScience ResearchSource 36.7%Not comparable
Math
BenchmarkClaude Sonnet 5GPT-5.4 ProResult
IPhO 2025 (Theory)Source 93.5%Not comparable
FrontierMath (legacy)Source 50%Not comparable
FrontierMath v2 (Tiers 1-3)Source 50.000%Not comparable
FrontierMath v2 (Tier 4)Source 37.500%Not comparable
MultimodalGPT-5.4 Pro wins
BenchmarkClaude Sonnet 5GPT-5.4 ProResult
CharXivSource 88.3%Not comparable
CharXiv w/o toolsSource 77%Not comparable
AA-MMMU-ProSource 77.3%Not comparable
Design Arena WebsiteSource 1314Not comparable
MMMU-ProSource 94%Not comparable
Frequently Asked Questions (4)

Which is better, Claude Sonnet 5 or GPT-5.4 Pro?

Claude Sonnet 5 is ahead on BenchLM's BenchAlign leaderboard, 65.32 to 60.89. The biggest single separator in this matchup is BrowseComp, where the scores are 84.7% and 89.3%.

Which is better for knowledge tasks, Claude Sonnet 5 or GPT-5.4 Pro?

GPT-5.4 Pro has the edge for knowledge tasks in this comparison, averaging 58.7 versus 57.4. Inside this category, HLE is the benchmark that creates the most daylight between them.

Which is better for agentic tasks, Claude Sonnet 5 or GPT-5.4 Pro?

GPT-5.4 Pro has the edge for agentic tasks in this comparison, averaging 89.3 versus 81.9. Inside this category, BrowseComp is the benchmark that creates the most daylight between them.

Which is better for multimodal and grounded tasks, Claude Sonnet 5 or GPT-5.4 Pro?

GPT-5.4 Pro has the edge for multimodal and grounded tasks in this comparison, averaging 94 versus 88.3. Claude Sonnet 5 stays close enough that the answer can still flip depending on your workload.

Related Comparisons

Last updated: July 23, 2026

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.