TokenRate

Free AI calculators

What do you want to calculate?

Start with the numbers you have. No account needed.

Most used tool

Tokens to USD

Turn input and output token counts into an estimated API cost. Compare a single token count, or enter separate input and output counts to estimate the total.

Open Tokens to USD →

A quick way to check your API cost

  1. Find input and output token counts in your API response or usage dashboard. A total token count alone cannot identify the split.
  2. Open Tokens to USD, choose “Input + output,” and enter both counts.
  3. Find your model and check its rate date. Caching, reasoning, tools, and other billing categories can change the final invoice.
See the formula and a worked example →