TokenTallyTry the calculator
Pricing verified 2026-07-05

What will your AI actually cost per month?

Compare Claude, GPT, and Gemini API costs side by side. Enter your real usage — including prompt caching — and see the number that matters before you build.

Your usage

0%

% of input tokens served from a repeated prefix (system prompt, tools, docs). Only applied where a provider publishes a verified cached-read rate.

Cheapest option
$1.93/mo
DeepSeek V4 Flash
Most expensive
$702/mo
GPT-5.5 Pro
ModelProviderEst. monthly cost
DeepSeek V4 Flash
Najtansza opcja w zestawieniu
DeepSeek$1.93/mo
GPT-5.4 NanoOpenAI$4.80/mo
Gemini 3.1 Flash-LiteGoogle$5.85/mo
DeepSeek V4 ProDeepSeek$6.00/mo
GPT-5.4 MiniOpenAI$17.55/mo
Claude Haiku 4.5Anthropic$21.00/mo
Gemini 3.5 FlashGoogle$35.10/mo
Gemini 2.5 ProGoogle$35.25/mo
Gemini 3.1 Pro
Do 200K tokenow promptu; powyzej 2x cena
Google$46.80/mo
GPT-5.4OpenAI$58.50/mo
Claude Sonnet 5
Cena promocyjna $2/$10 do 31.08.2026
Anthropic$63.00/mo
Claude Opus 4.8Anthropic$105/mo
GPT-5.5
Model flagowy
OpenAI$117/mo
Claude Fable 5
Najbardziej zaawansowany model
Anthropic$210/mo
GPT-5.5 ProOpenAI$702/mo

Pricing verified 2026-07-05. AI API pricing changes often — always confirm current rates on the provider's own pricing page before committing budget.

How AI API pricing actually works

Input vs. output tokens

Every request has two costs: what you send (input) and what the model generates (output). Output tokens are almost always priced 4-6x higher than input — a chatty model can cost far more than its input price suggests.

Prompt caching changes everything

If your requests repeat a large prefix (a system prompt, tool definitions, a document), providers can cache it. A cached read typically costs 10-20% of the normal input price. For agents and chatbots with a stable system prompt, this is usually the single biggest lever on your bill.

Batch processing, if you can wait

For non-interactive workloads (classification, summarization jobs, overnight processing), most providers offer a batch API at roughly half the real-time price — the tradeoff is completion within hours, not seconds.

Prices move faster than you'd think

AI model pricing has changed multiple times within a single year across every major provider. Treat any cost estimate — including this one — as a snapshot, and re-check before locking in a budget for a project that will run for months.

Frequently asked questions

What's the difference between input and output token pricing?+

Input tokens are what you send to the model (your prompt, conversation history, documents). Output tokens are what the model generates back. Output is almost always priced several times higher than input — often 5-8x — because generating text is more computationally expensive than reading it.

How much does prompt caching actually save?+

For providers that support it, a cached input token typically costs 10-20% of the normal input price — some providers go much lower for high-volume caching. If your app resends a large, unchanged prefix (a system prompt, tool definitions, a knowledge base) on every request, caching is usually the single biggest cost lever available.

Is Claude, GPT, or Gemini cheaper?+

It depends entirely on the specific model tier, not the provider name. Each provider offers a range from budget models (well under $1/M tokens) to flagship models ($5-50/M tokens). Use the calculator above with your actual usage numbers — the cheapest model for a simple classification task is rarely the cheapest model for a complex agentic workflow.

Why is DeepSeek so much cheaper than the others?+

DeepSeek's models are priced far below the major US providers, which has made them a common budget option for high-volume, latency-tolerant workloads. As with any pricing comparison, cost isn't the only factor — evaluate quality and reliability for your specific task before switching purely on price.

How often do these prices change?+

Often enough that this page shows a verification date, not a promise. Every major provider has adjusted pricing multiple times within a single year — sometimes lowering it as models get more efficient, sometimes introducing new tiers. Always confirm current rates on the provider's own pricing page before committing a budget for a long-running project.

Coming later, maybe

A Pro tier — if enough people want one

The calculator above stays free, always. If there's real demand, a paid tier could add:

  • More providers (Mistral, Cohere, xAI, local/open-weight cost comparisons)
  • Save and name multiple usage scenarios
  • CSV/JSON export for budgeting docs
  • A simple cost-estimate API for your own scripts

Nothing's built yet — no need to build it before knowing anyone wants it.