Models / Anthropic / Claude Sonnet 4

Anthropic · claude-sonnet

Claude Sonnet 4

Balanced Claude model for coding, analysis, agent workflows, and cost control

$3.00 in · $15.00 out

per 1M tokens · provider rate closest to the median. No first-party Anthropic price was listed. The reference price is Amazon Bedrock's rate, the provider closest to the median.

Context
200,000
Max output
64,000
Cache read
$0.30
Cache write
$3.75
Reasoning
Yes
Tool calls
Yes
Structured output
Unknown
Vision
Yes
Open weights
No
License
—
Released
May 22, 2025
Updated in source
May 22, 2025
Knowledge
2025-03-31
Providers
7

What this model costs per month

Prices are USD per 1M tokens. A month is 30 days. Cache hits use the cache-read rate when the model has one; otherwise the cache field is ignored.

monthly = requests/day × 30 × (input tokens × (1 − cache hit) × input price + input tokens × cache hit × cache-read price + output tokens × output price) ÷ 1,000,000

Providers

Base rates from Models.dev. Where a provider lists the model more than once, the row is the listing whose id is closest to the canonical model id.
ProviderInputOutputCache readCache writeStatus
Amazon Bedrockreference$3.00$15.00$0.30$3.75deprecated
FastRouter$3.00$15.00$0.30$3.75—
Merge Gateway$3.00$15.00$0.30$3.75—
SAP AI Core$3.00$15.00$0.30$3.75—
Vercel AI Gateway$3.00$15.00$0.30$3.75—
Vertex$3.00$15.00$0.30$3.75deprecated
Vertex$3.00$15.00$0.30$3.75deprecated

Jobs this model qualifies for