AI Cost Calculator
Enter the tokens per request, your prices and the requests per day.
This result is an estimate only. Double-check important figures before relying on them.
How it is calculated
- Cost per request = (input tokens × input price + output tokens × output price) ÷ 1,000,000
- Per day = per request × requests per day
- Per month = per day × 30
To estimate tokens from text, use the AI token calculator.
Worked example
2,000 input and 500 output tokens, with prices of 3 and 15 per million, 1,000 requests a day:
- 0.0135 per request
- 13.50 per day, 405 per 30 days
Why your number may differ
The currency is whatever you enter for the prices. Real bills depend on discounts, rounding and the exact token counts from the provider.
Frequently asked questions
How is API cost worked out?
Input tokens × input price plus output tokens × output price, each divided by one million. Multiply by the number of requests for a total.
Where do I get the prices?
From your AI provider’s pricing page. They differ between models and change over time, so enter the current price yourself.
What else adds cost?
Caching, batch discounts, tool calls, images and fine-tuning can change the price. This is a simple text-token estimate.