TokenPad

13 tools

LLM Cost Calculators

Turn token counts into the number that appears on an invoice.

A rate per million tokens tells you almost nothing on its own. What matters is your request volume, your input-to-output ratio, how much of your prompt is cacheable, and whether your workload compounds — conversations and agent loops both resend their history, so cost grows faster than request count.

Every price used here comes from the provider’s own documentation and carries the date it was read. A calculator built on a stale rate is confidently wrong, which is worse than having no calculator.

Which one you need

If you are sizing a feature that does not exist yet, start with the basic cost calculator: volume, prompt size, answer length, and a price. It gives you the order of magnitude, which is usually the decision.

If the feature is a conversation, use the conversation calculator instead. Chat cost does not grow linearly — every turn resends the history, so the twentieth message pays for the nineteen before it, and a linear estimate will be badly wrong by the end of the session.

If it is an agent, the loop calculator is the one that matters, because the number to budget against is worst case: cost per iteration multiplied by the maximum iteration count. That is what appears on the bill during an incident.

Once something is already running and the question is how to spend less, the caching, batching and routing tools are ordered by saving per hour of work. Caching first — it is a configuration flag. Routing last — it takes a week and saves the most.

Questions

Are the prices here current?

Every rate comes from the provider’s own documentation with the date it was read attached, and each model page links to the source. Prices fall without notice, so follow the source link before committing to a volume decision — a calculator built on a stale rate is confidently wrong.

Why is my real bill higher than the estimate?

Three usual reasons. The estimate used the bare user message rather than the assembled prompt with system instructions, retrieved context and tool schemas. Retries were not counted. Or the model is a reasoning model billing for tokens that never appear in the output.

Guides that use these tools

Other categories