Claude Sonnet 5 is Anthropic's mid-tier model released on June 30, 2026, with the API id claude-sonnet-5. Anthropic's model page now marks it as legacy: it is still available, but Anthropic recommends migrating to Claude Sonnet 5.5, which is the current Sonnet model. Retirement is listed as not sooner than June 30, 2027.
Key Features
- Pricing: $2 per million input tokens and $10 per million output tokens. Cache reads cost $0.20 per million tokens, 5-minute cache writes $2.50, and 1-hour cache writes $4. The Batch API gives a 50% discount on input and output. Prices are from Anthropic's page as checked on 2026-10-29.
- Context and output: 1M-token context window and 128K max output on the synchronous API. On the Message Batches API it supports up to 300K output tokens with the
output-300k-2026-03-24beta header. - Thinking: adaptive thinking, with a default effort of
high. - Modalities: text and images in, text out.
- Knowledge cutoff: reliable knowledge cutoff of January 2026, earlier than the June 2026 cutoff Anthropic lists for Sonnet 5.5.
- Platforms: Claude API, Amazon Bedrock, Claude Models on Google Cloud, Microsoft Foundry, and Claude Platform on AWS.
Model Specs
| Spec | Claude Sonnet 5 |
|---|---|
| API id | claude-sonnet-5 |
| Released | June 30, 2026 |
| Status | Active (legacy) |
| Context window | 1M tokens |
| Max output | 128K tokens |
| Default effort | high |
| Retirement | Not sooner than June 30, 2027 |
Use Cases
- Existing applications already validated on Sonnet 5 that you have not yet migrated.
- Cost-aware coding, document, and agent workloads at the Sonnet price tier.
Limitation: setting temperature, top_p, or top_k returns a 400 error on this model, per Anthropic's page.
Getting Started
- Set
modeltoclaude-sonnet-5in the Claude API, or use the Bedrock idanthropic.claude-sonnet-5. - Read the Sonnet 5 to 5.5 migration guide and test on your own evaluations.
- Plan the move before the retirement date, which is not earlier than June 30, 2027.
FAQ
Is Claude Sonnet 5 still available?
Yes, as a legacy model. Anthropic lists it as active with retirement not sooner than June 30, 2027.
What replaced Claude Sonnet 5?
Claude Sonnet 5.5, which Anthropic calls the current Sonnet model at the same $2/$10 price.
What is Sonnet 5's context window?
1M tokens, with 128K max output.
How does it differ from Sonnet 5.5?
Both list the same price, context, and output limits. Sonnet 5 has a January 2026 knowledge cutoff and Sonnet 5.5 has June 2026.
Alternatives
- Claude Sonnet 5.5: the current Sonnet tier.
- Claude Opus 5.5: the stronger tier for long-running agentic coding and knowledge work.
Conclusion
Claude Sonnet 5 remains usable, but new work should start on Sonnet 5.5. See Anthropic's deprecations page for lifecycle updates and the models category for other options.
Sources
Comments
No comments yet. Be the first to comment!
Related Tools
Related Insights

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.
Complete Guide to Claude Skills - 10 Essential Skills Explained
Deep dive into Claude Skills extension mechanism, detailed introduction to ten core skills and Obsidian integration to help you build an efficient AI workflow
The Twilight of Low-Code Platforms: Why Claude Agent SDK Will Make Dify History
A deep dive from first principles of large language models on why Claude Agent SDK will replace Dify. Exploring why describing processes in natural language is more aligned with human primitive behavior patterns, and why this is the inevitable choice in the AI era.