Claude Sonnet 4 API pricing
RetiredAs of October 23, 2026, Anthropic Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens as listed on OpenRouter.
Claude Sonnet 4 benchmarks and specs · Every Anthropic model's price
No longer sold through the API. Retired on June 15, 2026; last list price shown.
- Input, per million tokens$3.00
- Output, per million tokens$15.00
- Cached input, per millionNo cache price listed
- Context window200K tokens
- Max outputNot published
- Output speedNot measured
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.011 | $10.50 | Yes |
| Repository review | 50K input + 3K output tokens | $0.195 | $195.00 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.750 | $750.00 | No, it would need splitting |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | Not computable | Not computable |
Price history
The price of Claude Sonnet 4 here is the price OpenRouter lists, so we do not track price changes for it.
Cheaper models as good as Claude Sonnet 4
Models within two points of Claude Sonnet 4 or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.
- MiMo-V2.6-Flash$0.28 Overall 60.7 against 57.7 · 98% cheaper output
- Claude Haiku 5.5$0.50 Overall 67.1 against 57.7 · 97% cheaper output
- GLM 5.3 Flash$0.50 Overall 66.0 against 57.7 · 97% cheaper output
- GPT-6 Luna$0.50 Overall 59.7 against 57.7 · 97% cheaper output
- DeepSeek V4.1 Flash 1017$0.60 Overall 67.6 against 57.7 · 96% cheaper output
Claude Sonnet 4 pricing questions
- How much does Claude Sonnet 4 cost per million tokens?
- $3.00 per million input tokens and $15.00 per million output tokens, as listed on OpenRouter on October 23, 2026.
- Does Claude Sonnet 4 support prompt caching?
- OpenRouter lists no cached input price for this model, so assume every input token is billed at the full rate.
- Is there a cheaper model as good as Claude Sonnet 4?
- MiMo-V2.6-Flash scores 60.7 on the LLMBenchmark Index, within two points of Claude Sonnet 4 or above it, and costs $0.28 per million output tokens.
- Has the price of Claude Sonnet 4 changed?
- The price of Claude Sonnet 4 here is the price OpenRouter lists, so we do not track price changes for it.