AI API cost calculator

Calculate AI model costs without the noise.

Estimate per-request and monthly costs across leading model providers using published pricing, clear assumptions and a transparent breakdown.

Pricing verified See methodology

Your workload

Enter a representative request. Advanced pricing settings stay out of the way until needed.

Free
Text tokenization is an estimate. Provider-reported token counts can be entered under Advanced settings.
Advanced pricing settings
Compare alternatives

Lower-cost models for the same token volume

Use this as a shortlist, then evaluate quality and latency for your task.

More calculators

Model the rest of your AI system

What the estimate includes

  • Input, cached input, cache writes and output token charges.
  • Documented service tiers and long-context price bands.
  • Optional cache storage, tool, search and regional charges.

What it cannot know

  • Enterprise discounts, taxes or cloud marketplace markups.
  • Exact tokens unless you enter provider-reported usage.
  • Retries, hidden orchestration and quality differences.