Anthropic: 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%), Sonnet 4 balances capability and computational efficiency, making it suitable for a broad range of applications from routine coding tasks to complex software development projects. Key enhancements include improved autonomous codebase navigation, reduced error rates in agent-driven workflows, and increased reliability in following intricate instructions. Sonnet 4 is optimized for practical everyday use, providing advanced reasoning capabilities while maintaining efficiency and responsiveness in diverse internal and external scenarios. Read more at the [blog post here](https://www.anthropic.com/news/claude-4)
Pricing per 1M Tokens
| Input (Prompt) | $3.00 |
| Output (Completion) | $15 |
| Cache Read | $0.30 |
| Cache Write | $3.75 |
| Image | N/A |
Specifications
| Context Length | 200K |
| Max Output Tokens | 64K |
| Input Modalities | Image + Text + File |
| Output Modalities | Text |
| Tokenizer | Claude |
| Instruct Type | N/A |
| Top Provider Context | 200K |
| Top Provider Max Output | 64K |
| Moderated | Yes |
Compare this model
See how Anthropic: Claude Sonnet 4 stacks up against other models.
More from Anthropic
Last updated: March 23, 2026
First tracked: March 23, 2026