Model comparison
Claude Sonnet 4 vs Claude 3.7 Sonnet
- Input
- $3.00
- Output
- $15.00
- Context
- 200K
- Released
- 2025-05-22
- Input
- $3.00
- Output
- $15.00
- Context
- 200K
- Released
- 2025-02-24
Claude Sonnet 4 scores higher on 1 of the 1 benchmarks both models report; both charge the same $3 per 1M input tokens.
Specs and pricing side by side
| Spec | Claude Sonnet 4 | Claude 3.7 Sonnet |
|---|---|---|
| Maker | Anthropic | Anthropicsame |
| Released | 2025-05-22 | 2025-02-24 |
| Context window | 200K | 200Ksame |
| Max output | 64K | 128K |
| Input price | $3.00 | $3.00same |
| Output price | $15.00 | $15.00same |
| License | Proprietary | Proprietarysame |
| Weights | API only | API onlysame |
| Modalities | Text, Vision, PDF | Text, Vision, PDFsame |
| Knowledge cutoff | March 2025 | November 2024 |
Not published by either maker: parameters.
Benchmarks both models report
| Benchmark | Claude Sonnet 4 | Claude 3.7 Sonnet |
|---|---|---|
| SWE-bench Verified | 72.7% | 62.3% |
Scores are as published by each maker or its cited source; harness, reasoning effort and date can differ between rows, so treat small gaps as ties. Sources are listed on each model page.
Which one should you pick?
Pick Claude Sonnet 4 if…
- You care about SWE-bench Verified (it scores higher on 1 shared benchmark).
- Your use case is: agentic coding and software-engineering tasks.
Pick Claude 3.7 Sonnet if…
- Your use case is: agentic coding and software-engineering tasks via Claude Code.
FAQ
Which is better, Claude Sonnet 4 or Claude 3.7 Sonnet?
Claude Sonnet 4 scores higher on 1 of the 1 benchmarks both models report; both charge the same $3 per 1M input tokens. The better pick depends on whether you value benchmark scores, price per token, context length or openness for your workload.
How do Claude Sonnet 4 and Claude 3.7 Sonnet pricing compare?
Claude Sonnet 4: $3.00 input, $15.00 output. Claude 3.7 Sonnet: $3.00 input, $15.00 output (list API prices as published by each maker).
What are the context windows of Claude Sonnet 4 and Claude 3.7 Sonnet?
Claude Sonnet 4 offers 200K with up to 64K output; Claude 3.7 Sonnet offers 200K with up to 128K output.
Is Claude Sonnet 4 newer than Claude 3.7 Sonnet?
Claude Sonnet 4 was released 2025-05-22; Claude 3.7 Sonnet was released 2025-02-24.
