Claude API Cost Calculator

Calculate Anthropic Claude API costs for Sonnet, Opus, and Haiku.

Estimate Anthropic API costs for Claude Sonnet 4.6, Claude Opus 4.6, and Claude Haiku 4.5. Paste text to auto-count tokens or enter counts manually. See per-request and monthly cost breakdowns for your usage patterns.

0 input tokens detectedOutput estimated at 50% (0 tokens)
Model pricing
Input price$0.000003 / token$3.00 / 1M tokens
Output price$0.000015 / token$15.00 / 1M tokens
Cost estimate
Per request$0.000000
Per 1K requests$0.000000
Daily (100 req)$0.000000
Monthly est.$0.000000
0 input tokens0 output tokens

Related Tools

FAQ

How much does Claude Sonnet 4.6 cost per API call?
Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens. Claude Haiku 4.5 is much cheaper at $0.25 input / $1.25 output per million tokens, while Claude Opus 4.6 is $15 input / $75 output.
Does Anthropic offer prompt caching?
Yes. Anthropic offers prompt caching which lets you cache up to 200K tokens of context. Cache writes cost 1.25× the normal input rate, but cache reads are 90% cheaper — making it valuable for large, repeated system prompts.
How does Claude pricing compare to GPT-4o?
Claude Sonnet 4.6 ($3 input / $15 output) is slightly more expensive for input but cheaper per output token compared to GPT-4o ($2.50 input / $10 output). For high-output tasks, GPT-4o may be more cost-effective.