Pricing Methodology

How we source, validate, and update AI API pricing data — and where the limitations are.

Last updated: June 2026

Data Sources

Every price in the AIModelCalc calculator is sourced directly from the official pricing documentation of each provider. We do not use automated scrapers or third-party price aggregators as primary sources, because those introduce a lag and an additional point of failure.

ProviderPrimary Source
OpenAIplatform.openai.com/docs/pricing
Anthropicanthropic.com/api/pricing
Googleai.google.dev/pricing
Meta (Llama)Via Together AI, Replicate, Fireworks AI pricing pages
Mistral AImistral.ai/pricing
xAIx.ai/api/pricing
Coherecohere.com/pricing

For open-source models like Llama, there is no single canonical price because different inference providers charge different rates. We use a representative mid-market rate from the major inference hosts and note this in the calculator.

How We Handle Caching Discounts

Several providers offer prompt caching — where repeated portions of a prompt (like system instructions) can be cached and reused at a reduced per-token cost. The discount structure varies significantly by provider:

The AIModelCalc calculator includes a caching toggle that applies provider-appropriate cache discounts. The cache savings shown assume a cache hit rate of 100% on cached tokens — real-world hit rates will vary depending on how consistent your prompts are. Use the caching estimate as an upper bound on potential savings.

What Our Calculator Does Not Include

There are parts of AI API costs that our calculator doesn't model, either because they're too variable or because the data isn't publicly available:

Bottom line: Our estimates are most useful for comparing models and doing order-of-magnitude planning. For detailed budget forecasting, use our numbers as a starting point and add your own adjustments for the factors above.

Update Frequency

We monitor provider pricing pages and developer communications for changes. AI pricing is volatile — providers change rates, deprecate models, and introduce new pricing tiers frequently. Our typical update timeline:

Reporting Errors

If you spot a pricing error — whether a stale rate, a wrong per-million figure, or a missing model — please report it through our contact page. Include a link to the provider's official pricing page showing the correct rate. We update quickly and appreciate the help keeping this accurate.