chooseaimodel
← All models
Balancedstrong quality at a mid priceCommercial API

Claude Sonnet 4 Pricing

Anthropic · anthropic-claude-sonnet-4

ShareXFacebookLinkedIn
Input / 1M tokens
$3.00
Output / 1M tokens
$15.00
Context window
1M tokens
1,333 pages of text
Max output
64k tokens

What it costs in practice

Estimate your own workloadOpens the calculator with Claude Sonnet 4 preloaded — adjust volume and token counts there.

Price history

Only one price point recorded so far.

The staircase chart appears once a price change is detected.

What it excels at

Strong performance on coding, structured reasoning, and long-context document analysis with vision support.

The business tradeoff

Higher output-token pricing than many competitors; safety constraints can limit response flexibility on edge cases.

Cheaper from Anthropic

Same tier from other providers

Head-to-head

Vendor list rates, as of Jun 15, 2026 · source: openrouter · per-request examples assume 1,200 input + 400 output tokens.