AI Pricing Hub AI API cost calculator

AI API cost calculator

AI API and token cost calculator

Estimate what an AI API request or monthly workload will cost using current model pricing from AI Pricing Hub.

Cost calculator

Monthly AI API spend estimate

Start with a workload

Choose a common workload, then adjust any assumption.

More options
Estimated monthly cost N/A
Cost / request N/A
Cached input share 30%
Find models
Model Cost / request Daily cost Monthly cost Breakdown Difference
Waiting for data
Open Saved Workloads

Saved workloads use standard input/output token pricing. Cache and batch discounts are not included. Only the primary calculator model is saved; comparison models are alternatives, not additional usage.

USD / 1M tokens

How the token cost estimate works

Input tokens

Tokens sent to the model, including prompts, instructions, and retrieved context.

Output tokens

Tokens generated by the model in its response.

Cached input

The share of input tokens billed at a lower cached-input rate when the selected model supports it.

Batch pricing

Optional asynchronous batch rates are used only when the dataset lists them for the selected model.

Per-million normalization

Listed rates are normalized to USD per one million tokens, then multiplied by your workload volume.

Estimates use listed USD prices per million tokens. Provider billing rules, taxes, minimums, regional pricing, and unlisted fees can change the final invoice.

AI Pricing Hub

Current pricing and source context

The calculator reads the current public pricing dataset. Each result links to its model, provider pricing, and pricing history pages so you can verify the source and recent changes.

Public API

Build with AI Pricing Hub data

Use static JSON endpoints for providers, models, rankings, history, market metrics, and changelog events.

Newsletter

Get AI pricing changes in your inbox

Monthly pricing moves, new model launches, and practical cost notes. Provider integration is not enabled yet.

Compare before-and-after AI API token prices from the history tracked by AI Pricing Hub.

Editorial information

Reviewed by AI Pricing Hub Editorial

Last updated

2026-10-07

Methodology

Methodology explains collection, validation, limitations, and update cadence.