Claude Sonnet 4
by Anthropic
Claude Sonnet 4 is a model from Anthropic, released on May 22, 2025. It has a 200K-token context window and can generate up to 64K output tokens. API pricing is $3 per 1M input tokens and $15 per 1M output tokens.
Claude Sonnet 4, part of the Claude 4 family, is a significant upgrade to Claude Sonnet 3.7. It excels in coding (72.7% on SWE-bench) and reasoning, responding more precisely to instructions. Sonnet 4 offers an optimal mix of capability and practicality, with enhanced steerability, and supports extended thinking with tool use.
Key specs
| Provider | Anthropic |
|---|---|
| Release date | 2025-05-22 |
| License | proprietary |
| Context window | 200K tokens |
| Max output | 64K tokens |
| Input price | $3 / 1M tokens |
| Output price | $15 / 1M tokens |
| Intelligence Score | 24.2 |
| Coding index | 16.4 |
Quick answers
What is the context window of Claude Sonnet 4?
Claude Sonnet 4 has a context window of 200K tokens, with a maximum output of 64K tokens per response.
How much does Claude Sonnet 4 cost?
Claude Sonnet 4 costs $3 per 1M input tokens and $15 per 1M output tokens through the API.
Is Claude Sonnet 4 open source?
No. Claude Sonnet 4 is a proprietary model from Anthropic (proprietary license).
When was Claude Sonnet 4 released?
Anthropic released Claude Sonnet 4 on May 22, 2025.
Compare on the AI leaderboard · All AI models
More models from Anthropic
- Claude Opus 5.5 (Reasoning) — Anthropic
- Claude Sonnet 5.5 (Reasoning) — Anthropic
- Claude Mythos Preview (Reasoning) — Anthropic
- Claude Fable 5.1 (Reasoning) — Anthropic
- Claude Haiku 5.5 (Reasoning) — Anthropic
- Claude Sonnet 5 — Anthropic