Anthropic Unveils Claude Sonnet 4.5: The New Coding Champion
Anthropic just dropped Sonnet 4.5, claiming it's the best coding model out there.
SWE-bench Verified Scores
Key Features
- 200K context window: Read approximately 500 pages of code at once
- Agent SDK with state persistence: Remembers context between API requests
- Multi-step workflows: Chain tasks like "find bugs, write tests, fix them"
Pricing per Million Tokens
Claude Sonnet 4.5 is the new coding leader. It scores 77.2% on SWE-bench, ahead of GPT-5 at 68% and Opus 4.1 at 74.5%.
You'll pay a bit more for that performance. Sonnet costs about 50% more on output ($15 vs $10 per million tokens), and since coding is mostly output-heavy, you can expect total costs to be roughly 1.5 times higher than GPT-5.
Even so, the value is clear. Sonnet outperforms Opus while being five times cheaper, making it the smarter choice when quality matters.
Recommendation:
Use Sonnet 4.5 when accuracy and reliability are the priority.
Choose GPT-5 if you need to control costs and for simpler tasks.
Avoid Opus 4.1 since it's more expensive and less capable for most tasks.