Retiredimage intext infile inTool callingReasoning

Claude Sonnet 4

By Anthropic · released 2025-05-22

Claude Sonnet 4 has been retired. See the closest replacements below.

Input / 1M tokens
$3.00
Output / 1M tokens
$15.00
Context window
200K
Max output
64K
Cached input / 1M
$0.30
Knowledge cutoff
2025-01-31

About 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%),...

Benchmarks

Change log

Closest replacements available today

Other versions

Catalog data from OpenRouter and models.dev, Hugging Face for open-weight stats. Prices are list prices in USD and can differ by provider.