Claude Platform Docs
Although Claude Sonnet 5 is still available, you should consider migrating to Claude Sonnet 5.5.
See Claude Sonnet 5.5
Models & pricingLegacy models

Claude Sonnet 5Legacy

Migrate to Claude Sonnet 5.5
Context window
1Mtokens
Max output
128Ktokens
Input pricing
$2/ MTok
Output pricing
$10/ MTok

How it compares to the current lineup

ModelContextMax outputPrice / MTokThinkingDefault effortKnowledge cutoff
Claude Fable 5.11M128K$10 / $50Adaptive (always on)highJun 2026
Claude Opus 5.51M128K$4 / $20Adaptive (always on)mediumJun 2026
Claude Sonnet 5.51M128K$2 / $10AdaptivehighJun 2026
Claude Sonnet 5This modelLegacy1M128K$2 / $10AdaptivehighJan 2026
Claude Haiku 5.51M128KFrom $0.10 / $0.50AdaptivemediumJun 2026

Specifications

Model IDs

Claude API
Amazon Bedrock
Google Cloud
Microsoft Foundry
Claude Platform on AWS

Pricing

Input
$2 / MTok
Output
$10 / MTok
5m cache write
$2.50 / MTok
Cache read
$0.20 / MTok
Batch API
50% discount on input and output

Full price list

Capabilities

Max output
128K tokens
Thinking
Adaptive
Input → output
Text and images → text
Reliable knowledge cutoff
Jan 2026
Training data cutoff
Jan 2026

Availability

Status
Active (legacy)
Released
June 30, 2026
Retirement
Not sooner than June 30, 2027

Good to know

  • On the Message Batches API, Claude Sonnet 5 supports up to 300k output tokens with the output-300k-2026-03-24 beta header.
  • Setting temperature, top_p, or top_k returns a 400 error.
  • Query limits and capabilities programmatically with the Models API.

Resources

Reference

Was this page helpful?