Contact, if you are interested in this website/domain name/Sponsorship/Advertisement/Partnership

AI API Token Cost Calculator

✔ Reviewed by the 67858.com editorial teamUpdated October 27, 2026Methodology

Monthly cost of an AI feature from requests, tokens and per-million pricing.

Prompt + context
$
From your provider
$

Get a free plan →
Quick answer: AI providers price per million tokens, usually with output tokens costing several times more than input. Long prompts and verbose outputs are the two main cost drivers.

How to use the AI API Token Cost Calculator

  1. Enter your figures in the fields above — results update instantly as you type.
  2. Choose your currency symbol (the maths is the same in any currency).
  3. Use Share result to save a link that reloads your exact inputs, or Print for your records.
  4. Compare scenarios by changing one input at a time and noting how the main result moves.

Formula

Cost/request = Input tokens × Input price/1M + Output tokens × Output price/1M Monthly = Cost/request × Requests/day × 30

Worked example

1,000 requests a day with 800 input and 400 output tokens at 3 and 15 per million costs 0.0084 per request, about 252 a month.

Frequently asked questions

How do I cut costs?

Trim system prompts, cache repeated context where your provider supports it, cap output length and route simple tasks to smaller models.

What is a token?

Roughly ¾ of an English word on average; exact counts depend on the model's tokenizer.

Learn more

Assumptions & limits

Results are estimates based on the inputs you provide and the formula shown, rounded for display. They do not account for every fee, tax rule or market condition. This tool is educational and is not financial, tax or legal advice — confirm important decisions with a qualified professional.

Was this calculator helpful?

Related calculators

📈 Get my free growth plan