Claude Sonnet 4
by Anthropic · May 22, 2025
Claude Sonnet 4 is a proprietary reasoning llm from Anthropic, released May 22, 2025. It has a 200K-token context window and accepts text, image, pdf input. API pricing starts at $2.70 per million input tokens and $13.50 per million output tokens. It is available from 7 API providers.
- Provider
- Anthropic
- Released
- May 22, 2025
- Type
- Reasoning LLM
- Parameters
- Undisclosed
- Context window
- 200,000 tokens
- Max output
- 64,000 tokens
- Input
- text, image, pdf
- Output
- text
- Weights
- Closed
- License
- Proprietary
- Knowledge cutoff
- Mar 31, 2025
- Status
- Deprecated
About Claude Sonnet 4
Balanced Claude model for coding, analysis, agent workflows, and cost control
Claude Sonnet 4 benchmarks
All benchmarks →- GPQA Diamond79.2%
- Humanity's Last Exam7.8%
- Aider Polyglot61.3%
- OTIS Mock AIME71.1%
- MATH Level 584.4%
- ARC-AGI-25.9%
- OSWorld43.9%
- METR Time Horizon75 min
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
Where to run Claude Sonnet 4 — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| Vertex(deprecated) | $3 | $15 | $0.3 | 200K |
| Databricks(deprecated) | $3 | $15 | $0.3 | 200K |
| SAP AI Core(deprecated) | $3 | $15 | $0.3 | 200K |
| Amazon Bedrock(deprecated) | $3 | $15 | $0.3 | 200K |
| Jiekou.AI(deprecated) | $2.70 | $13.50 | — | 200K |
| Abacus(deprecated) | $3 | $15 | — | 200K |
| Vertex (Anthropic)(deprecated) | $3 | $15 | $0.3 | 200K |
Claude Sonnet 4 vs alternatives
- Claude Sonnet 4 vs o3
- Claude Sonnet 4 vs GPT-5.2
- Claude Sonnet 4 vs Qwen3 Max
- Claude Sonnet 4 vs Pixtral Large (25.02)
- Claude Sonnet 4 vs Sonar Pro Search
- Claude Sonnet 4 vs Qwen3.7 Max
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| o3 | OpenAI | Apr 2025 | — | 200K | $2 | $8 | 147.0 |
| GPT-5.2 | OpenAI | Dec 2025 | — | 400K | $1.75 | $14 | 154.5 |
| Qwen3 Max | Alibaba (Qwen) | Sep 2025 | — | 256K | $1.20 | $6 | 142.4 |
| Pixtral Large (25.02) | Mistral AI | Apr 2025 | — | 125K | $2 | $6 | — |
| Sonar Pro Search | Perplexity | Oct 2025 | — | 200K | $3 | $15 | — |
| Qwen3.7 Max | Alibaba (Qwen) | May 2026 | — | 1M | $2.50 | $7.50 | 154.6 |
| Perplexity Sonar Deep Research | Perplexity | Feb 2025 | — | 125K | $2 | $8 | — |
| Claude Sonnet 4.5 (latest) | Anthropic | Sep 2025 | — | 200K | $3 | $15 | 147.6 |
More models from Anthropic
All Anthropic models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Claude Opus 5.5 | Sep 2026 | — | 1M | $4 | $20 |
| Claude Sonnet 5.5 | Sep 2026 | — | 1M | $2 | $10 |
| Claude Fable 5.1 | Sep 2026 | — | 1M | $10 | $50 |
| Claude Fable 5.2 | Nov 2026 | — | 1M | $8 | $40 |
| Claude Opus 5 | Jul 2026 | — | 1M | $5 | $25 |
| Claude Fable 5 | Jun 2026 | — | 1M | $10 | $50 |
| Claude Opus 4.8 | May 2026 | — | 1M | $5 | $25 |
| Claude Haiku 5.5 | Oct 2026 | — | 1M | $0.1 | $0.5 |
Frequently asked questions
Who made Claude Sonnet 4?
Claude Sonnet 4 was developed by Anthropic (United States). It was released on May 22, 2025.
What is the context window of Claude Sonnet 4?
Claude Sonnet 4 supports a context window of 200,000 tokens (200K) and can generate up to 64,000 output tokens per response.
How much does Claude Sonnet 4 cost?
Claude Sonnet 4 costs $2.70 per 1M input tokens and $13.50 per 1M output tokens. Prices vary across the 7 providers that serve it.
Is Claude Sonnet 4 open source?
No. Claude Sonnet 4 is a proprietary model available only through its provider's API and apps.
How does Claude Sonnet 4 perform on benchmarks?
Claude Sonnet 4 scores 79.2% on GPQA Diamond, 7.8% on Humanity's Last Exam, 84.4% on MATH Level 5 and 71.1% on OTIS Mock AIME.
Where can I use Claude Sonnet 4?
Claude Sonnet 4 is available via 7 API providers.
Sources: models.dev. Last updated 2026-11-22.