Skip to main content

Model comparison

Claude 4 Sonnet vs Claude Sonnet 5

Data verified

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

42.79/100
Margin
22.5pts
winning →
65.32/100
0 category wins1 category wins

Public leaderboard positions: Claude 4 Sonnet #158 (Supported); Claude Sonnet 5 #29 (Estimated). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.

Evidence parity. Claude 4 Sonnet and Claude Sonnet 5 share 12 comparable benchmark results. 1 of 8 categories are comparable. 4 results are unique to Claude 4 Sonnet; 24 to Claude Sonnet 5.

Updated July 23, 2026
Shared results
12
Claude 4 Sonnet only
4
Claude Sonnet 5 only
24
Comparable categories
1 / 8

Pick Claude Sonnet 5 if you want the stronger benchmark profile. Claude 4 Sonnet only becomes the better choice if you would rather avoid the extra latency and token burn of a reasoning model.

Confidence note. This is a partial-evidence comparison with 12 shared benchmark results across 4 evidence categories; 1 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 42.79. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

Claude Sonnet 5's sharpest advantage is in coding, where it averages 76.7 against 72.7. The single biggest benchmark swing on the page is SWE-bench Verified, 72.7% to 85.2%.

Claude 4 Sonnet is also the more expensive model on tokens at $3.00 input / $15.00 output per 1M tokens, versus $2.00 input / $10.00 output per 1M tokens for Claude Sonnet 5. Claude Sonnet 5 is the reasoning model in the pair, while Claude 4 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. Claude Sonnet 5 gives you the larger context window at 1M, compared with 200K for Claude 4 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 scores and score margins for Claude 4 Sonnet and Claude Sonnet 5
CategoryClaude 4 SonnetΔClaude Sonnet 5
CodingClaude 4 Sonnet72.7Margin 4.0Claude Sonnet 576.7
AgenticClaude 4 SonnetNot measuredMarginNo overlapClaude Sonnet 581.9
KnowledgeClaude 4 SonnetNot measuredMarginNo overlapClaude Sonnet 557.4
MultimodalClaude 4 SonnetNot measuredMarginNo overlapClaude Sonnet 588.3

Decisive benchmark drivers

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

More
A · Claude 4 SonnetB · Claude Sonnet 5
  1. SWE-bench Verified

    Coding
    Source ↗
    A 72.7%B 85.2%
    Winner: Claude Sonnet 5Δ 12.5
    SWE-bench Verified: Claude 4 Sonnet scored 72.7%; Claude Sonnet 5 scored 85.2%. Claude Sonnet 5 wins this benchmark.

Operational comparison

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

MetricClaude 4 SonnetClaude Sonnet 5Comparison
Input / output priceUSD per 1M tokensClaude 4 Sonnet$3 input / $15 outputClaude Sonnet 5$2 input / $10 outputClaude Sonnet 5 has the lower combined listed price.
Generation speedtokens per secondClaude 4 Sonnet40 tok/sClaude Sonnet 5Not availableA complete speed comparison is not available.
First-answer latencyseconds to first tokenClaude 4 Sonnet1.33 sClaude Sonnet 5Not availableA complete latency comparison is not available.
Context windowmaximum listed tokensClaude 4 Sonnet200KClaude Sonnet 51MClaude Sonnet 5 lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude 4 SonnetClaude Sonnet 5Result
τ²-bench resultsSource 52.3%Not comparable
Gert LabsSource 39.66%Not comparable
JobBenchSource 18.4%Not comparable
Terminal-Bench 2.0Source 80.4%Not comparable
BrowseCompSource 84.7%Not comparable
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
CodingClaude Sonnet 5 wins
BenchmarkClaude 4 SonnetClaude Sonnet 5Result
SWE-bench VerifiedSource 72.7%85.2%Claude Sonnet 5 leads
AA-SciCodeSource 37.3%53.6%Claude Sonnet 5 leads
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
Reasoning
BenchmarkClaude 4 SonnetClaude Sonnet 5Result
AA-LCRSource 44.3%70.7%Claude Sonnet 5 leads
CritPtSource 1.1%16.9%Claude Sonnet 5 leads
Knowledge
BenchmarkClaude 4 SonnetClaude Sonnet 5Result
Artificial Analysis Intelligence IndexSource 25.5%53.4%Claude Sonnet 5 leads
AA-GPQA DiamondSource 68.3%91.1%Claude Sonnet 5 leads
AA-HLESource 4.0%39.6%Claude Sonnet 5 leads
AA-Omniscience IndexSource -9.2%15.3%Claude Sonnet 5 leads
AA-Omniscience AccuracySource 22.4%38.3%Claude Sonnet 5 leads
AA-Omniscience Hallucination RateSource 40.8%37.3%Claude Sonnet 5 leads
HLESource 57.4%Not comparable
HLE w/o toolsSource 43.2%Not comparable
Multimodal
BenchmarkClaude 4 SonnetClaude Sonnet 5Result
AA-MMMU-ProSource 62.4%77.3%Claude Sonnet 5 leads
Design Arena WebsiteSource 11751314Claude Sonnet 5 leads
CharXivSource 88.3%Not comparable
CharXiv w/o toolsSource 77%Not comparable
Inst. Following
BenchmarkClaude 4 SonnetClaude Sonnet 5Result
AA-IFBenchSource 45.4%Not comparable
Frequently Asked Questions (2)

Which is better, Claude 4 Sonnet or Claude Sonnet 5?

Claude Sonnet 5 is ahead on BenchLM's BenchAlign leaderboard, 65.32 to 42.79. The biggest single separator in this matchup is SWE-bench Verified, where the scores are 72.7% and 85.2%.

Which is better for coding, Claude 4 Sonnet or Claude Sonnet 5?

Claude Sonnet 5 has the edge for coding in this comparison, averaging 76.7 versus 72.7. Inside this category, AA-SciCode is the benchmark that creates the most daylight between them.

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.