Model comparison
Claude Sonnet 5 vs GPT-4o
Head-to-head evidence from 10 shared benchmark results across 4 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Claude Sonnet 5 #29 (Estimated); GPT-4o #165 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Claude Sonnet 5 and GPT-4o share 10 comparable benchmark results. 0 of 8 categories are comparable. 26 results are unique to Claude Sonnet 5; 3 to GPT-4o.
Updated July 23, 2026- Shared results
- 10
- Claude Sonnet 5 only
- 26
- GPT-4o only
- 3
- Comparable categories
- 0 / 8
Benchmark data for Claude Sonnet 5 and GPT-4o is coming soon on BenchLM.
Confidence note. This is a partial-evidence comparison with 10 shared benchmark results across 4 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 Sonnet 5 has the larger context window at 1M, 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 | Claude Sonnet 5 | Δ | GPT-4o |
|---|---|---|---|
| Agentic | Claude Sonnet 581.9 | MarginNo overlap | GPT-4oNot measured |
| Coding | Claude Sonnet 576.7 | MarginNo overlap | GPT-4oNot measured |
| Knowledge | Claude Sonnet 557.4 | MarginNo overlap | GPT-4oNot measured |
| Math | Claude Sonnet 5Not measured | MarginNo overlap | GPT-4o0.3 |
| Multimodal | Claude Sonnet 588.3 | MarginNo overlap | GPT-4oNot measured |
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Claude Sonnet 5 | GPT-4o | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Claude Sonnet 5$2 input / $10 output | GPT-4o$2.5 input / $10 output | Claude Sonnet 5 has the lower combined listed price. |
| Generation speedtokens per second | Claude Sonnet 5Not available | GPT-4o131 tok/s | A complete speed comparison is not available. |
| First-answer latencyseconds to first token | Claude Sonnet 5Not available | GPT-4o0.81 s | A complete latency comparison is not available. |
| Context windowmaximum listed tokens | Claude Sonnet 51M | GPT-4o128K | Claude Sonnet 5 lists the larger context window. |
Benchmark Deep Dive
Agentic14 benchmarks
| Benchmark | Claude Sonnet 5 | GPT-4o | Result |
|---|---|---|---|
| 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 | 1607 | — | Not comparable |
| AA Agentic IndexSource | 46.7% | — | Not comparable |
| GDPval-AASource | 55.4% | — | Not comparable |
| AA BriefcaseSource | 1388 | — | Not 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 |
| τ²-bench resultsSource | — | 25.1% | Not comparable |
Coding9 benchmarks
| Benchmark | Claude Sonnet 5 | GPT-4o | Result |
|---|---|---|---|
| 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% | 33.3% | Claude Sonnet 5 leads |
Reasoning2 benchmarks
Knowledge8 benchmarks
| Benchmark | Claude Sonnet 5 | GPT-4o | Result |
|---|---|---|---|
| HLESource | 57.4% | — | Not comparable |
| HLE w/o toolsSource | 43.2% | — | Not comparable |
| Artificial Analysis Intelligence IndexSource | 53.4% | 11.2% | Claude Sonnet 5 leads |
| AA-GPQA DiamondSource | 91.1% | 54.3% | Claude Sonnet 5 leads |
| AA-HLESource | 39.6% | 3.3% | Claude Sonnet 5 leads |
| AA-Omniscience IndexSource | 15.3% | -10.7% | Claude Sonnet 5 leads |
| AA-Omniscience AccuracySource | 38.3% | 19.7% | Claude Sonnet 5 leads |
| AA-Omniscience Hallucination RateSource | 37.3% | 37.9% | Claude Sonnet 5 leads |
Math1 benchmarks
| Benchmark | Claude Sonnet 5 | GPT-4o | Result |
|---|---|---|---|
| FrontierMath v2 (Tiers 1-3)Source | — | 0.345% | Not comparable |
Multimodal4 benchmarks
Inst. Following1 benchmarks
| Benchmark | Claude Sonnet 5 | GPT-4o | Result |
|---|---|---|---|
| AA-IFBenchSource | — | 34.3% | Not comparable |
Frequently Asked Questions (3)
Can I compare Claude Sonnet 5 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 Sonnet 5 and GPT-4o today?
Claude Sonnet 5: $2.00 input / $10.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
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.