Free AI SaaS planning tool
AI API Cost Calculator for OpenAI, Claude & Gemini
If 1,000 users use your AI feature, what will the monthly API bill and profit margin look like? Model real users, requests, tokens, pricing and overhead before you ship.
- No signup
- Runs in your browser
- Official pricing sources
- Custom rate override
Usage and unit economics
Turn token pricing into a product decision.
Start with an editable example, select a model, then add your actual product usage and non-AI costs. The result is a planning estimate, not a billing guarantee.
Monthly product estimate
Calculated from your workload and selected token rates.
Add a subscription price to see margin.
Same workload, this provider
Token API cost only; output quality, latency, context rules and provider features are not ranked.
| Model | Monthly API cost | Per request |
|---|
Formulas and limits
Useful planning, without fake precision.
The calculator separates uncached input, cached input and output tokens, then combines them with your pricing and overhead. It does not pretend a cheaper model is automatically the best model.
How is monthly AI API cost calculated?
users × requests × tokens ÷ 1,000,000 × model rate. Uncached input, cached input and output are priced separately. The optional extra cost per request covers items such as search or paid provider tools.
Are these OpenAI, Claude and Gemini prices live?
No. Presets were verified on November 10, 2026 using the official OpenAI, Anthropic and Google pricing pages. Use custom rates if a provider changes them.
What does profit margin include?
Revenue minus token cost, optional extra metered cost, other variable cost per user and fixed monthly cost. It is a gross planning margin, not audited profit or accounting advice.
Why can cached input cost less?
Providers can charge a lower read rate when repeated prompt content qualifies for caching. Eligibility and write/storage charges differ by provider, so enter a realistic cache percentage or leave it at zero.
Does the calculator store my numbers?
No. It is client-side only. Your usage, pricing and margin assumptions stay in the browser.
Start a project
Start Your SaaS or AI Project
Have a product, integration or difficult technical problem? Send the details and I’ll reply directly.
Direct contact
