Skip to main content

Model comparison

Claude 4 Sonnet vs GPT-4o

Data verified

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

42.79/100
Margin
1.3pts
← winning
OpenAI
41.49/100
0 category wins0 category wins

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

Evidence parity. Claude 4 Sonnet and GPT-4o share 12 comparable benchmark results. 0 of 8 categories are comparable. 4 results are unique to Claude 4 Sonnet; 1 to GPT-4o.

Updated July 20, 2026
Shared results
12
Claude 4 Sonnet only
4
GPT-4o only
1
Comparable categories
0 / 8

Benchmark data for Claude 4 Sonnet and GPT-4o is coming soon on BenchLM.

Confidence note. This is a partial-evidence comparison with 12 shared benchmark results across 6 evidence categories; 0 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.

Why this result

BenchLM has partial data for these models, but not enough overlapping benchmark coverage to produce a fair score-level comparison yet.

Claude 4 Sonnet is priced at $3.00 input / $15.00 output per 1M tokens, versus $2.50 input / $10.00 output per 1M tokens for GPT-4o. Claude 4 Sonnet has the larger context window at 200K, compared with 128K for GPT-4o.

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 GPT-4o
CategoryClaude 4 SonnetΔGPT-4o
CodingClaude 4 Sonnet72.7MarginNo overlapGPT-4oNot measured
MathClaude 4 SonnetNot measuredMarginNo overlapGPT-4o0.3

Operational comparison

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

MetricClaude 4 SonnetGPT-4oComparison
Input / output priceUSD per 1M tokensClaude 4 Sonnet$3 input / $15 outputGPT-4o$2.5 input / $10 outputGPT-4o has the lower combined listed price.
Generation speedtokens per secondClaude 4 Sonnet40 tok/sGPT-4o131 tok/sGPT-4o has the higher measured throughput.
First-answer latencyseconds to first tokenClaude 4 Sonnet1.33 sGPT-4o0.81 sGPT-4o reaches the first token sooner.
Context windowmaximum listed tokensClaude 4 Sonnet200KGPT-4o128KClaude 4 Sonnet lists the larger context window.

Benchmark Deep Dive

Agentic
BenchmarkClaude 4 SonnetGPT-4oResult
τ²-bench resultsSource 52.3%25.1%Claude 4 Sonnet leads
Gert LabsSource 39.66%Not comparable
JobBenchSource 18.4%Not comparable
Coding
BenchmarkClaude 4 SonnetGPT-4oResult
SWE-bench VerifiedSource 72.7%Not comparable
AA-SciCodeSource 37.3%33.3%Claude 4 Sonnet leads
Reasoning
BenchmarkClaude 4 SonnetGPT-4oResult
AA-LCRSource 44.3%0.0%Claude 4 Sonnet leads
CritPtSource 1.1%0.0%Claude 4 Sonnet leads
Knowledge
BenchmarkClaude 4 SonnetGPT-4oResult
Artificial Analysis Intelligence IndexSource 25.5%11.2%Claude 4 Sonnet leads
AA-GPQA DiamondSource 68.3%54.3%Claude 4 Sonnet leads
AA-HLESource 4.0%3.3%Claude 4 Sonnet leads
AA-Omniscience IndexSource -9.2%-10.7%Claude 4 Sonnet leads
AA-Omniscience AccuracySource 22.4%19.7%Claude 4 Sonnet leads
AA-Omniscience Hallucination RateSource 40.8%37.9%GPT-4o leads
Math
BenchmarkClaude 4 SonnetGPT-4oResult
FrontierMath v2 (Tiers 1-3)Source 0.345%Not comparable
Multimodal
BenchmarkClaude 4 SonnetGPT-4oResult
AA-MMMU-ProSource 62.4%Not comparable
Design Arena WebsiteSource 1178864Claude 4 Sonnet leads
Inst. Following
BenchmarkClaude 4 SonnetGPT-4oResult
AA-IFBenchSource 45.4%34.3%Claude 4 Sonnet leads
Frequently Asked Questions (3)

Can I compare Claude 4 Sonnet and GPT-4o on BenchLM yet?

Not fully yet. BenchLM is tracking both models, but the sourced benchmark breakdown for this comparison is still coming soon.

Why does this comparison show “coming soon”?

BenchLM only shows category winners and benchmark-level calls when we have sourced results that can be compared fairly. For these models, the public benchmark coverage is not complete enough yet.

What data is available for Claude 4 Sonnet and GPT-4o today?

Claude 4 Sonnet: $3.00 input / $15.00 output per 1M tokens GPT-4o: $2.50 input / $10.00 output per 1M tokens Both model pages still include creator, context window, reasoning mode, and other metadata while benchmark coverage fills in.

Related Comparisons

Last updated: July 20, 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.