Claude Sonnet 4.5 API pricing and context window
Claude Sonnet 4.5 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens on the Anthropic API. Cached input reads cost $0.30 per 1M. It accepts up to 200,000 input tokens and returns up to 64,000 output tokens. A typical chat request (10K input, 1K output) costs about $0.045. Prices last updated November 27, 2026.
- Input
- $3.00 per 1M tokens
- Output
- $15.00 per 1M tokens
- Cached input
- $0.30 per 1M tokens
- Cache write
- $3.75 per 1M tokens
- Context window
- 200,000 tokens
- Max output
- 64,000 tokens
Deprecated; shuts down on November 30, 2026. Successor: Claude Sonnet 5.5.
Pricing options
| Input /1M | Output /1M | vs standard (input / output) | |
|---|---|---|---|
| Batch API | $1.50 | $7.50 | -50% / -50% |
- The Batch API costs $1.50 input and $7.50 output per 1M: input and output 50% cheaper.
- Writing to the 1-hour cache costs $6.00 per 1M tokens (default cache: $3.75).
- Prompts shorter than 1,024 tokens are not cached.
Typical task cost
| Task | Cost |
|---|---|
| Chat request (10K in + 1K out) | $0.045 |
| Codebase question (100K in + 2K out) | $0.33 |
| Same question with cached context (100K cached + 2K out) | $0.06 |
| Filling the whole context once (200K in) | $0.60 |
| 1M tokens a month (750K in + 250K out) | $6.00 |
Estimate your own workload in the calculator
Claude Sonnet 4.5 compared with the previous and next version
| Model | Input /1M | Output /1M | What changes | |
|---|---|---|---|---|
| Newer | Claude Sonnet 4.6 | $3.00 0% | $15.00 0% | Claude Sonnet 4.5 → Claude Sonnet 4.6: context: 200K → 1M; max output: 64K → 128K; shutdown date: November 30, 2026 → none |
Capabilities and details
- Image input: Yes
- Function calling: Yes
- Reasoning: Yes
- Prompt caching: Yes
- PDF input: Yes
- Computer use: Yes
- Structured output: Yes
- Minimum cacheable prompt: 1,024 tokens
Similar models by price
| Model | Provider | Input /1M | Output /1M | Context window | vs this model (input / output) |
|---|---|---|---|---|---|
| Kimi K3 | Moonshot AI | $3.00 | $15.00 | 1M | 0% / 0% |
| GPT-5.4 | OpenAI | $2.50 | $15.00 | 1.05M | -17% / 0% |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | 1M | +33% / +33% |
| Claude Opus 4.5 | Anthropic | $5.00 | $25.00 | 200K | +67% / +67% |
| Claude Opus 4.6 | Anthropic | $5.00 | $25.00 | 1M | +67% / +67% |
Price history
| Date | Input /1M | Output /1M | Cached input /1M |
|---|---|---|---|
| $3.00 | $15.00 | $0.30 |
Tracking started on November 21, 2026. A new row appears only when a price changes.
Embed this price badge
The badge shows the current list price and updates daily. Paste the HTML or Markdown into your site or README.
<a href="https://vibecodingturkey.com/models/claude-sonnet-4-5"><img src="https://vibecodingturkey.com/models/badge/claude-sonnet-4-5.svg" alt="Claude Sonnet 4.5 API price" height="20"></a>[](https://vibecodingturkey.com/models/claude-sonnet-4-5)
Questions
How is Claude Sonnet 4.5 different from Claude Sonnet 4.6?
Claude Sonnet 4.5 → Claude Sonnet 4.6: context: 200K → 1M; max output: 64K → 128K; shutdown date: November 30, 2026 → none. No other difference in the prices and limits shown on this page.
When will Claude Sonnet 4.5 be shut down?
Claude Sonnet 4.5 is deprecated and shuts down on November 30, 2026. The listed successor is Claude Sonnet 5.5.
Is there a batch discount for Claude Sonnet 4.5?
Yes. Through the Batch API it costs $1.50 per 1M input and $7.50 per 1M output tokens.
Does Claude Sonnet 4.5 support prompt caching?
Yes. Cached input reads cost $0.30 per 1M tokens, 90% less than standard input.