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
What is AI API Cost Calculator?+
Estimate the cost of using an AI model API. Enter the input and output tokens per request, the price per million tokens (from your provider’s pricing page) and how many requests you make to see cost per call, per day and per month.
How do I use AI API Cost Calculator?+
Open AI API Cost Calculator on this page, then: 1. Enter your values 2. Calculate Cost 3. Read or copy the result. Everything runs in your browser on a phone or computer.
Is AI API Cost Calculator free to use?+
Yes. AI API Cost Calculator on Toolcloak is free, needs no signup and has no hidden limits.
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.
Also searched as: llm cost calculator · openai api cost calculator · ai api pricing calculator · gpt cost estimator · ai api cost calculator · ai api cost calculator app online

