About TokenCostCalc
TokenCostCalc is an independent, free calculator for large language model API pricing. No account, no tracking script, no data leaves your browser.
Last updated: 1 December 2026
Why this site exists
Model pricing pages are hard to compare because every provider splits tokens into different categories and prices them differently. A model that looks cheap per input token can be expensive once output length or cache misses are taken into account. This site exists to answer one question properly: given a specific workload, what will the monthly bill actually be?
Everything here runs in the browser. Enter your request volume, token counts and cache hit rate, and the calculator prices all eleven reference models plus a custom row against your own numbers. There is no sign-up, no server-side processing, and no third-party analytics script.
Methodology
The reference rate card uses December 2026 reference list pricing in US dollars per 1,000,000 tokens. For each model we store three prices — fresh input, cached input and output — plus optional off-peak rates where a provider offers time-of-day pricing.
Monthly cost is computed as:
cached = input_tokens x hit_rate
fresh = input_tokens - cached
per_request = (fresh x input_price + cached x cached_price + output_tokens x output_price) / 1,000,000
monthly = per_request x requests_per_day x active_days x discount_multiplier
The discount multiplier is 0.5 when the batch toggle is on, and the off-peak toggle substitutes the model's off-peak rates for its peak rates. Both discounts are applied to the priced lines rather than to the header number, so the table reflects what a bill would look like.
What this calculator does not model
- Cache write premiums, where a provider charges more than the normal input rate to populate a cache.
- Minimum cache token sizes and cache storage fees charged per hour or per token.
- Volume discounts, committed-use agreements, enterprise contracts or negotiated rates.
- Retry overhead beyond what you enter as extra requests per day.
- Prompt caching that silently expires — the hit rate you enter is the hit rate the model assumes.
- Non-token charges such as speech-to-text, text-to-speech, telephony minutes or platform fees.
Treat every number as an estimate for budgeting, not a quote. Confirm current rates with your provider before making a purchasing decision.
Editorial independence
Model ordering, ranking and editorial commentary are based on the published rate card and on workload modelling, never on commercial relationships. The site reserves one clearly marked recommendation slot for a possible future partner link; it currently contains no affiliate link and no payment has been received for placement.
Corrections
If a rate is wrong or a provider has changed pricing, tell us at hello@tokencostcalc.example and include the model, the rate and a link to the provider's pricing page. Corrections that check out are usually applied within a few days.