Type the price per million tokens from your provider's pricing page, the tokens of one request and how many requests you make, and see the cost per request, per day, per month and per year. You can add a cached input price and a discount. No prices are built in, because they change and differ per model.
No prices are built in, because they change and differ per model. Copy the prices per 1 million tokens from the pricing page of your provider.
Fill in the input and output price to see the cost.
This is an estimate from the numbers you type. Real bills can differ, for example because of extra charges for tools, images or reasoning tokens, minimum amounts or rounding. Check the pricing page and your invoice. Everything happens on your device.
Features
- Cost per request, per 1,000 requests, per day, per month and per year
- Separate input and output prices, with optional cached input and a discount
- Shows how much of the cost is output
- No built-in prices to go out of date: you type your own
How to use AI Cost Calculator
- Type the input and output price per 1 million tokens.
- Fill in the tokens per request and the requests per day.
- Read the cost and copy the figure you need.
Frequently asked questions
Where do I find the prices?
On the pricing page of your AI provider, usually given per 1 million tokens, with a separate price for input and output. Prices differ per model and change over time, so copy them again when you plan a budget.
How do I know how many tokens a request uses?
Paste a typical prompt into the AI Token Counter for an estimate, or read the usage numbers your provider returns with each answer. The estimate is not exact. Output can be more than the visible answer when a model reasons first, and some providers bill that too.
Is the result what I will pay?
It is an estimate. Real bills can differ because of extra charges for tools, images or search, minimum amounts, different prices for very long inputs, or rounding. Check the pricing page and your invoice.
What is cached input?
Some providers charge less for the part of the input they have seen recently, such as a long fixed instruction. If yours does, fill in the cached price and the share of the input that is cached. Leave both empty if you are not sure.