AI API Cost Calculator

AI Tools

Estimate LLM API cost per call and month

FreePrivateInstant
Input tokens per request
Output tokens per request
Input price per 1M tokens ($)
Output price per 1M tokens ($)
Requests per day
USD to INR rate (optional)
Full guide, 6 min readAI tokens and API cost: why the bill depends on the answer length and the chat historyRead the story behind this tool →
Embed this tool on your websiteFree
  1. Choose how tall the frame should be.
  2. Press Copy code.
  3. Paste it into your page, blog, WordPress or Notion HTML block.
Height

The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.

Similar tools you may like

History

All history →

AI API Cost Calculator — at a glance

Plan your AI app budget before you build by estimating what each request and each month will cost.

Input
2,000 in / 500 out tokens
1,000 requests a day
Run
Result
$13.50 per day
$405 per month

How to use it — step by step

Tokens used per request, the provider’s price per million tokens and your daily requests.

1

Enter your values

Fill in the boxes. Sensible example values are already filled in for you.

2

Calculate Cost

Press the button. The answer is worked out instantly on your device.

3

Read or copy the result

See the big answer and the extra details, then press Copy to keep them.

Pro tips

Small things that make the result better.

✦Output tokens usually cost more than input tokens.
✦Use the AI Token Counter to estimate tokens in your prompts.
✦Prompt caching and batch APIs can reduce the real cost.

Quick facts

Per callday, month, year
USD & ₹both shown
Your pricesalways current
Freeno signup

Frequently Asked Questions

Where do I find the price per million tokens?+

On the pricing page of your AI provider. Prices change, so check it before you plan.

Does it include discounts?+

No. Enter the effective price you pay after any discounts.

Is my data safe?+

Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

More Free Tools