LLM Monthly Cost Calculator

Turn DAU, requests per user and token sizes into a monthly LLM bill. Compare models on one chart, with prompt caching and multi-turn chat. In-browser.

Runs in your browser

List prices as of 2026-09-02. Caching applies to the prompt prefix only — the way real prompt caches work.

Service type

Replaces the token profile only — your traffic, models and budget stay.

Traffic

Days per month

Request profile

RAG chunks, tool schemas — anything re-sent unchanged every request.
Include reasoning tokens here — they are billed at the output price.
%
Applied to the prefix (system prompt + fixed context) only. Your user’s message is new every time.

Models to compare

Anthropic

OpenAI

Google

Up to 8 models.
Advanced
$
Draws a budget line and works out how many users it covers.
%
Applied to the annual figure only.

Result

for GPT-5.4
Monthly cost
$832.50
Per user, per month
$0.8325
Per request
$0.00925
Yearly
$9,990.00
Requests per month 90,000
Input / output tokens per month 63.0M / 45.0M
GPT-5 mini: $105.75 · Gemini 2.5 Flash: $131.40 · Claude Sonnet 5: $576.00 · GPT-5.4: $832.50✓ GPT-5 mini cheapestNew input · $15.7500Output · $90.0000$105.75Gemini 2.5 Flash New input · $18.9000Output · $112.50$131.40Claude Sonnet 5 New input · $126.00Output · $450.00$576.00GPT-5.4 New input · $157.50Output · $675.00$832.50Monthly cost
New input Cached input Output
Show the numbers
Per user, per monthPer requestNew input / Cached input / OutputNotes
GPT-5 mini cheapest$105.75 $0.1058$0.001175$15.7500 / $0.00 / $90.0000
Gemini 2.5 Flash $131.40 $0.1314$0.00146$18.9000 / $0.00 / $112.50
Claude Sonnet 5 $576.00 $0.5760$0.0064$126.00 / $0.00 / $450.00
GPT-5.4 $832.50 $0.8325$0.00925$157.50 / $0.00 / $675.00

List prices only — free tiers, promotional credits, committed-use and enterprise discounts are not included.

Retries, image and audio input, tool execution, embeddings and vector databases are not modelled. Leave about 20% headroom.

This tool calculates cost only. For speed (tokens/sec, TTFT) and quality see Artificial Analysis. artificialanalysis.ai

What an LLM bill is actually made of

Every request carries four token buckets: the system prompt S, the fixed context C that is re-sent unchanged (tool schemas, retrieved passages, style guides), the user message U and the model’s reply A. The first three are billed at the input price, the reply at the much higher output price.

The monthly bill is then just traffic: DAU × requests per user per day × days in the month × cost per request. Because it is linear in DAU, doubling users doubles the bill exactly — the interesting variation all lives in the per-request number.

That is why this page asks for a token profile rather than a monthly token total: the same 10,000 tokens cost very different amounts depending on whether they sit in a cacheable prefix, in a user message, or in a long generated answer.

Three service shapes, three very different bills

Document summarisation (200-token system prompt, 10,000-token document, 800-token summary, one request per user per day) costs $0.0376 per request on GPT-5.4 and $0.0042 on GPT-5 mini. At 1,000 DAU over 30 days that is $1,129 versus $125 a month at 2026-09-02 list prices.

A RAG assistant (400-token system prompt, 3,000 tokens of retrieved context, 2 turns, 4 sessions per user per day) bills 8,160 input tokens per session and lands at $3,163 a month on GPT-5.4 or $376 on GPT-5 mini — the retrieved context, not the question, is what you are paying for.

A coding agent (2,000-token system prompt, 20,000 tokens of file context, 8 turns, 5 sessions a day) bills 274,300 input tokens in a single session — $69,428 a month on GPT-5.4 at the same 1,000 DAU. Agent workloads are two orders of magnitude above chat, which is why they are usually metered rather than flat-priced.

What prompt caching can and cannot save

A prompt cache matches a prefix, not a set of tokens. Only S + C can hit; the user’s message is new every time and always pays the full input price. This page applies the hit rate to the prefix alone, which is why its savings look smaller — and truer — than calculators that multiply the whole input by the hit rate.

Measured on the built-in profiles: caching saves 24.5% on the chatbot, 22.8% on RAG and 50.9% on the coding agent, where the prefix is 22,000 of the tokens. The rule of thumb is simple — caching is worth configuring when the prefix is large relative to the user’s message.

Caching saves nothing when the prefix is not reused inside the cache TTL — a batch job that processes one document per user and never repeats, for instance. Anthropic also charges 1.25× (5 min) or 2× (1 h) to write the cache, so a prefix used once costs more with caching on than off.

Conversation length is the strongest lever

On the chatbot profile a session costs $0.0076 at one turn, $0.0472 at six, $0.0992 at twelve and $0.1763 at twenty — the billed input grows from 650 tokens to 125,100. Doubling six turns to twelve costs 2.1× as much; going to twenty costs 23× a single turn.

The cause is the quadratic term in N·S + N·U + (U+A)·N(N−1)/2: every turn re-sends the whole transcript. Product decisions such as “start a new chat for a new topic” or “summarise after eight turns” move the bill more than any model swap.

The other levers: output, batch, model tier

  • Output length. Output is priced 4–8× input, so capping max_tokens or asking for a shorter format is often the cheapest change available.
  • Batch API. On the classification profile a request drops from $0.00026 to $0.00013 — exactly half — in exchange for a delayed response. Anything that does not need to answer a waiting user should run this way.
  • Model tier. The same chatbot session is $0.0472 on GPT-5.4 and $0.0059 on GPT-5 mini, an 8× gap. Routing simple turns to the small model and escalating only when needed usually beats prompt micro-optimisation.
  • Fixed context. Trimming 1,000 tokens of boilerplate from the prefix of a service doing a million requests a month saves $2,500 on a $2.50/1M model — before any caching.

Cost per user, and what to charge for it

Cost per user per month does not depend on how many users you have, so it is the number a business case should quote. On the chatbot profile it is $0.36 on GPT-5 mini, $0.52 on Gemini 2.5 Flash and $2.83 on GPT-5.4 — the difference between a $5 subscription with a healthy margin and one that loses money.

Read it the other way for a fixed budget: $1,000 a month on this profile covers about 353 daily users on GPT-5.4, 1,930 on Gemini 2.5 Flash and 2,815 on GPT-5 mini. The budget line on the chart marks that crossing point for every model you selected.

For a free tier, work from the same figure: a 100-message monthly cap on the mini model costs a fraction of a dollar per signup, while the same cap on a frontier model is a marketing budget. Decide the model per tier, not per product.

Common mistakes in LLM cost estimates

  • Multiplying the entire input by the cache hit rate. Only the prefix can hit, so that overstates the saving — often by a factor of two on chat workloads.
  • Estimating a session as one turn. On any multi-turn product this is the single largest source of error, and it is always an under-estimate.
  • Ignoring reasoning tokens. They are billed at the output price and are invisible in the response, so a “short answer” can carry a long hidden completion.
  • Budgeting the average and forgetting the tail. Retries, long documents and abusive sessions sit far above the mean; a per-user token cap costs one afternoon to build and prevents the bill you cannot explain.

How to use

  1. Pick a service type — chatbot, summarisation, RAG, coding agent…
  2. Set your DAU and how many requests each user makes per day.
  3. Choose up to eight models to compare on the chart.
  4. Read the monthly bill, cost per user, and share the link as your estimate.

FAQ

How much does a chatbot with 1,000 daily users cost?

With the built-in chatbot profile — 500-token system prompt, 150 tokens per user turn, 400 per reply, six turns per session, two sessions per user per day — 1,000 DAU is 60,000 sessions a month. That comes to about $355 on GPT-5 mini with prompt caching on ($0.36 per user), $518 on Gemini 2.5 Flash and $2,831 on GPT-5.4. Turning caching off pushes the GPT-5 mini figure to $470.

How is cost per user calculated?

Monthly bill ÷ DAU. The monthly bill itself is DAU × requests per user per day × days in the month × cost of one request, so the per-user figure is simply requests per user per day × days × cost per request — it does not depend on how many users you have. That is why it is the number to quote in a business case: it stays true as you grow.

Why does a longer conversation raise the cost per session so steeply?

Every turn re-sends the whole history, so the input tokens billed in one session grow with the square of the turn count: N·S + N·U + (U+A)·N(N−1)/2. Doubling six turns to twelve does not double the session price — it roughly triples it. The “Conversation turns” chart draws that curve, and the dashed line shows what prompt caching takes back.

How much does prompt caching actually save here?

This calculator applies the cache hit rate to the prefix only — the system prompt plus any fixed context — because that is the part a prompt cache can match. The user’s own message is new every time and is always billed at the full input price. Most calculators multiply the whole input by the hit rate, which under-states the bill. On the chatbot profile the honest saving is about 25%; on the coding-agent profile, where the prefix is 22,000 tokens, it is over 50%.

Where does the Korean won figure come from?

The won line uses the European Central Bank reference rate, fetched read-only in your browser and cached locally — not a fixed rate baked into the page. If the rate cannot be fetched the won line simply disappears and the dollar figures stay. Nothing you type is ever sent anywhere.

What is not included in this estimate?

List prices only: free tiers, promotional credits, committed-use and enterprise discounts are not modelled, and neither are retries, image or audio inputs, the cost of running the tools a model calls, embeddings, vector databases or your own servers. Speed and quality are out of scope too — check Artificial Analysis for those. Treat the result as a floor and add about 20% headroom.

Related tools

More AI & Data tools: AI & Data

Send feedback

Found a bug or have an idea? Tell us — it helps make the tools better.

Only needed if you would like a reply.

Page: /ai/llm-cost-calculator/