Claude Sonnet 4.5 API Cost Calculator
Estimate your monthly API costs for Claude Sonnet 4.5 from Anthropic.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Claude 3.7 Sonnet Anthropic | $3.00 | $15.00 |
| Claude 3.7 Sonnet (thinking) Anthropic | $3.00 | $15.00 |
| Claude Sonnet 4 Anthropic | $3.00 | $15.00 |
| Claude Sonnet 4.6 Anthropic | $3.00 | $15.00 |
| Claude Haiku 4.5 Anthropic | $1.00 | $5.00 |
Frequently Asked Questions
How much does Claude Sonnet 4.5 cost per token?
Claude Sonnet 4.5 is priced at $3.00 per 1M input tokens and $15.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Claude Sonnet 4.5?
Claude Sonnet 4.5 has a context window of 1M tokens (1,000,000 tokens). The maximum output length is 64K tokens.
Does Claude Sonnet 4.5 support image inputs (vision)?
Yes, Claude Sonnet 4.5 supports vision/image inputs. You can send images as part of your prompts.
Does Claude Sonnet 4.5 support function calling (tool use)?
Yes, Claude Sonnet 4.5 supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does Claude Sonnet 4.5 compare to similar models?
Claude Sonnet 4.5 costs $3.00 input and $15.00 output per 1M tokens. Claude Haiku 4.5 is less expensive at $1.00 input and $5.00 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Claude Haiku 4.5 page at /tools/cost-calculator/anthropic/claude-haiku-4-5.