How to use TokenCost
Estimate your LLM bill in three steps.
TokenCost turns confusing per-token pricing into a monthly dollar figure. Here's how to go from "which model?" to "what will it cost me?" — and how to read every number along the way.
{{ s.n }}
{{ s.title }}
{{ s.body }}
01 — The inputs
What each input means
Rough estimates are fine — the goal is an order-of-magnitude picture.
02 — The math
How the number is calculated
prompts/mo = users × prompts/day × 30
input tokens = prompts/mo × avg input
output tokens = prompts/mo × avg output
cache factor = 1 − 0.9 × cache hit rate
monthly cost = input ÷ 1M × input price × cache factor
+ output ÷ 1M × output price
Every model runs through this same formula with its own input and output prices, then they're ranked cheapest to most expensive.
03 — The output
Reading the results
{{ r.title }}
{{ r.body }}
Reference
Key terms
{{ g.term }}
{{ g.def }}
