AI Token & API Cost Calculator
A plain arithmetic calculator for estimating AI API costs from input/output token counts and editable per-model pricing. It never calls any AI service.
Runs locally in your browser
Cost per request
$0.000585
Per day
$2.93
Per month
$87.75
Per 1,000 requests
$0.5850
Enter per-million-token prices from your provider. Monthly figure assumes 30 days at a steady request rate.
What is the AI Token & API Cost Calculator?
This is a normal arithmetic calculator for estimating API costs. You enter token counts and per-million-token prices you control. It does not connect to, call, or integrate any AI service.
How to use it
- 1Enter or edit the input and output price per million tokens.
- 2Enter your input and output token counts.
- 3Optionally set requests per day.
- 4Read the per-request and projected costs.
How it works
Cost = (input tokens / 1,000,000 × input price) + (output tokens / 1,000,000 × output price). Daily and monthly projections multiply by your request volume.
Limitations & notes
- Prices are whatever you enter — keep them current with your provider.
- Does not account for caching, batching discounts or free tiers.
No directly related discussion yet.
Start a focused thread and share the question this tool helped you explore.
Ask the community about AI Token & API Cost Calculator