LLM Cost Calculator
Estimate the cost of an LLM API call from your token counts and pricing.
What is the LLM Cost Calculator?
LLM providers typically price input and output tokens separately, per million tokens, and output tokens usually cost more than input tokens. This tool multiplies your token counts by a price you supply to estimate the cost of a request, or a batch of requests.
How to use it
- Enter your input and output token counts (use the AI Token Counter if you need an estimate first).
- Enter the provider's per-million-token price for input and output, or pick one of the Claude pricing presets.
- Optionally set a number of requests to estimate a total cost across a batch.
A note on pricing accuracy
LLM pricing changes over time and varies by provider and model. The presets here reflect Anthropic's own published API pricing as verified when this tool was built — they are not guaranteed to still be current, and no other provider's pricing is pre-filled here to avoid presenting a number that could be wrong. Always check the provider's own current pricing page before making a real budgeting decision; this tool is for quick estimation, not as an authoritative price source.