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.

Input

Result

Pick a model and tier, enter your tokens and calls per day, then press Calculate.

Claude API Pricing Table (USD per 1M Tokens)

ModelInputOutputCache readCache write (5m)Cache write (1h)Batch inBatch 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

Per-call cost: Each call's cost sums four components: fresh input tokens, cache-read tokens, 5-minute cache-write tokens, and output tokens, each divided by 1,000,000 and multiplied by its per-million-token rate.
Batch tier rates: Selecting batch processing swaps standard input and output rates for the lower batch rates while keeping cache-read and cache-write rates unchanged.
Daily and monthly totals: The calculator multiplies your per-call total by your daily call volume for the daily estimate and multiplies that daily figure by 30 for the 30-day monthly cost.
Why caching lowers bills: Reusing repeated prompt context through cache reads costs significantly less per million tokens than resending the same text as fresh input on every request.

FAQ

How much does the Claude API cost per million tokens?
Claude API cost depends on the model and processing tier. On the 2026-12-03 snapshot, Claude Haiku 5.5 starts at $0.10 input and $0.50 output per million tokens for prompts up to 100k tokens, Claude Sonnet 5.5 is $2.00 and $10.00, and Claude Opus 5.5 is $4.00 and $20.00.
Is cached input cheaper than standard fresh input on Claude?
Yes, reading from the prompt cache is substantially cheaper than sending fresh input tokens. On Claude Sonnet 5.5, cache reads cost $0.10 per million tokens compared with $2.00 for fresh input. Writing to the cache costs $2.50 for 5-minute TTL or $4.00 for 1-hour TTL, and this calculator uses the 5-minute rate.
How does batch processing affect my Anthropic API cost?
Batch processing cuts standard input and output token rates in half for asynchronous workloads. For example, Claude Sonnet 5.5 drops from $2.00 input and $10.00 output to $1.00 and $5.00, while Claude Opus 5.5 drops from $4.00 and $20.00 to $2.00 and $10.00. Cache-read and cache-write rates remain unchanged.
What is the pricing difference between Haiku, Sonnet, and Opus?
Haiku 5.5 is the lowest-cost tier at $0.10 input and $0.50 output up to 100k tokens, or $0.50 and $2.50 above 100k. Sonnet 5.5 sits in the middle at $2.00 and $10.00, while Opus 5.5 is $4.00 and $20.00. Older models like Sonnet 4.5 and Opus 4.1 remain higher.
Does a Claude subscription include or discount Claude API pricing?
Claude Free and Pro plans do not include API credits, so API usage on those plans is billed separately. However, Claude Max, Claude Ultra, and Claude Team plans include monthly API credits that can be used toward API usage. Any API usage beyond those included credits is metered per million tokens.

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

This tool runs as a single file, no external requests, nothing stored.