AI BUDGET PLANNING
AI token and API cost calculator
Turn tokens into a budget. Estimate input and output costs using your own rates, without connecting an API.
Your scenario
Enter rates in USD per million tokens. These are not verified provider prices.
Results
Your estimate will appear here
Complete your scenario and both rates, or load an illustrative example.
Total for the period
Daily average:
- Input
- tokens ·
- Output
- tokens ·
Amounts are rounded; displayed subtotals may not add up to the displayed total.
Limits: up to 1,000,000 daily requests and tokens per request; 1–31 days. USD only.
How the calculation works
For each token type: daily requests × days × tokens per request × rate per million ÷ 1,000,000. Add input and output costs. The daily average divides the total by the specified days.
An example you can check
100 daily requests over 30 days, with 1,000 input and 500 output tokens per request. At illustrative rates of USD 2 and USD 8 per million: input USD 6, output USD 12, total USD 18.
What this estimate includes
Constant average usage and rates you enter. Excludes taxes, caching, batch discounts, tools, media, retries, chat subscriptions and currency conversion. Depending on the provider, reasoning tokens, long contexts, minimum charges and pricing tiers may need separate calculations.
This calculator code does not send or store your inputs. See site policies for other services.
More software decisions
Compare automation costs or productivity licences too.
Browse all tools