Home / Free Tools / AI Token Cost Calculator

AI Token Cost Calculator

Before you build on an API or automate a workflow, find out what it will actually cost. Pick a model preset with official pricing, or type in your own rates — results update as you type.

Per request–
Per day–
Per month–
Per year–

Preset sources and check dates are shown in the dropdown. Full sources: the official OpenAI and Anthropic pricing pages. Prices may have changed — the official page always wins.

How to use it

  1. Pick a model preset or enter per-million-token prices yourself
  2. Enter the input and output tokens of one request
  3. Add how many requests you run per day and per month
  4. Optionally set an exchange rate to see costs in your currency

How the math works

Cost per request = (input tokens / 1,000,000) x input price + (output tokens / 1,000,000) x output price. Daily = per request x requests per day; monthly = daily x days per month; yearly = monthly x 12. Cache discounts, batch pricing, and free tiers are not included — treat this as the standard-rate baseline and check your provider usage page for the final bill.

Worked example

A mid-tier model at $2 input / $10 output per million tokens: one request with 10,000 input and 2,000 output tokens costs $0.06. At 20 requests a day, 22 days a month, that is $26.40 per month and $316.80 per year.

FAQ

Are the preset prices accurate?

Presets come from the providers official pricing pages and show the date we checked them. Pricing changes often, so confirm on the official page before budgeting — or just type in the rate on your own account.

Why is my real bill different?

Common reasons: cached-input discounts, batch API pricing (often ~50% off), long-context surcharges, and extra tokens from system prompts and tool calls. This calculator gives you the standard-rate baseline.

Do I need an account?

No. Everything runs in your browser and nothing you type is sent anywhere.

Related tools

AI Subscription Cost Calculator, Domain Cost Calculator

Related deals

Pair this tool with our latest verified deals: run your own numbers first, then compare against current subscription and software offers instead of anchoring on list prices.