Across 34 comparable benchmarks, Opus 4.7 has better reported results on 19 and worse on 15. 2 further shared results are listed below, each with the reason it is not counted.
Strong evidence34 of 36 shared results countedHow we compare
Price basis: Standard rates. The price section below shows the applicable periods.
| Fact | Claude Sonnet 5 | Opus 4.7 |
|---|---|---|
| Context window | 1M tokens | 1M tokens |
| Input / 1M | $2.00 | $5.00 |
| Output / 1M | $10.00 | $25.00 |
| Blended (4:1) | $2.30 | $5.76 |
| Status | Available | Available |
| Released | June 30, 2026 | April 16, 2026 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 23 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Split 4–4 of 8 counted
Opus 4.7 ahead on 1 of 1 counted
No fixed-scale average — see the rows in Benchmark results
Opus 4.7 ahead on 2 of 2 counted
Opus 4.7 ahead on 3 of 4 counted
Claude Sonnet 5 ahead on 2 of 2 counted
Claude Sonnet 5 ahead on 1 of 1 counted
Claude Sonnet 5 ahead on 1 of 1 counted
Opus 4.7 ahead on 1 of 1 counted
Split 5–5 of 10 counted
No shared comparable results for Cybersecurity.
Published scores, with matching modes where available. Gaps show Claude Sonnet 5 relative to Opus 4.7. Reading the results
| Benchmark | Claude Sonnet 5 | Opus 4.7 | Gap |
|---|---|---|---|
| APEX-SWERepository Engineering · Pass@1 | 46.4Max · tools | 47.6Max · tools | −1.2 pts#23 vs #18 of 61 |
| Code MigrationMaintenance & Optimization · Hidden-test pass rate (%) | 44.4Max · tools | 43.9Max · tools | +0.5 pts#24 vs #27 of 79 |
| FrontierCode 1.1Code Generation & Editing · Weighted rubric score (%) | 56.2Extra-High · tools· frontiercode-1-1-extended | 53.9≠Max · tools· frontiercode-1-1-extended | +2.3 pts#11 vs #12 of 51 |
| GSOMaintenance & Optimization · OPT@1 (%) | 37.3Extra-High · tools | 44.1≠Normal · tools | −6.9 pts#9 vs #6 of 24 |
| SWE-bench VerifiedRepository Engineering · Accuracy | 85.2Extra-High · tools | 87.6≠Extended · tools | −2.4 pts#6 vs #5 of 108 |
| Terminal-Bench 2.1Agentic Development · Accuracy | 80.4Extra-High · tools | 69.7≠Thinking High · tools | +10.7 pts#37 vs #50 of 68 |
| Vibe Code Bench v1.1Code Generation & Editing · Pass rate (%) | 81.3Max · tools | 71.0Max · tools | +10.3 pts#31 vs #48 of 121 |
| WeirdML v2ML Engineering · Average accuracy across 17 tasks (%) | 68.8Thinking High · tools | 76.4≠Normal · tools | −7.6 pts#14 vs #10 of 39 |
| SimpleBenchCommonsense · Score (AVG@5) | 60.6Normal · no tools | 61.7Normal · no tools | 0.98×#46 vs #41 of 106 |
| Vending-Bench 2Logical Planning · Money Balance (USD)Not counted · Speed and cost telemetry is reported, not scored | 6378Unspecified Reasoning · tools | 10937Unspecified Reasoning · tools | 0.58×#26 vs #11 of 64 |
| FrontierMath Tier 4 v2Mathematics · Accuracy (verification_code) | 29.3Max · tools | 31.7Max · tools | −2.4 pts#37 vs #33 of 73 |
| FrontierMath v2Mathematics · Accuracy (verification_code) | 65.6Max · tools | 70.2Max · tools | −4.6 pts#38 vs #30 of 85 |
| CritPtScientific Reasoning · Score | 16.9Max · no tools | 12.0Max · no tools | 1.41×#36 vs #49 of 134 |
| GPQA DiamondScientific Reasoning · Accuracy | 90.5Extra-High · no tools | 94.2≠Extended · no tools | −3.7 pts#45 vs #15 of 200 |
| MedCodeClinical Workflows · Accuracy (%) | 47.5Max · tools | 54.9Max · tools | −7.3 pts#32 vs #7 of 97 |
| MedScribeClinical Workflows · Rubric pass rate (%) | 76.0Max · tools | 83.0Max · tools | −6.9 pts#71 vs #46 of 99 |
| APEX-AgentsTool Orchestration · Score | 54.5Reported best | 49.2≠Max · tools | 1.11×#29 vs #34 of 61 |
| OSWorld-VerifiedDesktop Workflows · Accuracy | 81.2Extra-High · tools | 78.0≠Extended · tools | +3.2 pts#8 vs #15 of 36 |
| BrowseCompFact Finding · Accuracy | 84.7Thinking · tools + web | 79.3≠Extended · tools | +5.4 pts#13 vs #22 of 61 |
| Context ArenaMemory & Persistence · Accuracy (8 needles, 4K-128K context) | 79.5Max · no tools | 46.7≠Thinking Low · no tools | +32.8 pts#23 vs #51 of 61 |
| MMMU-ProVisual Understanding · Accuracy | 77.3Max · no tools | 78.8Max · no tools | −1.5 pts#49 vs #40 of 136 |
| Creative WritingWriting | 1798Normal · no tools | 1915Normal · no tools | 0.94×#26 vs #14 of 121 |
| AA-AnalystAgentData Analysis · pass^5 (%) | 46.3Max · tools + web | 43.8Max · tools + web | +2.5 pts#17 vs #21 of 39 |
| AutomationBenchOffice & Business · Pass Rate | 10.7Max · tools· zapier-private-heldout | 13.4Max · tools· zapier-private-heldout | −2.7 pts#50 vs #45 of 64 |
| EMB (Excel Modeling)Finance · Accuracy (%) | 66.3Max · tools | 63.7Max · tools | +2.6 pts#24 vs #29 of 78 |
| Finance Agent v2Finance · Score | 53.9Max · tools | 51.5Max · tools | 1.05×#29 vs #38 of 75 |
| Harvey's Legal Agent BenchmarkLegal · Accuracy (%) | 5.0Max · tools | 6.7Max · tools | −1.7 pts#28 vs #21 of 52 |
| Legal Research BenchLegal · Score | 41.8Max · tools | 38.5Max · tools | 1.09×#30 vs #40 of 91 |
| SAGEService Workflows · Accuracy (%) | 48.9Max · tools | 56.1Max · tools | −7.2 pts#24 vs #1 of 82 |
| Tax Agent BenchFinance · Accuracy (%, rubric × citation quality) | 62.3Max · tools | 23.7≠Unspecified Reasoning · tools | +38.5 pts#16 vs #51 of 74 |
| τ³-BankingService Workflows · Score | 37.3Max · tools | 40.2Max · tools | 0.93×#30 vs #21 of 120 |
| HLEKnowledge Exams · Accuracy | 57.4Extra-High · tools | 54.7≠Extended · tools | +2.7 pts#21 vs #30 of 151 |
| ECICapability Indices · ECI score (capability index, higher is better) | 156Reported best | 156Reported best | 1.00×#22 vs #21 of 168 |
| LiveBenchCross-capability Suites · Accuracy | 76.0Extra-High · no tools | 76.5≠Deep Thinking · no tools | −0.5 pts#29 vs #26 of 106 |
| Text Arena (Coding)Preference Arenas · Arena Score | 1544Thinking High · no tools | 1562≠Normal · no tools | 0.99×#9 vs #6 of 28 |
| Vals IndexCapability IndicesNot counted · This metric has no better direction | 59.6Max · tools | 56.1Max · tools | — |
Repository Engineering · Pass@1
Maintenance & Optimization · Hidden-test pass rate (%)
Code Generation & Editing · Weighted rubric score (%)
Maintenance & Optimization · OPT@1 (%)
Repository Engineering · Accuracy
Agentic Development · Accuracy
Code Generation & Editing · Pass rate (%)
ML Engineering · Average accuracy across 17 tasks (%)
Commonsense · Score (AVG@5)
Logical Planning · Money Balance (USD)
Not counted · Speed and cost telemetry is reported, not scored
Mathematics · Accuracy (verification_code)
Mathematics · Accuracy (verification_code)
Scientific Reasoning · Score
Scientific Reasoning · Accuracy
Clinical Workflows · Accuracy (%)
Clinical Workflows · Rubric pass rate (%)
Tool Orchestration · Score
Desktop Workflows · Accuracy
Fact Finding · Accuracy
Memory & Persistence · Accuracy (8 needles, 4K-128K context)
Visual Understanding · Accuracy
Writing
Data Analysis · pass^5 (%)
Office & Business · Pass Rate
Finance · Accuracy (%)
Finance · Score
Legal · Accuracy (%)
Legal · Score
Service Workflows · Accuracy (%)
Finance · Accuracy (%, rubric × citation quality)
Service Workflows · Score
Knowledge Exams · Accuracy
Capability Indices · ECI score (capability index, higher is better)
Cross-capability Suites · Accuracy
Preference Arenas · Arena Score
Capability Indices
Not counted · This metric has no better direction
A dash means no result is available.
| Benchmark | Claude Sonnet 5 | Opus 4.7 |
|---|---|---|
| AIME 2026 | — | 95.8 |
| FrontierMath | — | 43.8 |
| FrontierMath - Tier 4 | — | 22.9 |
| HLE-Verified | 31.0 | — |
| HMMT Feb 2026 | — | 93.9 |
| MathArena Apex | — | 40.6 |
| ProofBench v1.1 (Lean 4) | 77.0 | — |
| Riemann-bench | — | 32.8 |
| SciCode | 54.3 | — |
| CursorBench 4.0 | 34.1 | — |
| DeepSWE | 54.0 | — |
| FrontierSWE v1 | — | 56.3 |
| IOI (Vals v2) | 45 | — |
| PostTrain Bench | — | 28.6 |
| SWE-Bench Pro - Public | — | 64.3 |
| SWE-Bench Pro V2 | 93.2 | — |
| SWE-Bench Pro V2 Hard | 88.2 | — |
| Terminal Bench 2.0 | — | 69.4 |
| Terminal Bench Hard | — | 54.5 |
| Terminal-Bench 4.0 | 12.4 | — |
| Terminal-Bench 4.1 | 12.1 | — |
| Vibe Code Bench 1-100 | 13.8 | — |
| Agents' Last Exam v1.0 | — | 21.1 |
| MCP-Atlas | — | 79.1 |
| OSWorld 2.0 | — | 48.9 |
| PinchBench v2 | — | 76.0 |
| Toolathlon-Verified | 71.6 | — |
| ExploitBench | — | 27.7 |
| Agent Arena | 2 | — |
| Agent Arena Index | 1110 | — |
| LiveBench 2.0 | 73.0 | — |
| Vals Index v2.1 | 51.8 | — |
| EBR-bench | — | 19.1 |
| GDP.pdf | 13.2 | — |
| GeoBench ACW | 74.0 | — |
| Harvey Lab-AA | 90.1 | — |
| Public Benefits Bench v1.1 | 66.0 | — |
| ARC-AGI-1 | — | 93.5 |
| ARC-AGI-2 | — | 75.8 |
| ARC-AGI-3 | — | 0.18 |
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%
Claude Sonnet 5 costs60%lessthan Opus 4.7 per million tokens — 2.5× cheaper.Using standard rates at this token mix.
Claude Sonnet 5: Standard pricing. Anthropic official pricing (platform.claude.com/docs/en/about-claude/pricing) verified 2026-11-13; Promotional introductory pricing extended permanently per Anthropic pricing docs
Opus 4.7: Standard pricing. Anthropic official pricing (platform.claude.com/docs/en/about-claude/pricing) verified 2026-10-21; full 1M context at standard price
| Price / 1M tokens | Claude Sonnet 5 | Opus 4.7 | Ratio |
|---|---|---|---|
| Input | $2.00 | $5.00 | 0.40× |
| Output | $10.00 | $25.00 | 0.40× |
| Cached input | $0.20 | $0.50 | 0.40× |
| Cache write | — | — | — |
| Blended | $2.30 | $5.76 | 0.40× |
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.
Claude Sonnet 5 relative to Opus 4.7
Summary: 3 of 3 shared benchmarks have matching recorded settings and sources. The average is a geometric mean of 3 positive-cost ratios, one equal weight per benchmark. This benchmark set can include related tests and indexes; it is not a workload cost estimate.
Claude Sonnet 5 1.7× cheaper
Claude Sonnet 5 1.7× more expensive
Claude Sonnet 5 1.4× more expensive
Claude Sonnet 5 1.7× cheaper
Claude Sonnet 5 1.7× more expensive
Claude Sonnet 5 1.4× more expensive
Effort, protocol, aggregation and source match; other run conditions may differ.
Claude Sonnet 5
Opus 4.7
Effort, protocol, aggregation and source match; other run conditions may differ.
Claude Sonnet 5
Opus 4.7
Effort, protocol, aggregation and source match; other run conditions may differ.
Claude Sonnet 5
Opus 4.7
| Benchmark | Claude Sonnet 5 | Opus 4.7 |
|---|---|---|
| Agent Arena | $0.8542 / task Median · Net improvement index (percentage points vs. average model): 2 Thinking High (With Tools + Internet) | Not reported |
| Agent Arena Index | $0.9521 / task Median · Agent Arena Index rating (index points): 1110 Thinking High (With Tools + Internet) | Not reported |
| Agents' Last Exam v1.0 | Not reported | |
| AIME 2026 | Not reported | |
| CursorBench 4.0 | $3.48 / task Average · Task score: 30.8 Thinking High (With Tools) · cursorbench-4-0-cursor-agent $1.39 / task Average · Task score: 24.1 Thinking Low (With Tools) · cursorbench-4-0-cursor-agent 2 more settings$2.31 / task Average · Task score: 28.0 Thinking Medium (With Tools) · cursorbench-4-0-cursor-agent $4.55 / task Average · Task score: 32.0 Extra-High (With Tools) · cursorbench-4-0-cursor-agent | Not reported |
| DeepSWE | 2 more settings | Not reported |
| LiveBench 2.0 | $2.5946 / task Average · Overall score (equal-weight mean of 7 suite scores, 0-100): 73.0 Max (task-specific tools) | Not reported |
| Terminal-Bench 4.0 | $26.05 / task Average · Resolution rate (%): 10.6 Unspecified Reasoning (With Tools) · vals-mini-swe | Not reported |
| Terminal-Bench 4.1 | Not reported | |
| Vals Index v2.1 | Not reported | |
| Vibe Code Bench 1-100 | Not reported |
| Attribute | Claude Sonnet 5 | Opus 4.7 |
|---|---|---|
| Availability | Available | Available |
| Provider | Anthropic | Anthropic |
| Model type | Multimodal model | Reasoning model |
| First release | June 30, 2026 | April 16, 2026 |
| Context window | 1M tokens | 1M tokens |
| Max output | 128K tokens | 128K tokens |
| Architecture | Undisclosed | Undisclosed |
| Documented capabilities | Reasoning, Multilingual, Coding, Tool use, Function calling, Computer use, Web search, Long context | Reasoning, Multilingual, Coding, Tool use, Function calling, Computer use, Web search, Long context |
| Knowledge cutoff | 2026-01 | 2026-01 |
| 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 Claude Sonnet 5 vs Opus 4.7.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.