AI API cost calculator
Estimate a Standard or paid-tier text bill from token counts and the checked provider rates.
Nothing you type is sent. The work stays in this browser.
How to use it
- Pick a model. The rate card shows the date it was checked and the page the numbers came from.
- Enter input tokens, output tokens, and cached input tokens if you have them from a provider usage report.
- The total uses that model's Standard or paid text rate. Batch, Flex, Fast, regional uplifts, and cache writes are not added.
You supply the token counts. This page does not call an API to tokenize or to price a live request. If your prompt crossed the model's long-context threshold, the higher rate is applied to the whole request, which is what those providers' pages describe.
Cached tokens are billed at the cached-input rate and the rest of the input at the normal input rate. Cached tokens cannot exceed input tokens.
Google output prices include thinking tokens. If you only have the visible answer length, the output line will be short of the real bill.