Tech calculators
AI cost calculator
Work out the cost per request and daily, monthly and yearly totals for AI models that charge per token. Enter your own prices from your provider's pricing page.
Runs in your browser with no account and no stored data
How it works
Enter the number of input tokens and output tokens your typical request uses. Then enter the price per million input tokens and price per million output tokens from your provider's pricing page. Optionally add requests per day to see daily, monthly and yearly cost totals.
Cost per request = (input tokens x input price per million / 1,000,000) + (output tokens x output price per million / 1,000,000). Daily cost = cost per request x requests per day. Monthly cost = daily cost x 30. Yearly cost = daily cost x 365.
A request using 1,000 input tokens at $3 per million and 500 output tokens at $15 per million costs (1,000 x 3 / 1,000,000) + (500 x 15 / 1,000,000) = $0.003 + $0.0075 = $0.0105 per request. At 100 requests per day that is $1.05 per day, about $31.50 per month.
Useful for estimating AI running costs before committing to a model, comparing models at different price points, planning a usage budget, or checking whether a use case is cost-effective at scale.
What do you want to do next?
Compare costs with the percentage calculator, plan a budget with the savings goal calculator, or explore growth over time with the interest calculator.
FAQ
Where do I find the token prices to enter?+
Go to your AI provider's pricing page. Prices are usually listed per million tokens, sometimes called per 1M tokens or per 1K tokens. Convert to per million if needed. For example, $0.003 per 1K tokens equals $3 per million.
What are input tokens and output tokens?+
Input tokens are the words and characters you send to the model, including your prompt and any context. Output tokens are the words the model generates in response. Most providers charge different rates for each.
How do I estimate how many tokens my requests use?+
A rough guide is that 1,000 tokens is around 750 words in English. Many providers offer a tokenizer tool on their documentation pages. You can also check usage logs if you have already made some calls.
Why does this calculator not include live pricing?+
Token prices change frequently and vary by region, tier and contract. Using your own prices from your provider's page gives a more accurate result than any automatic lookup could.
Does this include API call fees or other charges?+
No. This calculator covers token costs only. Some providers also charge per API call, for context caching, or for image inputs. Check your provider's full pricing page for a complete picture.
Can I use this to compare two models?+
Yes. Run the calculator once with the prices for model A, note the result, then change the prices to model B. The cost per request and daily totals make it straightforward to compare.