AI Toolkit · calculator
AI API Cost Calculator
Combine separate input and output token rates without hard-coded provider prices or invented credit conversions.
UNDERSTAND THE RESULT
Your result will appear here.
Enter the assumptions you want to examine, then calculate. We will show the result, the arithmetic and its limits.
HOW WE CALCULATED THIS
The formula stays visible.
Each result uses only the values you enter. The calculator does not add hidden assumptions.
- Input cost
- (Input tokens per request × requests ÷ 1,000,000) × input price
- Output cost
- (Output tokens per request × requests ÷ 1,000,000) × output price
- Total workload cost
- Input cost + output cost
UNDERSTAND BEFORE YOU DECIDE
What the number can—and cannot—tell you.
Exact for the entered assumptions
The arithmetic is exact for the token quantities, request count and prices entered. Actual usage may vary across requests.
Provider billing may include more
Caching, batch rates, tools, storage, media, minimum charges, taxes or other product features may be billed differently. Check the provider's current pricing and usage records.
This provider-neutral estimate uses only your inputs. It does not define credits or include charges you did not enter.