Claude Sonnet 5
Superseded by claude-sonnet-5-5. $2/$10 introductory price became permanent (planned increase to $3/$15 cancelled). Retirement not sooner than 2027-06-30.
- Context window
- 1,000,000 tokens
- Max output
- 128,000 tokens
- Knowledge cutoff
- 2026-01
- Input
- text, image, pdf
- Output
- text
- License
- proprietary
- Pricing
- input: $2 · output: $10 · cache read: $0.2 (per 1M tokens (USD); Batch API 50% off) source
- Verified
- 2026-09-29
How to call it
| Provider | Model id | Endpoint / URL | Docs |
|---|---|---|---|
| Anthropic API (Claude API) | claude-sonnet-5 | https://api.anthropic.com/v1/messages | docs |
| AWS Bedrock (Messages API / Mantle) | anthropic.claude-sonnet-5 | — | docs |
| Google Cloud Vertex AI | claude-sonnet-5 | — | docs |
| Microsoft Foundry (Azure) | claude-sonnet-5 | — | docs |
| Claude Platform on AWS | claude-sonnet-5 | — | docs |
| OpenRouter | anthropic/claude-sonnet-5 | openrouter.ai/anthropic/claude-sonnet-5 | — |
| Web app | — | claude.ai | — |
Notable capabilities (3)
- Opus 4.8-level quality at Sonnet price: Anthropic positioned it at parity with Opus 4.8 on many tasks at $2/$10 per MTok. source
- Self-verification: Early testers reported it checks its own output without prompting and finishes multi-step workflows where earlier Sonnets stopped short. source
- Cyber safeguards on by default: It launched with deliberately reduced exploit-development capability and with cyber safeguards enabled. source
Previous Sonnet. Migrate to claude-sonnet-5-5.
curl https://api.anthropic.com/v1/messages \
-H "x-api-key: $ANTHROPIC_API_KEY" -H "anthropic-version: 2023-06-01" -H "content-type: application/json" \
-d '{"model":"claude-sonnet-5","max_tokens":16000,"messages":[{"role":"user","content":"Hello"}]}'
Sources:
- Model page: https://platform.claude.com/docs/en/models/sonnet-5/overview
- Announcement: https://www.anthropic.com/news/claude-sonnet-5
- Pricing: https://platform.claude.com/docs/en/about-claude/pricing
- Models overview: https://platform.claude.com/docs/en/about-claude/models/overview
- Deprecations: https://platform.claude.com/docs/en/about-claude/model-deprecations
Other Anthropic models
Claude Sonnet 5.5 · Claude Opus 5.5 · Claude Fable 5.1 · Claude Mythos 5.1 · Claude Haiku 4.5 · Claude Opus 5 · Claude Fable 5 · Claude Opus 4.8 · Claude Opus 4.7 · Claude Sonnet 4.6 · Claude Opus 4.6 · Claude Opus 4.5 · Claude Sonnet 4.5 · Claude Opus 4.1 · Claude Sonnet 4