Skip to main content
DevFlow AIDevFlow AI
ToolsDocsFavoritesHistorySettings
Star on GitHubContribute

Free & open source

DevFlow AIDevFlow AI
ToolsDocsFavoritesHistorySettings
Star on GitHubContribute

Free & open source

DevFlow AIDevFlow AI
ToolsAPI Cost Calculator

API Cost Calculator

Compare costs across AI providers

Help
Next steps

Configuration

1,000
500
101

Estimated monthly cost

$22.50

100 req/day x 30 days
Pricing service: Static data

AI Cost Advisor

Price comparison

Cheapest: DeepSeek V3
Features
Total 10 items
ModelProviderTotal costValue scoreActions
DeepSeek V3deepseek-v3
🐋DeepSeek
$0.0003Cheapest
0.32Best value
Gemini 2.0 Flashgemini-2-0-flash
🌐Google
$0.0003
0.28
GPT-4o Minigpt-4o-mini
🤖OpenAI
$0.0004
0.18
Llama 3.1 70B (Groq)llama-3-1-70b-groq
⚡Groq
$0.0010
0.09
DeepSeek R1 (Reasoning)deepseek-r1
🐋DeepSeek
$0.0016
0.06
Total 10 items
    1
  • 1
  • 2

Cost Comparison

30-Day Cumulative Cost Projection (Top 5 Models)

* Projection assumes constant daily requests and token counts. Prices may vary by provider.

About this tool

The API Cost Calculator estimates and compares what your AI usage costs across providers like OpenAI, Anthropic, and Google. Enter your token volumes and model choices to see a per-model breakdown and a monthly projection. It helps you pick the most cost-effective model before the bill arrives.

How to use it

  1. Enter your usage. Provide input and output token volumes and how often you call the API.
  2. Pick models to compare. Select the provider models you are considering.
  3. Read the breakdown. See per-request and projected monthly costs side by side.
  4. Optimize. Use the comparison to choose the cheapest model that meets your quality bar.

Frequently asked questions

Is the calculator free?
Yes. It is free and open source, with no login required.
Which providers does it cover?
Major providers including OpenAI, Anthropic, and Google, across common models.
Are the prices current?
Prices are based on published rates and can change. Always confirm against the provider's official pricing before budgeting.
Does it send my data anywhere?
No. Calculations run locally in your browser from the numbers you enter.
Can it project monthly costs?
Yes. Enter your usage pattern to get an estimated monthly cost per model.