LLM API Cost Calculator
Cost per request, day and month for GPT, Claude and Gemini APIs.
Runs in your browser — nothing is uploaded—
Details
How to use LLM API Cost Calculator
- Enter your values — the unit for each field is shown next to it.
- The result updates instantly as you type.
- Copy the results, or change inputs to compare scenarios.
Formula & assumptions
Cost = (input × input price + cached input × cache price + output × output price) ÷ 1,000,000
- Model prices as of 2026-09-30 from the Anthropic, OpenAI and Google pricing pages (standard rates, short prompts). Prices change — check the provider before budgeting.