Estimate your AI API bill.
Estimate token charges from a workload or enter request-level usage. Review the assumptions and excluded costs before using the total.
What are you trying to estimate?
Pick the closest workload. The assumptions stay visible and editable.
Refine the estimateExact tokens, cache, batch, and long contextOptional
Production assumptions
Applied to the estimateDifferent request sizes or audio output?
Use a separate calculation when a monthly token total hides request-size tiers or the model produces speech. Both tools use the same source-backed engine as the main estimate. Missing rates stop the combined quote.
Price a mixed request workload
Each group describes one request shape and its repeat count. Context and output limits are checked per request before the costs are added. Input includes cached reads; additional reasoning must not already be counted in output.
Off-peak is an explicit billing assumption, not a calendar prediction. Cache creation, storage, search, other tool fees, taxes, gateways and infrastructure are excluded unless separately supplied to a supported adapter. An invalid or unavailable rate produces an incomplete result.
Estimate documented text-to-speech token costs
Synthesis bills text input and audio output separately. This estimate covers the Gemini TTS endpoints with documented rates in the canonical ledger. It does not generate audio or require credentials.
A duration-based figure is a planning estimate using a provider-documented conversion, not a prediction of generated duration. Enter totals across requests; split your actual calls to respect the documented per-request limits. The date applies scheduled introductory-rate changes. Unsupported tiers, unknown rates and non-token fees are not treated as zero.
Price observed Realtime text, audio and image tokens
Enter billable usage from your own Realtime records. Each input total includes its cached subset. Audio tokens stay separate from text tokens; this tool does not infer them from call duration or start a voice session.
Standard list rates only. These are aggregate billing categories; they do not validate request capacity or reproduce a provider invoice. Tool charges, transport and taxes remain outside the estimate. No credentials or inference access are used.
Also useful
Frequently asked questions
What's the cheapest AI API?
It depends on the ratio of input to output in your workload. The calculator sorts the current published prices for the usage you enter; records without a complete API price are listed separately and never treated as free.
How much does Claude cost per month?
Depends on which tier. Enter your actual input, output, caching, and reasoning-token assumptions above for a model-by-model figure.
Does this include cached pricing?
Yes. Set the repeated-input percentage and the calculator applies each model's documented cached-input rate when available. Cache and Batch are combined only where the canonical provider record explicitly supports the combination.
Is the pricing up to date?
Prices come from the shared benchr model index, verified against official provider pricing pages and recorded in the changelog. Provider prices can change without notice.