Claude Sonnet 4 pricing & specs
Anthropic · released 2025-05-22 · ● verified 2026-11-29 · deprecated
This model is deprecated. Cheapest compatible replacement: Gemini 2.5 Flash-Lite.
Claude Sonnet 4 is an Anthropic model released on 2025-05-22. At $3.00 per million input tokens and $15.00 per million output tokens, its blended price of $6.00 per 1M tokens is lower than 10% of the 178 models we track. It offers text, image and pdf input, a 200K-token context window, built-in reasoning and tool calling.
// price history ($/1M tokens)
Tracks the selected provider’s quote, which may change providers over time.
// cheaper or similar alternatives
| model | in | out | ctx | vs Claude Sonnet 4 |
|---|---|---|---|---|
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | 1.05M | −97.1% |
| Claude Haiku 5.5 | $0.10 | $0.50 | 1M | −96.7% |
| Muse Ember | $0.10 | $0.50 | 1.05M | −96.7% |
| GPT-6 Luna | $0.10 | $0.50 | 1.05M | −96.7% |
| GLM-5.3-Flash | $0.15 | $0.50 | 1M | −96% |
// price by host
| host | in $/1M | out $/1M |
|---|---|---|
| Google Vertex AI | $3.00 | $15.00 |
// embed this price badge
Show the live price of Claude Sonnet 4 in your README or docs (updated daily):
[](https://aisignals.dev/models/anthropic/claude-sonnet-4-20250514)
// faq
How much does Claude Sonnet 4 cost?
Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens (cheapest tracked host: Google Vertex AI). At 50M input and 10M output tokens per month that is about $300.
What is the context window of Claude Sonnet 4?
200K tokens, with up to 64K output tokens per request.
Does Claude Sonnet 4 support prompt caching?
Yes. Cached input tokens cost $0.30 per million and cache writes cost $3.75 per million.
What are cheaper alternatives to Claude Sonnet 4?
Gemini 2.5 Flash-Lite ($0.10 in / $0.40 out), Claude Haiku 5.5 ($0.10 in / $0.50 out), Muse Ember ($0.10 in / $0.50 out) offer the same input types and capabilities for less.
// spec sheet
- input / 1M
- $3.00
- output / 1M
- $15.00
- cache read / 1M
- $0.30
- cache write / 1M
- $3.75
- blended (3:1)
- $6.00
- context
- 200K
- max output
- 64K
- input types
- text · image · pdf
- reasoning
- yes
- tool calling
- yes
- structured output
- no
- open weights
- no
- knowledge cutoff
- 2025-03-31
- price source
- Google Vertex AI
// cost calculator
| model | in $/1M | out $/1M | = monthly |
|---|---|---|---|
| Gemini 2.5 Flash-Lite | $0.10 | $0.40 | $9.00 |
| Claude Haiku 5.5 | $0.10 | $0.50 | $10.00 |
| Muse Ember | $0.10 | $0.50 | $10.00 |
| Claude Sonnet 4 | $3.00 | $15.00 | $300 |
Base-tier list prices. Long-context tiers, caching and batch discounts are not included.