AI Token Cost Calculator
Use this free AI token cost calculator to estimate monthly LLM API spend from request volume, input and output tokens, and cached input pricing.
Export preview
BudgetHub Preview- Monthly token spend
- $804.00
- Uncached input spend
- $270.00
- Cached input spend
- $9.00
- Output token spend
- $525.00
Common questions
How does this AI token cost calculator work?
Multiply monthly requests by the average tokens per request. Split input tokens into uncached and cached groups. Divide each token count by one million, multiply by its USD rate, and add the uncached input, cached input, and output charges.
How do cached input tokens affect LLM API pricing?
Apply the cached input price only to the share of input tokens your provider bills as cache hits. Use 0% if caching is unavailable or you expect no hits. Set the cached rate equal to the input rate if your provider charges the same price for both.
How do I estimate the cost of one million AI tokens?
Use the per-million rate for the token type you are pricing. One million tokens made up of 800,000 uncached input tokens at $2 per million and 200,000 output tokens at $8 per million cost $3.20.