Formula and methodology
Cost per request = (input tokens × input price + output tokens × output price) ÷ 1,000,000. Cost per day = cost per request × requests per day. Cost for the period = cost per day × days. The prices are inputs you type from your provider’s current price list; the defaults are only examples.
Worked example
With Input tokens per request 2,000, Output tokens per request 500, Requests per day 1,000, Input price 3, Output price 15, Days in the period 30, the calculator gives: Cost per request (US$) = 0.01; Cost per 1,000 requests (US$) = 13.5; Cost per day (US$) = 13.5; Cost for the period (US$) = 405.
How to read the result
Token prices differ between models and providers and change over time, so copy the current figures from the provider’s pricing page before relying on the result. Output tokens usually cost more than input tokens. Caching discounts, batch pricing, images and tool calls are not included.
Frequently asked questions
How many tokens is a word?
It depends on the model and language. For English, a token is roughly three-quarters of a word on average, but check your provider’s tokenizer.
Are the default prices real?
They are illustrative placeholders. Enter the current price per million tokens from your provider.
Why are output tokens more expensive?
Many providers charge more for generated output than for input. That is why the calculator takes two separate prices.
Does this include taxes or currency conversion?
No. It gives a US dollar estimate before taxes, fees and conversion costs.
Assumptions and limitations
This tool provides planning estimates from the figures you enter. Definitions vary between companies and accounting standards, so align the inputs with your own policies and verify results with a qualified accountant or adviser before making decisions.
Browse all calculators · Calculation methodology · Developer guide · Free Embed Builder