Skip to content

Search

Articles, tools, solutions and knowledge base guides

Start typing to search across articles, tools and apps.

AI Model Cost Calculator

NEW

Compare estimated API costs across hundreds of AI models from OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral, Meta, Alibaba Qwen, Z.ai GLM and Moonshot Kimi with prompt caching, batch rates, long-context tiers and growth projections.

Free to use No registration Privacy protection

Loading verified AI model pricing catalog...

Found a bug or missing something? Write to us

Scope and limits

Synchronized daily, calculated locally, never guessed

Verified multi-source catalog with transparent limitations

Pricing is synchronized daily from models.dev and LiteLLM with official provider documentation links. Missing prices or unverified batch, tier, and cache rates are never assumed to be zero.

Help

FAQ

Where does the AI model pricing data come from?

The catalog is synchronized daily from models.dev and BerriAI/litellm and cross-checked against official provider pricing pages. Each model row displays its source link, last verified date, and whether pricing comes from a direct provider API or a third-party inference platform.

How are prompt caching, batch API, and long-context pricing handled?

Provider-specific adapters apply verified cache read and write rates (including Anthropic 5-minute and 1-hour cache TTLs and minimum token thresholds), verified Batch/Flex/Priority tier rates, and long-context threshold uplifts. When a model lacks verified pricing for an enabled mode, it is explicitly marked unsupported or incomplete instead of showing a guessed total.

How are reasoning tokens billed?

When a model defines a dedicated verified reasoning token rate, the calculator applies it. For providers such as OpenAI, Anthropic, Google, and xAI that bill internal reasoning or thinking tokens at the output token rate, reasoning tokens are billed at the active output rate and noted in the row assumptions.

Does this calculator require an API key or send my inputs to a server?

No. All calculations, filtering, sorting, chart rendering, saved scenarios, and CSV/JSON exports execute entirely in your browser. Share links store only your non-sensitive workload parameters in the URL query string.

Why is the lowest-cost model not automatically the best choice?

Token price is only one dimension of model selection. Quality, reasoning accuracy, latency, rate limits, data residency, and tool-calling reliability vary significantly across models and providers.

How are monthly and annual projections calculated?

Daily volume converts to a 30-day billing month and 365-day flat year. When monthly usage growth is non-zero, the annual estimate sums 12 compounding monthly totals so teams can plan scaling budgets accurately.