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.

Whole number from 0 to 1,000,000
Whole number from 1 to 31 days
Whole number from 0 to 1,000,000 tokens
Whole number from 0 to 1,000,000 tokens
0 to 1,000,000 USD per million tokens; up to 6 decimals, with a point or comma
0 to 1,000,000 USD per million tokens; up to 6 decimals, with a point or comma

Enter counts without thousands separators. Rates accept a decimal point or comma, with up to 6 decimal places.

A label only: it does not select or verify prices.

Results

Your estimate will appear here

Complete your scenario and both rates, or load an illustrative example.

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