These are third-party sponsored links; pricing and offers are controlled by each provider. This calculator provides estimates only and does not endorse any service.
Frequently asked questions
Does this upload my prompts or API key?
No. It never asks for or stores an API key, and every calculation runs locally in your browser with JavaScript. Your text is never sent to a server.
How is AI API cost calculated?
Providers bill by tokens, usually with separate input and output rates: cost = (input tokens × input price + output tokens × output price) ÷ 1,000,000 × number of requests.
Why do model prices differ so much?
Frontier reasoning models (GPT-5, Claude Opus) are pricey but most capable; lightweight “Flash/Mini” models can cost a fraction and suit high-volume, simple tasks. Compare on your own real workload.
Are these prices exact?
They are curated reference prices (updated Oct 2026). Providers change them often, and some Chinese models vary by peak/off-peak hours. For production budgets, check the official pricing pages of OpenAI, Anthropic, Google, xAI, DeepSeek, Alibaba, Volcengine, Moonshot and Zhipu.
Estimates and information only; not procurement or investment advice. Model names and trademarks belong to their respective owners. All processing is local and nothing is retained after refresh.