Claude Sonnet 5 logo

Claude Sonnet 5

Visit

Claude Sonnet 5 is Anthropic's legacy mid-tier model, released June 30, 2026 at $2/$10 per million tokens with a 1M context window; Sonnet 5.5 replaces it.

Share:
View alternatives

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-24 beta 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

  1. Set model to claude-sonnet-5 in the Claude API, or use the Bedrock id anthropic.claude-sonnet-5.
  2. Read the Sonnet 5 to 5.5 migration guide and test on your own evaluations.
  3. 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

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.

Comments

No comments yet. Be the first to comment!