Claude Platform Docs
Although Claude Sonnet 5 is still available, you should consider migrating to Claude Sonnet 5.5 for improved performance.
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 4.5200K64K$1 / $5Extended—Feb 2025

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 to non-default values returns a 400 error.
  • Query limits and capabilities programmatically with the Models API.

Resources

What changes when moving from Claude Sonnet 5 to Claude Sonnet 5.5.

The current Sonnet model: overview, specs, and resources.

Model-specific prompting guidance.

On by default on Claude Sonnet 5. Steer depth with effort.

Effort defaults to high on the Claude API and Claude Code. Choose a level per workload.

1M tokens by default. How the window is counted and managed.

Reference

The system prompt Claude Sonnet 5 uses on claude.ai and the Claude apps.

Safety evaluations and deployment decisions for Claude Sonnet 5.

Full price list, including batch discounts and prompt caching rates.

How model IDs, aliases, and pinned snapshots work.

Lifecycle status and retirement commitments for every Claude model.

Was this page helpful?