Claude (Anthropic) API Cost Calculator
Estimate Anthropic Claude API costs with caching and batch pricing.
With the default inputs, $0.0105 per request — ~$315.00/month at 1,000 requests/day. Enter your own numbers below to recompute instantly; the full step-by-step math is shown under the worked example.
Results update automatically as you type.
- Input cost
- $0.00300
- Output cost
- $0.00750
- Per request
- $0.0105
- Per day
- $10.50
- Per month
- $315.00
Estimate the cost of Anthropic's Claude models (Opus, Sonnet, Haiku). Claude offers aggressive prompt caching and batch discounts, so enter your token counts and traffic to see how caching changes your monthly bill.
How this is calculated
Cost per request = (input tokens ÷ 1,000,000 × input price) + (output tokens ÷ 1,000,000 × output price) for your chosen Claude model. Claude's cache reads are billed at roughly a tenth of the normal input rate, so we apply your cached-input share; batch pricing applies the async discount. Monthly cost scales by requests per day × 30.
Is this a good result? What to do next
Haiku is very cheap, Sonnet is mid-range and Opus is premium. Claude's standout lever is aggressive prompt caching: workloads that reuse a big context (RAG, long system prompts) can cut input cost sharply, which often matters more than the base tier choice.
Typical planning ranges
- Claude Haiku
- budget tier
- Claude Sonnet
- mid-tier
- Claude Opus
- premium
Ranges are typical planning figures to sanity-check your result, not authoritative benchmarks. Your numbers will vary with use case, volume, and vendor.
How to improve this number
- Cache large, stable context — cache reads are ~10% of the input rate.
- Pick the lowest tier that holds quality for the task.
- Use batch pricing for non-real-time jobs.
Common mistakes
- Paying full input for repeated context you could cache.
- Defaulting to Opus when Sonnet or Haiku would do.
When to use a different approach
To compare Claude against GPT and Gemini, use the model cost comparison. For a conversation with growing history, use the chatbot cost calculator.
Worked example (defaults)
With the default inputs above, here is the result:
- Input cost
- $0.00300
- Output cost
- $0.00750
- Per request
- $0.0105
- Per day
- $10.50
- Per month
- $315.00
- input: 1,000 / 1e6 x $3/M = $0.00300
- output: 500 / 1e6 x $15/M = $0.00750
- monthly = $0.0105 x 1,000 x 30 days
Sources & references
Frequently asked questions
How much does Claude prompt caching save?+
Cache reads are billed at a large discount versus normal input tokens, so workloads that reuse a big context (RAG, long system prompts) can save substantially.
Is Claude cheaper than GPT-4o?+
It depends on the tier. Haiku is very cheap, Sonnet is mid-range, and Opus is premium. Use the comparison calculator to check for your exact workload.
Related calculators
Answering a real question?
This calculator powers these problem-solving guides: