█

AI/TLDR

Buy me a coffee
Buy me a coffee

Model comparison

Claude Sonnet 4 vs Claude 3.7 Sonnet

Short answer

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

SpecClaude Sonnet 4Claude 3.7 Sonnet
MakerAnthropicAnthropicsame
Released2025-05-222025-02-24
Context window200K200Ksame
Max output64K128K
Input price$3.00$3.00same
Output price$15.00$15.00same
LicenseProprietaryProprietarysame
WeightsAPI onlyAPI onlysame
ModalitiesText, Vision, PDFText, Vision, PDFsame
Knowledge cutoffMarch 2025November 2024

Not published by either maker: parameters.

Benchmarks both models report

BenchmarkClaude Sonnet 4Claude 3.7 Sonnet
SWE-bench Verified72.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.

Go deeper