December 2026 reference list pricing

LLM API & context caching cost calculator

Work out what your prompts actually cost per month. Enter your request volume, token counts and cache hit rate once, then compare eleven models — Anthropic, Google, OpenAI and DeepSeek — side by side, including peak and off-peak pricing.

  • Eleven reference models plus an editable custom row
  • Context caching, batch pricing and DeepSeek off-peak modelled
  • Sorted monthly table with cost bars, CSV export and shareable links

Monthly cost calculator

Pick a preset or type your own numbers. Everything below recalculates instantly and stays on your device.

Load a preset:
5,000

Completed API calls per day, including retries.

4,000

System prompt, context and history you send.

50%

Share of input tokens served from a warm cache.

500

Generated answer length. Output usually costs 5x input.

30

22 for business tools, 30 for always-on traffic.

Estimated monthly cost per model for the current workload
Model Input /1M Cached /1M Output /1M Monthly Relative cost vs highest
Claude Haiku 5.5Anthropic $0.1 $0.01 $0.5 $70.50 -99%
DeepSeek V4.1 FlashDeepSeek $0.3 $0.006 $1.2 $181.80 -97%
Custom ModelYour numbers $1.00 $0.1 $2.00 $480.00 -93%
Gemini 3.8 FlashGoogle $0.75 $0.075 $3.75 $528.75 -93%
DeepSeek V4 ProDeepSeek $1.32 $0.044 $3.96 $706.20 -90%
Claude Sonnet 5.5Anthropic $2.00 $0.1 $10.00 $1,380 -80%
Gemini 4 NeonGoogle $2.00 $0.1 $10.00 $1,380 -80%
GPT-6.1 SolOpenAI $2.00 $0.1 $10.00 $1,380 -80%
GPT-4o (Legacy)OpenAI $2.5 $1.25 $10.00 $1,875 -73%
Gemini 4 CarbonGoogle $3.00 $0.15 $15.00 $2,070 -71%
Claude Opus 5.5Anthropic $4.00 $0.2 $20.00 $2,760 -61%
GPT-6.2 AstraOpenAI $10.00 $1.00 $50.00 $7,050 baseline

Sorted cheapest first. Bars are scaled to the most expensive model at your current inputs.

How LLM API pricing works in 2026

Every provider on this page sells tokens in three flavours. Fresh input is new text the model reads for the first time. Cached input is text it has already seen inside a warm cache window. Output is what it writes back. The three are priced completely differently — output is typically five times the input rate, and cached input is typically 5% of it — so two models with the same headline input price can produce very different bills.

That is why this calculator asks for your workload rather than showing a static rate table. A price list tells you dollars per million tokens; it does not tell you whether a 3x cheaper model will actually save you money once your prompt length, cache hit rate and answer length are taken into account. The number that matters is the monthly total, and it depends on all five sliders.

How to use the calculator

Five numbers drive the entire result, and each one maps to something you can measure in your own application.

  1. Requests per day — the number of completed API calls, not the number of users. If one user action triggers three calls (retrieval, generation, validation), enter three.
  2. Input tokens per request — everything you send: system prompt, retrieved context, conversation history and tool results. This is usually far larger than people estimate; paste a real request into a tokenizer once and check.
  3. Context cache hit rate — the share of those input tokens served from a warm prefix cache. 0% means every token bills at the full input rate; 95% is the practical ceiling.
  4. Output tokens per request — the generated answer. Remember that output usually costs five times the input rate, so a verbose answer is the most expensive thing on the bill.
  5. Active days per month — use 22 for a business-hours internal tool, 26 for a weekday developer product, and 30 for always-on customer traffic.

Press a preset (Coding agent, RAG Q&A, Customer support, Summarization) to load a realistic starting point, then adjust from there. The results table recomputes on every keystroke and sorts models from cheapest to most expensive, so the ranking is always visible.

Context caching math explained

Every model on this site has three prices: a fresh input rate, a cached input rate and an output rate. The calculator splits your input tokens into two buckets before pricing them:

cached_tokens = input_tokens x hit_rate
fresh_tokens  = input_tokens - cached_tokens

input_cost  = fresh_tokens  x input_price  / 1,000,000
cache_cost  = cached_tokens x cached_price / 1,000,000
output_cost = output_tokens x output_price / 1,000,000

per_request = (input_cost + cache_cost + output_cost) x batch_multiplier
monthly     = per_request x requests_per_day x active_days

The lever that surprises people is the cache ratio — the cached price divided by the input price. At a 5% ratio (Anthropic, Google frontier tiers, GPT-6.1 Sol) a cache hit costs 5% of a normal token, so at a 90% hit rate the whole input line drops to roughly 14% of its uncached cost. At a 50% ratio (legacy GPT-4o) the same hit only saves half. At DeepSeek's ~2% ratio, caching is close to free.

Caching is not free money, though. Providers apply it only to an unchanged leading prefix. Putting a timestamp, a username or freshly retrieved chunks at the start of your prompt means every request is a cache miss, and you pay full input price while believing you are optimised. Put the stable block first, volatile content second, and keep cache windows in mind — a hit rate measured in a test harness is usually an upper bound on production reality.

DeepSeek peak vs off-peak pricing

DeepSeek is the only provider in this reference list that prices by time of day. Both V4 tiers charge their full rate during peak hours and exactly half during the off-peak window: V4 Pro moves from $1.32/$0.044/$3.96 to $0.66/$0.022/$1.98, and V4.1 Flash moves from $0.30/$0.006/$1.20 to $0.15/$0.003/$0.60.

That is a straightforward 50% multiplier — which makes it the easiest win available to any pipeline that is not latency-sensitive. An overnight extraction job scheduled inside the window costs half of the same job run at noon, with no quality change and no code change beyond a cron schedule. The toggle in the calculator applies the discount to the two DeepSeek rows only, so you can see both scenarios without leaving the page.

Two cautions. First, a 50% discount on a $40 bill is $20 — real, but not worth an engineering project. Second, if your traffic runs around the clock, you get a blended discount closer to 20-30%, not 50%. Model the scheduled portion and the always-on portion as two separate runs and add the totals. DeepSeek's cached tier is also the lowest ratio in this list at roughly 2% of input, so peak-versus-off-peak is not the only reason its numbers look unusual.

Why the batch toggle halves the bill

Batch pricing is the simplest discount in the industry: submit asynchronous work, accept a longer turnaround, and pay 50% less on every token class. This calculator applies it as a flat multiplier after the cache calculation, so it stacks multiplicatively with whatever caching already saved you.

Which workloads qualify? Anything a human is not waiting on: overnight summarization, bulk extraction, embedding backfills, evaluation runs, dataset labelling, weekly report generation. Which do not? Interactive chat, live coding assistance, voice agents and anything a user perceives as real time. A useful rule: if you can put it on a queue and a five-minute delay is acceptable to the product, batching is available to you.

The strategic point is that batching changes absolute cost, never the ranking. Halving every model equally means the cheapest model stays cheapest, so if you are choosing a tier on price alone, decide that first and then apply the batch toggle to size the saving.

Choosing a tier without overpaying

The most expensive mistake in LLM budgeting is not picking the wrong vendor — it is running a frontier model on every request when only 10% of requests need one. A two-tier architecture with a cheap classifier in front of an expensive reasoner typically cuts spend by 60-80% with no measurable quality change, because most traffic is routine.

Start by separating your traffic into three buckets. Deterministic work (extraction, classification, tagging, routing) belongs on the cheapest tier that passes your evaluation. Compositional work (summaries, drafts, retrieval answers) needs a mid tier. Decisional work (architecture, debugging, compliance language, anything where a wrong answer has a real cost) justifies the frontier price.

Then check the cache story. If your prompts are long and stable, a model with a strong cache ratio can beat a nominally cheaper model once the hit rate rises. Sort the table at a 0% hit rate, note the order, then sort again at 90% — any reordering is a sign that your prompt architecture, not your vendor choice, is the real decision.

Finally, resist the urge to optimise below the noise floor. At $200 a month, halving the bill is worth an afternoon, not a migration project. At $20,000 a month, a 30% reduction is a headcount and it deserves an evaluation harness, a router and a rollback plan.

Frequently asked questions

How much does an LLM API actually cost per 1,000 requests?

It depends on tokens per request, not on the request count. Take a 4,000-token prompt with 500 output tokens: on a mid tier at $2.00 input and $10.00 output, one request costs about $0.013, so 1,000 requests cost roughly $13. On a budget tier at $0.10/$0.50 the same 1,000 requests cost about $0.65 — a 20x spread for identical traffic.

Why is my monthly bill higher than the rate card suggests?

Three usual causes: retries (each retry is a full-price request), context growth (agent loops resend the entire conversation every step), and cache misses (a system prompt edited weekly never stays cached). The calculator models the first two through request counts and the third through the cache hit rate.

Does context caching really cut costs in half?

On input-heavy workloads with a stable prompt, yes — and often more. At a 90% hit rate with a 5% cache ratio, the input line falls to about 14% of its uncached price. On output-heavy workloads it matters far less, because output is never cached and usually costs 5x the input rate.

Is a cheaper model always the right call at high volume?

Only if answer quality holds. A model that needs 1.5 attempts where another needs one erases a 30% price advantage. Budget tiers are safest for extraction, classification, routing and summarization, and riskiest for customer-facing text and multi-step reasoning.

What is the DeepSeek off-peak discount and when does it apply?

DeepSeek bills 50% less during its off-peak window on every token class — input, cached input and output. Both V4 tiers use the same mechanic. The toggle on this site models it explicitly, so you can compare a 24/7 blended traffic pattern against a fully scheduled overnight pipeline.

Every page on TokenCostCalc

Thirty hand-built pages: one main calculator, twelve head-to-head model comparisons, eight real-world workload guides and five pricing hubs.