World of the Developers
All calculators

LLM Cost Calculator

Compare LLM pricing side by side across OpenAI, Anthropic, and Google for your exact usage pattern.

Estimated cost

$187.50/month

Per request

$0.00625

Per day

$6.25

Per year

$2,281.25

Compare across models

ModelProviderPer month
OpenAI$7.50
OpenAI$13.50
OpenAI$24.00
OpenAI$36.00
OpenAI$37.50
OpenAI$37.50
Google$46.50
Google$78.75
Anthropic$105.00
OpenAI$180.00
OpenAI$180.00
Google$180.00
OpenAI$187.50
Anthropic$210.00
OpenAI$225.00
OpenAI$240.00
Google$240.00
Anthropic$315.00
OpenAI$420.00
Anthropic$525.00
Anthropic$525.00
Anthropic$525.00
Anthropic$1,050.00

Usage

$1.25/M in · $0.125/M cached in · $10.00/M out · 400K context

How this is calculated

Providers bill input and output tokens separately, per million tokens (MTok). Cached input tokens — a repeated prompt prefix the provider recognizes — are billed at a discounted rate.

cost = (input_tokens − cached_tokens) × input_rate
     + cached_tokens × cached_rate
     + output_tokens × output_rate

Pricing is verified against provider pricing pages as of 2026-09-01. AI and cloud pricing changes frequently — confirm the current rate on the provider's own pricing page before budgeting.

Frequently asked questions

Which LLM is cheapest?

It depends entirely on your token mix and required quality. Budget-tier models (GPT-5.6 Luna, Gemini Flash-Lite, Claude Haiku) are cheapest per token, but a flagship model may finish a task in fewer, more accurate turns — making it cheaper per completed task.

Should I compare cost per token or cost per task?

Cost per token is easy to compare but misleading on its own. A cheaper model that needs retries or produces longer, less useful output can cost more per completed task than a pricier, more capable one.

Do all providers price input and output tokens the same way?

The mechanism is the same — separate per-token rates for input and output, usually with a cached-input discount — but the actual rates vary widely by provider and model tier, which is what this comparison table shows.

How often does LLM pricing change?

Frequently — new model releases, price cuts, and tiered rates for long-context requests are common. This calculator is checked against provider pricing pages, but always verify before committing to a large-scale budget.