Retiredimage intext infile inTool callingReasoning
Claude Sonnet 4
By Anthropic · released 2025-05-22
Claude Sonnet 4 has been retired. See the closest replacements below.
- Input / 1M tokens
- $3.00
- Output / 1M tokens
- $15.00
- Context window
- 200K
- Max output
- 64K
- Cached input / 1M
- $0.30
- Knowledge cutoff
- 2025-01-31
- Output pricing is cheaper than 13% of 61 comparable models from major labs.
- 10,000 requests of 2,000 input and 500 output tokens cost about $135.00.
About Claude Sonnet 4
Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...
Benchmarks
- Aider Polyglotaider-polyglot61.3%
- Hallucination Ratevectara-hhem10.3%
Change log
- Claude Sonnet 4 has been retired (deprecated → retired)
- Claude Sonnet 4 is being deprecated (stable → deprecated)
- Claude Sonnet 4 context window is now 200K (1000000 → 200000)
Closest replacements available today
- Gemini 4 Neon
Google DeepMind · $15.00 out · 1M
- GPT-4o (2024-05-13)
OpenAI · $15.00 out · 128K
- GPT-5.3 Codex
OpenAI · $14.00 out · 400K
- Qwen3.8 Max Prime
Alibaba Qwen · $12.00 out · 1M