Digital and AI · Calculator
How much do AI tokens cost per request, day and month?
Choose a sample price option (OpenAI, Anthropic, Google; read from the official pages on 27 September 2026) or enter your own, set the tokens per request and the load, and see the cost of a request, a day, a month and a million requests, how many users the budget can cover and how much the cache saves and, optionally, how many tokens your text has and how much context is left.
Your data
How we calculate
cost per request = Σ (component tokens ÷ 1,000,000 × component price per 1M)requests per day = users × requests per user; per day = cost per request × requests per day; per month = per day × daysa million requests = cost per request × 1,000,000; a million users per month = cost per request × 1,000,000 × requests per user × daysusers the budget can cover = budget ÷ (cost per request × requests per user × days)cache saving = cached tokens ÷ 1,000,000 × (input price − cache read price), no less than zerotokens from text = (characters ÷ characters per token), rounded up; known input = system + user + tools; buffer = window × percentage; context left = window − buffer − known input − response budget (no less than zero); characters that still fit = context left × characters per token
Assumptions
- Sample option prices are a snapshot of the providers’ official pages as of 27 September 2026, in US dollars: Standard tier, short context, without batch discounts, regional surcharges or taxes. change
- Cached tokens are charged at the cache read price; cache storage (hourly at Google) is not taken into account.
- Estimating tokens from characters is a heuristic with rounding up; the factor depends on the tokeniser, the language, code and markup. change
Limitations
- Not modelled: batch and priority tiers, long context with higher prices, regional surcharges, taxes, volume discounts, the cost of tools (search, containers), images and audio, cache storage.
- Tokens from text are an estimate, not a tokeniser; hidden tokens of the provider’s wrapper and system messages are not visible.
Sources
- OpenAI API Pricing: gpt-6-sol, Standard, short context (USD per 1M tokens), gpt-6-sol, Standard tab, short context: input / cached input / cache write / output tokens (sample option “OpenAI gpt-6-sol”): 2,00 / 0,20 / 2,50 / 10,00 USD per 1M tokens (checked 2026-11-22)
- Claude Platform Docs, Pricing: Claude Sonnet 5 (USD per 1M tokens), Claude Sonnet 5: base input / cache reads (hits) / 5-minute cache writes / output tokens (sample option “Anthropic Claude Sonnet 5”): 2,00 / 0,20 / 2,50 / 10,00 USD per 1M tokens (checked 2026-10-28 · may be outdated)
- Gemini Developer API pricing: Gemini 3.5 Flash-Lite, Paid, Standard (USD per 1M tokens), gemini-3.5-flash-lite, paid tier, Standard tab: input (text/image/video/audio) / cached context / cache write / output including thinking tokens (sample option “Google Gemini 3.5 Flash-Lite”): 0,30 / 0,03 / 0 / 2,50 USD per 1M tokens (checked 2026-10-28 · may be outdated)
Questions and answers
Why are input tokens split into three kinds?
Because providers charge different amounts for them: tokens without cache at the full price, cache reads several times cheaper, and cache writes on some tiers more than regular tokens. A single “input” number would hide the economics of the cache.
How accurate are the sample options?
They are a snapshot of the official pages on the check date: Standard tier and short context, in US dollars. Batch and priority tiers, long context, regional surcharges and volume discounts are not included. For those, choose “Your own prices”.
Is this a real tokeniser?
No. Section 4 divides characters by a factor and rounds up, because underestimating tokens is riskier than overestimating them. The exact count comes from the provider’s response or its counting tool; enter it as characters with a factor of 1.
Related tools
This is an estimate of costs at the providers’ published prices, not an invoice. Providers change their pricing; check against your own account before deciding.
Checked by the Calc editorial team: three independent implementations of the formula, test cases and the live page on a phone. Last check: 27 September 2026