What this is
LLM Cost Calc is a free calculator that turns published per-token pricing from Anthropic, OpenAI and Google into a concrete monthly dollar estimate for your actual workload — tokens per request, requests per day, cache-hit rate, and whether you use a Batch API. Everything runs client-side in your browser; no usage data is collected or sent anywhere by the calculator itself.
Where the pricing data comes from
Figures are compiled from each provider's public pricing documentation and cross-checked periodically. The "last checked" date is shown next to the results on every calculator page. Because providers frequently adjust pricing (new model releases, promotional rates, deprecations), this tool is meant as a fast comparison starting point, not a substitute for the official pricing page — each calculator links directly to Anthropic, OpenAI and Google's current pricing pages so you can verify before committing budget.
How the math works
Monthly input tokens = input tokens/request × requests/day × 30. Monthly output tokens = output tokens/request × requests/day × 30. A configurable share of input tokens can be marked as "cached", which are billed at roughly 10% of the standard input rate (a typical prompt-caching discount). If Batch mode is enabled, the entire bill is discounted by roughly 50%, reflecting typical Batch API pricing across providers.
Independence
This site is an independent, unofficial tool and is not affiliated with, endorsed by, or sponsored by Anthropic, OpenAI or Google. All trademarks belong to their respective owners.