Free calculator · Runs in your browser
AI API Cost Calculator
This calculator turns a call volume and token counts into an estimated bill, then lines the same workload up across dozens of text models from OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral and Llama hosts. You can look at the cost per 1,000 calls and a 12-month growth path. The table uses a 2026 price snapshot, not a live invoice.
Prices last checked in 2026 · USD · Text tokens only
Want every rate in one sortable list? See the AI model pricing table (87 models with cached input, context window and status, checked on official pages).
01 / Your usage
How much work will the models process?
A daily figure is converted using 30 days in a month. Put system prompts and prior turns in the input box, and any billed reasoning tokens in the output box.
02 / Line them up
One set of usage numbers, many price lists.
Lowest token bill in the current filter
Loading calculator…
$0.00 / month
The eight cheapest rows in this filter
The bar uses the period you selected. The table has the precise figures.
| Model | Provider / host | Input / 1M | Output / 1M | Monthly cost ↓ | Pricing source / notes |
|---|
A low price is not a quality judgement. The highlight only flags the smallest estimated token bill for this usage and filter. Equal totals are all marked. Context windows and availability still differ by model.
03 / If volume rises
What happens if you add more calls each month?
Pick a model and a monthly growth percentage. The first month is the volume you entered; later months apply that growth to the call count. Rates stay where they are in this snapshot, even if a row is on a promotion. The projection does not guess future list-price cuts.
Open the month-by-month estimate
| Month | Estimated calls | Estimated cost (USD) |
|---|
The arithmetic
How a row in the table is worked out
Each model row uses the same workload you entered: the number of calls, the average input tokens, and the average billed output tokens.
Calls × ((input tokens × input price + output tokens × output price) ÷ 1,000,000)If input is priced at $3 per million tokens and output at $6, a call of 800 input tokens and 200 output tokens is $0.0036. Five thousand such calls come to $18 for the month, before any growth you add in the forecast.
The figure is a comparison of standard, uncached text-token rates. It leaves out batch and cache discounts, tax, credits, storage, images, audio and tool charges. DeepSeek rows use peak cache-miss prices. Open the source link on a row before you treat the number as a budget.
Some vendor terms moved in 2026, including announced routing changes for Gemini 2.5 Pro and Flash, and promotional rates on certain Gemini rows. Those notes sit on the row itself. This page does not flip rates automatically when a promotion ends, so confirm the current vendor price before you spend.

About the creator
Jitendra Vaswani
Jitendra Vaswani is the founder of Kreative Media and the author of Inside A Hustler's Brain. He built this calculator so a team can compare token bills in one table, then go and confirm the vendor rate and test the model on real work before the number goes into a budget.
- Free
- No sign-up
- Runs in your browser
- Updated 2026
API pricing is awkward because you have to combine calls, input tokens, output tokens, and a price list that changes. In 2026 this free Kreative Media calculator does that arithmetic in your browser from a manually maintained snapshot of standard text rates.
It is not a live price feed and not an invoice. Confirm the vendor’s current terms before you budget. Caching, batch discounts, taxes, tool fees, and image or audio charges are left out on purpose, so you can see a comparable token bill across models.
How to use the AI API Cost Calculator
- Enter how many calls you expect, plus average input and output tokens per call, and how often that volume repeats.
- Filter by provider if you only want to see one bench of models.
- Read the comparison table, the cheapest-row highlight, and the optional 12-month growth projection.
- Export a CSV if you want the same numbers in a sheet, then confirm the rates on each vendor’s pricing page.
When this tool is useful
- A first budget for a chatbot or a summariser, before you commit to a provider.
- Comparing a cheap small model with a more expensive one at the same traffic assumptions.
- Showing a client why a “only $1 per million tokens” line still becomes a real monthly number at their volume.
Practical tips
- Use realistic token counts. A long system prompt on every call will dominate a tool that only looks cheap at a glance.
- If a model has long-context rates, the table applies the higher band when your input crosses the listed threshold. Read that row carefully.
- Revisit the snapshot if you are planning a year ahead. Prices move, and this page is dated to a 2026 check, not a live ticker.
What happens to your text
The calculator runs in your browser. Your usage numbers and the comparison do not go to our writing API, and they are not stored in an account on this blog.
There is no sign-up and no key to paste. Closing the tab clears the inputs unless you exported a CSV to your own machine.
FAQ
AI API Cost Calculator FAQs
How does this calculator turn tokens into a monthly cost?
It takes the call volume you entered and applies each model’s input and output rates, in US dollars per million tokens. For a worked example: 800 input tokens at $3 per million plus 200 output tokens at $6 per million is $0.0036 for one call. Five thousand of those calls come to $18 for the month, before any growth you add in the forecast.
Are these live prices or a quote you can invoice from?
Neither. The table is a manually kept snapshot of standard text rates, last reviewed in 2026. It is not a ticker and not a bill. Open the source link on a row and read the vendor’s current terms before you put a figure in a proposal or a budget.
What is left out of the estimate?
The comparison leaves out cache and batch discounts, tax, credits, images, audio, storage, search, and other tool charges. If a model bills extra reasoning or thinking tokens, add those into your average output figure. Tokenizers also disagree slightly, so use the result to compare models, not to pay an invoice.
Does the cheapest row mean I should use that model?
No. The highlight only marks the smallest estimated token bill in the filter you have open. You still have to judge whether the model is accurate and fast enough, and whether your prompt fits its context window. This page does not test quality or compatibility.
How does the annual view relate to the growth projection?
The plain annual figure is the opening monthly bill multiplied by 12, with volume held still. The growth path is different: it starts with the month-1 volume you entered and raises the call count each month for a year. A daily entry is converted with 30 days in a month. Pick the view that matches how you actually plan to scale.
Do I need an API key to run this?
No. This is a comparison page only. It does not call a paid model for you and it does not ask for a key. The usage numbers stay in your browser unless you export a CSV to your own machine.
