Worked examples
1,000,000 requests, 0.4 per 1,000, 100,000 free
360 (900,000 billable, 0.36 per 1,000)
80,000 requests, base fee 10
10 (inside the free tier)
Budget 500, price 0.4, 100,000 free
about 1,350,000 requests (1,250,000 billable)
How to use it
- Choose cost or budget.
- Enter requests (or budget) and the price per 1,000.
- Read the cost and capacity.
What this calculates
An API bill is billable requests divided by 1,000 times the price, plus a base fee. With 1,000,000 requests at 0.4 per 1,000 and 100,000 free, 900,000 are billable and cost 360. With 80,000 requests the free tier covers all and you pay only the base fee, here 10. A budget of 500 covers about 1,350,000 requests. It helps forecast what an ordering or booking site pays for external services.
The formulas
- Total requests = requests × (1 + retry rate)
- Cost = max(0, total − free) ÷ 1,000 × price + base fee
- Budget mode: requests = ((budget − base) ÷ price × 1,000 + free) ÷ (1 + retry rate)
Reference table
| Requests | Cost |
|---|---|
| 100,000 | 0 |
| 500,000 | 160 |
| 1,000,000 | 360 |
| 5,000,000 | 1,960 |
| 10,000,000 | 3,960 |
Good to know
- For tiered pricing, compute an average price and enter it.
- Add servers and storage with the cloud bill calculator.
Frequently asked questions
Where do I find the price?
On the provider official pricing page.
Why a retry rate?
Re-sent requests are billed again.
Token pricing?
Use the AI token cost calculator.
No free tier?
Enter 0 or leave blank.
Currency?
The result is in the currency of the price.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.