LLM API Pricing Calculator
By Miikka · CalcBrew · Updated
Select AI model
Usage volume
~750 words
~375 words
Token estimates: Short question ≈ 50 tokens · Long prompt ≈ 500–2000 · Full document ≈ 5,000–20,000 · Short answer ≈ 100–300 · Long explanation ≈ 500–1,500
🟢 GPT-4o — OpenAI
0.750 cents
Cost/request
$22.50
Month (30 days)
$270.00
Year
Pricing: In $2.5/1M · Out $10/1M token
Model comparison with same settings
| Model | Cost/mo | Cost/yr | vs. selected |
|---|---|---|---|
| 🟠 Gemini 1.5 Flash(Google) | $0.67 | $8.10 | 97 % cheaper |
| 🟡 GPT-4o mini(OpenAI) | $1.35 | $16.20 | 94 % cheaper |
| 🔵 Claude 3 Haiku(Anthropic) | $2.63 | $31.50 | 88 % cheaper |
| 🟢 GPT-4o(OpenAI) | $22.50 | $270.00 | ← selected |
| 🔴 Gemini 1.5 Pro(Google) | $26.25 | $315.00 | 17 % more expensive |
| 🟣 Claude 3.5 Sonnet(Anthropic) | $31.50 | $378.00 | 40 % more expensive |
| ⚫ GPT-4 Turbo(OpenAI) | $75.00 | $900.00 | 233 % more expensive |
| 🟤 Claude 3 Opus(Anthropic) | $157.50 | $1890.00 | 600 % more expensive |
Note: Prices are estimates from May 2026 and may change. Always check the latest pricing on the provider's website. Prices are in US dollars (provider list prices).
Token count: 1,000 tokens ≈ 750 English words / ~600 Finnish words.
The AI API cost calculator compares the prices of different language models and estimates how much your API usage will cost. Enter your usage volume to see a cost estimate and compare models such as GPT-4o, Claude and Gemini side by side.
How the calculator works and what it’s for▾
How the cost is formed
Language model pricing is typically based on processed tokens, meaning the amount of text in the input and the response. Different models charge a different price per thousand or million tokens, and input and output often carry different rates.
The calculator multiplies your usage by the model's price and shows an estimated total cost, letting you compare options with the same usage profile.
What you enter and what you get
You provide an estimated usage volume, such as tokens or number of requests, and choose the models to compare. In return you get a cost estimate for each model.
This lets you quickly see which option is cheapest for your particular needs.
Who it is for
The tool serves developers, product teams and entrepreneurs building AI applications who want to budget API costs in advance.
It helps choose a model that sensibly balances price against requirements.
Good to know
Prices and models change frequently, so check current pricing on the provider's pages. The calculator's result is an estimate based on the numbers you enter.
Real cost is also affected by request length, the model version and any additional features.
🔄 Reviewed June 2026
Frequently asked questions
Cite this calculator
CalcBrew. (2026). AI API Cost Calculator. https://calcbrew.com/ai-api-cost-calculator“AI API Cost Calculator.” CalcBrew, 2026, calcbrew.com/ai-api-cost-calculator.Link to https://calcbrew.com/ai-api-cost-calculator. Results are estimates; cite the underlying formula or data source for academic work.
Related tools
More in Business & AI · All calculators