Claude Sonnet 4 pricing
Claude Sonnet 4 from Anthropic costs $3.00 per 1M input tokens and $15.00 per 1M output tokens. Cached input is $0.300 per 1M. Context window 1,000,000 tokens.
API id claude-sonnet-4 · Anthropic · source · updated 2026-08-11
$3.00
Input / 1M tokens
$15.00
Output / 1M tokens
$0.300
Cached input / 1M
1M
Context window
What Claude Sonnet 4 costs in practice
| Workload | Input tokens | Output tokens | Estimated cost |
|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.01 |
| Document summary | 50,000 | 2,000 | $0.18 |
| 1M tokens in, 200K out | 1,000,000 | 200,000 | $6.00 |
Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.
Common questions
- How much does Claude Sonnet 4 cost per 1M tokens?
- Claude Sonnet 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on the standard tier. Cached input is $0.300 per 1M.
- What is Claude Sonnet 4's context window?
- Claude Sonnet 4 accepts up to 1,000,000 tokens in a single request, and can return up to 64,000 output tokens.
- Is there a cheaper Claude model than Claude Sonnet 4?
- Yes. Claude Haiku 3.5 is $0.800 per 1M input tokens versus $3.00 for Claude Sonnet 4.
- Where does this Claude Sonnet 4 price come from?
- Directly from Anthropic's published pricing page, re-read every day and normalized to USD per 1,000,000 tokens.
Other Claude models
- Claude Fable 5 $10.00
- Claude Mythos 5 $10.00
- Claude Opus 5 $5.00
- Claude Opus 4.8 $5.00
- Claude Opus 4.7 $5.00
- Claude Opus 4.6 $5.00
- Claude Opus 4.5 $5.00
- Claude Opus 4.1 $15.00
- Claude Opus 4 $15.00
- Claude Sonnet 5 $2.00
- Claude Sonnet 4.6 $3.00
- Claude Sonnet 4.5 $3.00
- Claude Haiku 4.5 $1.00
- Claude Haiku 3.5 $0.800