AI API Cost Calculator
AI ToolsEstimate LLM API cost per call and month
Embed this tool on your websiteFree
- Choose how tall the frame should be.
- Press Copy code.
- Paste it into your page, blog, WordPress or Notion HTML block.
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.
How to use it — step by step
Tokens used per request, the provider’s price per million tokens and your daily requests.
Enter your values
Fill in the boxes. Sensible example values are already filled in for you.
Calculate Cost
Press the button. The answer is worked out instantly on your device.
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.
Quick facts
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.

