Calculator › Sources & method

Sources and methodology

TL;DR Every price on this site is read by hand from the provider's official pricing page; the latest full check was on December 1, 2026. Costs are standard pay-as-you-go list prices in USD for text, with caching, batch and long-context rules applied as each provider publishes them.

This site exists to answer one question quickly and honestly: what will this workload cost on each model? Here is exactly how the numbers are produced.

Who this site is for

Developers, product managers and founders who need to estimate LLM API spend before they build or switch models, and anyone tracking how API prices change over time (see the price changes log). AI Token Cost is an independent site run by a small Beijing-based team. It is not affiliated with OpenAI, Anthropic, Google, xAI, DeepSeek or any other provider listed, and providers cannot pay to change a price or a ranking.

Price sources

All prices were read by hand from each provider's official pricing page on December 1, 2026:

Prices are standard pay-as-you-go list prices in USD for text. Regional or data-residency endpoints (usually +10%), priority or "fast" modes, enterprise discounts, free tiers, and cloud-marketplace prices (Azure, Bedrock, Vertex AI) are not included.

How costs are calculated

Not included

Token counting

The counter uses OpenAI's open-source o200k_base tokenizer (via the js-tiktoken library), loaded on demand and run entirely in your browser. Other providers' tokenizers are not public in the same way, so their counts are estimates.

Price change log

Dated API price changes and launches are on the AI API price changes log (updated weekly). Site check notes:

More free tools from us

· AI API price changes log · DeepSeek API pricing · GPT-5 mini pricing · GPT-6 Luna · Gemini 3.8 Flash · Sonnet 5 pricing