The Announcement
On June 30, 2026, Anthropic released Claude Sonnet 5 — and it is the most significant Sonnet release to date. This is not a minor increment. Sonnet 5 is built to be the most agentic Sonnet model yet, with performance that narrows the gap to Opus 4.8 to within a few points on most benchmarks.
The key finding from our analysis: Sonnet 5 wins Terminal-Bench 2.1 over Opus 4.8 (80.4 vs 74.6), ties on knowledge work and multidisciplinary reasoning with tools, and does all of this at 40-60% lower cost. For the first time in Anthropic's model history, the Sonnet and Opus tiers overlap on the same cost-performance curve rather than existing as separate tiers.
📋 Key Specifications
API Model ID: claude-sonnet-5
Context Window: 1M tokens (same as Opus 4.8)
Max Output: 128K tokens
Thinking: Adaptive (defaults high)
Knowledge Cutoff: January 2026
Standard Pricing: $3/MTok input, $15/MTok output
Introductory Pricing (through Aug 31, 2026): $2/MTok input, $10/MTok output
Availability: Anthropic, AWS Bedrock, Google Vertex, Microsoft Foundry
Benchmark Head-to-Head: Sonnet 5 vs Opus 4.8
The benchmarks tell a remarkable story. Sonnet 5 is not just "close" to Opus 4.8 — it actually wins on several important benchmarks. Here is the complete comparison with verified data from Anthropic's system card and independent analysis:
| Benchmark | Category | Sonnet 5 | Opus 4.8 | Winner |
|---|---|---|---|---|
| Terminal-Bench 2.1 | Coding (CLI) | 80.4% | 74.6% | Sonnet 5 +5.8 |
| GDPval-AA v2 | Knowledge Work | 1618 Elo | 1603 Elo | Sonnet 5 +15 |
| HLE with Tools | Agentic Coding | 57.4% | 57.9% | Tied (−0.5) |
| Real-World Finance v2 | Knowledge Work | — | — | Tied |
| SWE-bench Pro | Deep Coding | 63.2% | 69.2% | Opus +6.0 |
| USAMO | Olympiad Math | 79.5% | 96.7% | Opus +17.2 |
| OSWorld | Computer Use | 81.2% | 83.4% | Opus +2.2 |
HIGH Confidence — All benchmark data sourced from Anthropic's Claude Sonnet 5 system card and official announcement. Cross-referenced with LLM Stats independent analysis.
Where Sonnet 5 Wins
Sonnet 5 actually outperforms Opus 4.8 on two significant benchmarks:
- Terminal-Bench 2.1 (80.4 vs 74.6): This measures command-line coding workflows — a core agentic capability. Sonnet 5 is notably better at terminal-based coding tasks, suggesting stronger tool-use reasoning and multi-step execution in CLI environments.
- GDPval-AA v2 (1618 vs 1603 Elo): A knowledge work evaluation. Sonnet 5 edges ahead on this multidisciplinary benchmark, indicating competitive knowledge retrieval and synthesis.
Additionally, on HLE with Tools (57.4 vs 57.9) and Real-World Finance v2, Sonnet 5 is essentially tied with Opus 4.8 — a difference of half a point is within noise.
Where Opus 4.8 Still Leads
Opus 4.8 maintains a real advantage in three areas:
- SWE-bench Pro (69.2 vs 63.2): Deep, complex software engineering tasks. A 6-point gap — meaningful for teams working on large codebases.
- USAMO (96.7 vs 79.5): Olympiad-level mathematics. A 17-point gap — the largest difference between the two models.
- OSWorld (83.4 vs 81.2): Computer use (GUI interaction). A modest 2-point edge for Opus.
💡 The Takeaway
Sonnet 5 is the first Sonnet that makes Opus look optional for most workloads. Opus 4.8 is still the stronger model overall. But the gap is now small enough that the price difference becomes the deciding factor for most teams.
The Agentic Leap
The defining characteristic of Sonnet 5 is its agentic capability. Anthropic describes it as "the most agentic Sonnet model yet" — and the benchmarks support this claim.
Sonnet 5 can make plans, use tools like browsers and terminals, and run autonomously at a level that, just a few months ago, required larger and more expensive Opus-class models. Early access testers reported:
- It finishes complex tasks where previous Sonnet models would stop short
- It checks its own output without explicitly being asked
- It handles sustained coding, tool use, and debugging across messy technical contexts
- It carries pull requests through to tested, verified results on its own
The cost-performance curves at different effort levels tell an important story. On BrowseComp (agentic search) and OSWorld-Verified (computer use), Sonnet 5 provides a much wider range of cost-performance options than Sonnet 4.6 ever did, and in some cases matches Opus 4.8's capability levels. Between Sonnet 5 and Opus 4.8, users can adjust the effort level to find the right balance of cost and performance.
🔬 Agentic Performance Analysis
Sonnet 5's improvements in agentic workflows are among its most significant gains over Sonnet 4.6: better task decomposition and planning, improved error recovery when steps fail, stronger tool-use capabilities, and better long-horizon task completion. For agentic use cases — where the model needs to plan, execute, and adapt over multiple steps — Sonnet 5 represents a meaningful generational upgrade.
Pricing: The Deciding Factor
Here is where Sonnet 5 becomes compelling even beyond its raw benchmarks:
| Model | Input / 1M tokens | Output / 1M tokens | Fast Mode |
|---|---|---|---|
| Claude Sonnet 5 | $3.00 ($2.00 intro) | $15.00 ($10.00 intro) | N/A |
| Claude Opus 4.8 | $5.00 | $25.00 | $10 / $50 (2.5x speed) |
Sonnet 5 is 40-60% cheaper than Opus 4.8 on standard pricing, and even more so during the introductory pricing period (through August 31, 2026). When you factor in that Sonnet 5 ties or beats Opus on several benchmarks, the cost per unit of capability is dramatically lower.
Both models share the same 1M context window, same 128K output cap, and same January 2026 knowledge cutoff — so the only trade-offs are raw capability on specific benchmarks and speed (Sonnet is faster).
Safety Assessment
Anthropic's safety assessments found that Sonnet 5 shows an overall lower rate of undesirable behaviors than Sonnet 4.6, and is generally safer to use in agentic contexts. Critically, evaluations show that Sonnet 5 has a much lower ability to perform cybersecurity tasks than current Opus models — meaning it is less capable of being misused for offensive cyber operations.
This safety profile is particularly important for teams deploying Sonnet 5 in agentic workflows, where the model has more autonomy and tool access.
Availability
Claude Sonnet 5 is available across all Anthropic plans:
- Free & Pro plans: Sonnet 5 is the default model
- Max, Team, Enterprise: Available alongside other models
- Claude Code: Available in the IDE integration
- Claude API: Use
claude-sonnet-5via the Claude API - Cloud partners: AWS Bedrock, Google Vertex AI, Microsoft Foundry
When to Use Sonnet 5 vs Opus 4.8
✅ Use Sonnet 5 For
Most production workloads — coding, agentic tasks, knowledge work, research, content generation, customer support, and general-purpose AI at the best cost-performance ratio.
CLI workflows — where Sonnet 5 actually outperforms Opus on Terminal-Bench.
High-volume agentic work — where the cost savings compound significantly.
⚡ Use Opus 4.8 For
Deep software engineering — complex SWE-bench-level tasks where the 6-point gap matters.
Olympiad-level math — where the 17-point gap is decisive.
Computer use (GUI) — where Opus has a 2-point edge on OSWorld.
Maximum capability — where every percentage point matters and cost is secondary.
The Claude Release Timeline
The Bottom Line
Claude Sonnet 5 is the most significant Sonnet release in Anthropic's history. It closes the gap to Opus 4.8 to within a few points on most benchmarks, wins on Terminal-Bench and knowledge work, and does it at 40-60% lower cost.
For the first time, Sonnet and Opus cover a single cost-performance curve rather than two separate tiers. The question is no longer "when does the cheaper model lose?" — it's "when do I actually need Opus?" The answer: less often than before.
For most teams — coding, agentic workflows, knowledge work, research, content generation — Sonnet 5 is the pragmatic choice. For deep software engineering, olympiad math, and maximum computer-use capability, Opus 4.8 still earns its premium. But the gap has narrowed dramatically.
Key Facts
| Model | Claude Sonnet 5 |
| Developer | Anthropic |
| Release Date | June 30, 2026 |
| API Model ID | claude-sonnet-5 |
| Context Window | 1M tokens |
| Max Output | 128K tokens |
| Thinking | Adaptive (defaults high) |
| Standard Pricing | $3.00/MTok input, $15.00/MTok output |
| Intro Pricing (through Aug 31) | $2.00/MTok input, $10.00/MTok output |
| Predecessor | Claude Sonnet 4.6 |
| Knowledge Cutoff | January 2026 |
| Availability | Anthropic, AWS Bedrock, Google Vertex, Microsoft Foundry |
ZVHH Editorial Team
Note: This article was updated on July 2 with corrected benchmark data. The original July 2 draft has been removed.