Across 32 comparable benchmarks, GPT-5 has better reported results on 30 and worse on 2. 1 further shared result is listed below, each with the reason it is not counted.
Moderate evidence32 of 33 shared results countedHow we compare
Claude Sonnet 4 is no longer available through its official API. API prices for this version are not shown.
Price basis: Standard rates vs listed rates. The price section below shows the applicable periods.
| Fact | GPT-5 | Claude Sonnet 4 |
|---|---|---|
| Context window | 400K tokens | 200K tokens |
| Input / 1M | $1.25 | — |
| Output / 1M | $10.00 | — |
| Blended (4:1) | $2.19 | — |
| Status | Deprecated | Retired |
| Released | August 7, 2025 | May 23, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 24 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
GPT-5 ahead on 7 of 9 counted
GPT-5 ahead on 2 of 2 counted
GPT-5 ahead on 6 of 6 counted
GPT-5 ahead on 4 of 4 counted
GPT-5 ahead on 1 of 1 counted
GPT-5 ahead on 3 of 3 counted
GPT-5 ahead on 4 of 4 counted
No shared comparable results for Computer & tool use, Research & search, Cybersecurity.
Published scores, with matching modes where available. Gaps show GPT-5 relative to Claude Sonnet 4. Reading the results
| Benchmark | GPT-5 | Claude Sonnet 4 | Gap |
|---|---|---|---|
| Aider-PolyglotAgentic Development · Accuracy | 88.0Thinking High · no tools | 61.3≠Thinking · no tools · 32K | +26.7 pts#1 vs #14 of 47 |
| CodeClashAlgorithmic Coding · Elo / win rate | 1360Normal · tools | 1223Normal · tools | 1.11×#2 vs #4 of 8 |
| IOI 2024 (Vals v1)Algorithmic Coding · Subtask points (%) | 11Thinking · tools | 9.7≠Normal · tools | +1.3 pts#4 vs #5 of 9 |
| IOI 2025 (Vals v1)Algorithmic Coding · Subtask points (%) | 29Thinking · tools | 4Thinking · tools | +25.0 pts#2 vs #5 of 8 |
| SWE-Bench Pro - CommercialRepository Engineering · Resolve Rate | 14.9Unspecified Reasoning · tools | 9.1Unspecified Reasoning · tools | +5.8 pts#11 vs #13 of 14 |
| SWE-Bench Pro - PublicRepository Engineering · Accuracy | 41.8Thinking High · tools | 42.7≠Normal · tools | −0.9 pts#59 vs #58 of 66 |
| SWE-bench VerifiedRepository Engineering · Accuracy | 72.8Thinking High · no tools | 80.2≠Parallel Thinking · tools | −7.4 pts#49 vs #15 of 108 |
| Terminal Bench HardAgentic Development · Accuracy | 37.9Thinking Medium · tools | 31.1≠Thinking · tools | +6.8 pts#38 vs #66 of 157 |
| Terminal-Bench 1.0Agentic Development · Accuracy | 43.8Thinking · tools | 41.3≠Deep Thinking · tools | +2.5 pts#7 vs #9 of 26 |
| ARC-AGI-1Abstract Generalization · Score (%) | 65.7Thinking High · no tools | 40.0≠Thinking · no tools | +25.7 pts#54 vs #69 of 87 |
| ARC-AGI-2Abstract Generalization · Score (% solved); cost per task (USD)Not counted · Speed and cost telemetry is reported, not scored | 9.9Thinking High · no tools | 5.9≠Thinking · no tools | 1.66×#60 vs #64 of 80 |
| SimpleBenchCommonsense · Score (AVG@5) | 56.7Thinking High · no tools | 45.5≠Thinking · no tools | 1.25×#55 vs #73 of 106 |
| AIME2025Mathematics · Accuracy | 99.6Thinking · tools | 85.0≠Deep Thinking · tools | +14.6 pts#9 vs #48 of 86 |
| FrontierMathMathematics · Accuracy | 26.3Thinking High · tools | 4.1≠Normal · no tools | +22.2 pts#13 vs #32 of 48 |
| FrontierMath - Tier 4Mathematics · Accuracy | 12.5Thinking High · no tools | 0.0≠Normal · no tools | +12.5 pts#13 vs #44 of 50 |
| IMO-ProofBenchMathematics · Accuracy | 59.0Thinking · no tools | 27.1Thinking · no tools | +31.9 pts#2 vs #8 of 14 |
| IMO-ProofBench AdvancedMathematics · Accuracy | 20.0Thinking · no tools | 4.8Thinking · no tools | +15.2 pts#11 vs #19 of 23 |
| MATH-500Mathematics · Accuracy | 99.4Thinking High · no tools | 99.1≠Thinking · no tools | +0.3 pts#1 vs #4 of 49 |
| CritPtScientific Reasoning · Score | 5.7Thinking High · no tools | 1.1≠Normal · no tools | 5.18×#66 vs #103 of 134 |
| GPQA DiamondScientific Reasoning · Accuracy | 87.3Thinking · tools | 83.8≠Deep Thinking · tools | +3.5 pts#69 vs #91 of 200 |
| MedCodeClinical Workflows · Accuracy (%) | 49.6Thinking High · tools | 35.0≠Thinking · tools | +14.7 pts#21 vs #73 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 83.7Thinking High · tools | 72.4≠Normal · tools | +11.2 pts#42 vs #81 of 99 |
| Fiction.liveBenchLong Reasoning · 16k-token score (%) | 97.2Thinking Medium · no tools | 46.9≠Normal · no tools | +50.3 pts#1 vs #24 of 28 |
| MMMUVisual Understanding · Accuracy | 84.2Thinking High · no tools | 74.4≠Normal · no tools | +9.8 pts#4 vs #23 of 62 |
| MMMU-ProVisual Understanding · Accuracy | 78.4Thinking · no tools | 62.4≠Normal · no tools | +16.0 pts#45 vs #100 of 136 |
| VPCTVisual Understanding · Accuracy (%) | 66.0Thinking High · no tools | 34.0≠Thinking · no tools · 32K | +32.0 pts#4 vs #22 of 26 |
| Creative WritingWriting | 1626Normal · no tools | 1483Normal · no tools | 1.10×#42 vs #62 of 121 |
| SAGEService Workflows · Accuracy (%) | 43.7Thinking High · tools | 35.0≠Normal · tools | +8.7 pts#47 vs #67 of 82 |
| τ²-BenchService Workflows · Accuracy | 80.0Thinking · tools | 52.0≠Normal · tools | +28.0 pts#15 vs #32 of 40 |
| τ³-BankingService Workflows · Score | 22.1Thinking High · tools | 16.7≠Thinking · tools | 1.32×#55 vs #67 of 120 |
| HLEKnowledge Exams · Accuracy | 35.2Thinking · tools | 9.6≠Thinking · no tools | +25.6 pts#82 vs #130 of 151 |
| MMLU-ProKnowledge Exams · Accuracy | 87.1Thinking High · no tools | 84.0≠Thinking · no tools | +3.1 pts#15 vs #42 of 153 |
| ECICapability Indices · ECI score (capability index, higher is better) | 150Reported best | 142Reported best | 1.06×#49 vs #91 of 168 |
Agentic Development · Accuracy
Algorithmic Coding · Elo / win rate
Algorithmic Coding · Subtask points (%)
Algorithmic Coding · Subtask points (%)
Repository Engineering · Resolve Rate
Repository Engineering · Accuracy
Repository Engineering · Accuracy
Agentic Development · Accuracy
Agentic Development · Accuracy
Abstract Generalization · Score (%)
Abstract Generalization · Score (% solved); cost per task (USD)
Not counted · Speed and cost telemetry is reported, not scored
Commonsense · Score (AVG@5)
Mathematics · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Mathematics · Accuracy
Scientific Reasoning · Score
Scientific Reasoning · Accuracy
Clinical Workflows · Accuracy (%)
Clinical Workflows · Rubric pass rate (%)
Long Reasoning · 16k-token score (%)
Writing
Service Workflows · Accuracy (%)
Service Workflows · Accuracy
Service Workflows · Score
A dash means no result is available.
| Benchmark | GPT-5 | Claude Sonnet 4 |
|---|---|---|
| AIME 2024 | — | 43.4 |
| FrontierMath Tier 4 v2 | 22.0 | — |
| FrontierMath v2 | 55.4 | — |
| MathArena Apex | 1.0 | — |
| GSO | 6.9 | — |
| LiveCodeBench | — | 48.5 |
| Vibe Code Bench v1.1 | 20.1 | — |
| WeirdML v2 | 60.7 | — |
| Claw Bench | — | 77.8 |
| OSWorld-Verified | — | 42.2 |
| Pinch Bench | — | 80.5 |
| PinchBench v2 | — | 48.8 |
| LiveBench | — | 61.3 |
| METR Time Horizons v1.1 | 203 | — |
| Text Arena (Coding) | 1395 | — |
| IF Bench | — | 55.0 |
| EBR-bench | 12.7 | — |
| GeoBench ACW | 81.0 | — |
| GDPval-AA | — | 33.0 |
| τ²-Bench - Telecom | 95.8 | — |
| BALROG | 32.8 | — |
| BrowseComp | 54.9 | — |
| GAIA | 59.4 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
GPT-5: Standard pricing. OpenAI official pricing (developers.openai.com/api/docs/pricing) verified 2026-11-13; standard tier; Deprecated; shutdown 2026-12-11 (replacement: gpt-6.1-sol)
Claude Sonnet 4: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | GPT-5 | Claude Sonnet 4 | Ratio |
|---|---|---|---|
| Input | $1.25 | — | — |
| Output | $10.00 | — | — |
| Cached input | $0.125 | — | — |
| Cache write | — | — | — |
| Blended | $2.19 | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
GPT-5 relative to Claude Sonnet 4
No matching recorded settings for a cost summary.
Summary: 0 of 2 shared benchmarks have matching recorded settings and sources. The average is a geometric mean of 0 positive-cost ratios, one equal weight per benchmark. This benchmark set can include related tests and indexes; it is not a workload cost estimate.
Settings or sources differ or are not recorded; interpret the comparison with care.
GPT-5
Claude Sonnet 4
Settings or sources differ or are not recorded; interpret the comparison with care.
GPT-5
Claude Sonnet 4
| Attribute | GPT-5 | Claude Sonnet 4 |
|---|---|---|
| Availability | Deprecated | Retired |
| Provider | OpenAI | Anthropic |
| Model type | Foundation model | Reasoning model |
| First release | August 7, 2025 | May 23, 2025 |
| Context window | 400K tokens | 200K tokens |
| Max output | 128K tokens | 64K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Multilingual | Reasoning, Multilingual |
| Input modalities | Text, Image | Text, Image |
| Output modalities | Text | Text |
| Weights | Closed / API only | Closed / API only |
| Commercial use | Proprietary | Proprietary |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on GPT-5 vs Claude Sonnet 4.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.