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%),..…
Model details →Anthropic: Claude Sonnet 4 vs DeepSeek Reasoner (legacy id)
Anthropic: Claude Sonnet 4 wins on 5 of 6 axes — pricing and capability skew in its favour for most workloads.
Legacy compatibility id mapping to DeepSeek V4 Flash thinking mode (per DeepSeek pricing notes).
Model details →Side-by-side comparison
| Capability | Anthropic: Claude Sonnet 4 | DeepSeek Reasoner (legacy id) | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 1M | 1M | Tie |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $3.00 | Custom | 🏆 Anthropic: Claude Sonnet 4 |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $15.00 | Custom | 🏆 Anthropic: Claude Sonnet 4 |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | — | 🏆 Anthropic: Claude Sonnet 4 |
| Vision input Accepts image inputs alongside text. | Yes | — | 🏆 Anthropic: Claude Sonnet 4 |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | — | 🏆 Anthropic: Claude Sonnet 4 |
Frequently asked questions
Is Anthropic: Claude Sonnet 4 better than DeepSeek Reasoner (legacy id)?
Anthropic: Claude Sonnet 4 wins on 5 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Anthropic: Claude Sonnet 4 and DeepSeek Reasoner (legacy id)?
Input: $3.00 vs Custom per 1M tokens. Output: $15.00 vs Custom per 1M tokens.
What context windows do Anthropic: Claude Sonnet 4 and DeepSeek Reasoner (legacy id) support?
Anthropic: Claude Sonnet 4 supports up to 1M tokens. DeepSeek Reasoner (legacy id) supports up to 1M tokens.
Do both Anthropic: Claude Sonnet 4 and DeepSeek Reasoner (legacy id) support tool calling?
Anthropic: Claude Sonnet 4: yes. DeepSeek Reasoner (legacy id): not advertised.
Compare Anthropic: Claude Sonnet 4 with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest