Model specification · Anthropic

Claude Sonnet 4

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

SpecificationsReported values
Context window
1M
Maximum output
64K
Architecture
text+image+file->text
Tokenizer
Claude
Knowledge cutoff
2025-01-31
Moderated
Yes
Input modalities
image text file
Output modalities
text
Full pricingUSD where reported
PriceStandard
Input$3.00 / M
Output$15.00 / M
Benchmark indexesReported indexes
Intelligence
28.9
Coding
37.6
Agentic
16.6
Design Arena Elo
1171
Example workload costsStandard pricing only
WorkloadInput / outputCache shareEstimated cost
Quick check10K / 1K × 10%$0.045
Long analysis100K / 4K × 150%$0.225
Workday20K / 2K × 1,00030%$73.80
More from AnthropicAll Anthropic models
ModelContextInput / MOutput / MIntel.
Claude Opus 51M$5.00$25.0060.7
Claude Fable 51M$10.00$50.0059.9
Claude Opus 4.81M$5.00$25.0055.7
Claude Opus 4.71M$5.00$25.0053.5
Claude Sonnet 51M$2.00$10.0053.4
Claude Sonnet 4.61M$3.00$15.0047.2
Claude Sonnet 4.51M$3.00$15.0036.4
Claude Haiku 4.5200K$1.00$5.0029.6