AI Cost
Claude API Pricing Calculator
Calculate your expected Anthropic API cost across Claude Sonnet 5.5, Opus 5.5, Haiku 5.5, and older model generations before you ship to production. Enter your input, output, cache-read, and cache-write token volumes along with daily call counts to see per-call, daily, and 30-day monthly estimates.
Result
Pick a model and tier, enter your tokens and calls per day, then press Calculate.
Monthly figure = daily cost × 30. Batch swaps the input/output rates for the batch rates shown in the table; cache rates stay the same.
Claude API Pricing Table (USD per 1M Tokens)
| Model | Input | Output | Cache read | Cache write (5m) | Cache write (1h) | Batch in | Batch out |
|---|---|---|---|---|---|---|---|
| Claude Fable 5.2 | $8.00 | $40.00 | $0.20 | $10.00 | $16.00 | $4.00 | $20.00 |
| Claude Opus 5.5 | $4.00 | $20.00 | $0.20 | $5.00 | $8.00 | $2.00 | $10.00 |
| Claude Sonnet 5.5 | $2.00 | $10.00 | $0.10 | $2.50 | $4.00 | $1.00 | $5.00 |
| Claude Haiku 5.5 (<= 100k prompt tokens ctx) | $0.10 | $0.50 | $0.01 | $0.125 | $0.20 | $0.05 | $0.25 |
| Claude Haiku 5.5 (> 100k prompt tokens ctx) | $0.50 | $2.50 | $0.05 | $0.625 | $1.00 | $0.25 | $1.25 |
| Claude Mythos 5.2 | $8.00 | $40.00 | $0.20 | $10.00 | $16.00 | $4.00 | $20.00 |
| Claude Fable 5.1 | $10.00 | $50.00 | $0.25 | $12.50 | $20.00 | $5.00 | $25.00 |
| Claude Mythos 5.1 | $10.00 | $50.00 | $0.25 | $12.50 | $20.00 | $5.00 | $25.00 |
| Claude Fable 5 | $10.00 | $50.00 | $1.00 | $12.50 | $20.00 | $5.00 | $25.00 |
| Claude Mythos 5 | $10.00 | $50.00 | $1.00 | $12.50 | $20.00 | $5.00 | $25.00 |
| Claude Opus 5 | $5.00 | $25.00 | $0.50 | $6.25 | $10.00 | $2.50 | $12.50 |
| Claude Opus 4.8 | $5.00 | $25.00 | $0.50 | $6.25 | $10.00 | $2.50 | $12.50 |
| Claude Opus 4.7 | $5.00 | $25.00 | $0.50 | $6.25 | $10.00 | $2.50 | $12.50 |
| Claude Opus 4.6 | $5.00 | $25.00 | $0.50 | $6.25 | $10.00 | $2.50 | $12.50 |
| Claude Opus 4.5 | $5.00 | $25.00 | $0.50 | $6.25 | $10.00 | $2.50 | $12.50 |
| Claude Opus 4.1 | $15.00 | $75.00 | $1.50 | $18.75 | $30.00 | $7.50 | $37.50 |
| Claude Opus 4 | $15.00 | $75.00 | $1.50 | $18.75 | $30.00 | $7.50 | $37.50 |
| Claude Sonnet 5 | $2.00 | $10.00 | $0.20 | $2.50 | $4.00 | $1.00 | $5.00 |
| Claude Sonnet 4.6 | $3.00 | $15.00 | $0.30 | $3.75 | $6.00 | $1.50 | $7.50 |
| Claude Sonnet 4.5 | $3.00 | $15.00 | $0.30 | $3.75 | $6.00 | $1.50 | $7.50 |
| Claude Sonnet 4 | $3.00 | $15.00 | $0.30 | $3.75 | $6.00 | $1.50 | $7.50 |
| Claude Haiku 4.5 | $1.00 | $5.00 | $0.10 | $1.25 | $2.00 | $0.50 | $2.50 |
USD per 1M tokens. Rates are from a snapshot of Anthropic's official pricing page (platform.claude.com/docs/en/about-claude/pricing) checked on 2026-12-03, in USD per 1 million tokens. Anthropic can change prices at any time, so verify current rates before finalizing production budgets.
How Claude API Cost Is Calculated
FAQ
What Is Claude API Pricing?
Claude API pricing is Anthropic's usage-based billing model for developers integrating Claude models into applications. Instead of a flat monthly fee, Anthropic charges in US dollars per one million tokens processed, separating input tokens sent to the model from output tokens generated in response. This per-million-token structure lets you project your Anthropic API cost accurately from prototype through production.
Beyond standard input and output rates, Anthropic offers prompt caching and batch processing to reduce your Claude API cost. Writing tokens to a 5-minute or 1-hour cache carries a higher initial rate than fresh input, but subsequent cache reads cost a fraction of standard input, for example, $0.10 per million tokens versus $2.00 on Claude Sonnet 5.5.
Related calculators
- Token Cost CalculatorEstimate LLM API cost per call, day, and 30-day month across Anthropic, OpenAI, and Google models.
- OpenAI API Pricing CalculatorEstimate per-call, daily, and 30-day OpenAI API costs across models, context bands, and tiers.
- ChatGPT Plus vs Claude Pro CalculatorCompare the $20 subscriptions, annual Claude Pro pricing, and your API breakeven token volume.
This tool runs as a single file, no external requests, nothing stored.