Claude Sonnet 4
Retired on the Claude API 2026-06-15 (replacement claude-sonnet-4-6 / claude-sonnet-5-5); still available on Amazon Bedrock and Google Cloud per Anthropic pricing page. Cloud ids not re-verified today.
- Context window
- 200,000 tokens
- Input
- text, image, pdf
- Output
- text
- License
- proprietary
- Pricing
- input: $3 · output: $15 (per 1M tokens (USD), Bedrock/Google Cloud may differ) source
- Verified
- 2026-09-29
How to call it
| Provider | Model id | Endpoint / URL | Docs |
|---|---|---|---|
| Anthropic API (Claude API) | claude-sonnet-4-20250514 | https://api.anthropic.com/v1/messages | docs |
| OpenRouter | anthropic/claude-sonnet-4 | openrouter.ai/anthropic/claude-sonnet-4 | — |
Notable capabilities (2)
- FIRST Extended thinking with tool use: The Claude 4 generation introduced interleaving tool use (e.g. web search) with extended thinking, plus parallel tool calls. source
- SOTA SWE-bench at launch: 72.7% on SWE-bench Verified; chosen by GitHub to power the Copilot coding agent. source
Retired on Anthropic-operated platforms; requests to claude-sonnet-4-20250514 on the Claude API fail. Listed for reference because it may still be reachable via Bedrock, Google Cloud or OpenRouter.
Sources: https://platform.claude.com/docs/en/about-claude/model-deprecations , https://platform.claude.com/docs/en/about-claude/pricing
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 Sonnet 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