All guides
Planning

What a Customer-Support Chatbot Costs per Conversation and per User

Token-by-token cost model of an 8-turn support chat with retrieved context, priced per conversation and per 1,000 users on six models, with caching and history trimming.

An 8-turn support conversation with retrieved help-center context costs about $0.0014 on DeepSeek V4.1 Flash, $0.028 on GPT-6.1 Terra and $0.057 on Claude Sonnet 5.5 at list prices, with no optimization. At 1,000 users who each hold three conversations a month, that is $4 to $170 a month depending on the model. This guide builds the conversation turn by turn, so you can see where the tokens go and which changes are worth making.

Prices are per 1 million tokens, as of November 25, 2026, from the data on this site. The token counts are our assumptions, labeled as such. Replace them with numbers from your own logs.

Why a chat costs more than its messages

A customer types 60 tokens and the bot answers in 150. If you counted only that, the bill would be tiny. But the model API is stateless, so every turn sends the whole prompt again: the system prompt, the conversation so far, any retrieved knowledge, and the new message. The output is the small part. The input is where the money goes, and it grows with every turn.

The conversation we model

Assumptions:

  • System prompt (tone, policies, escalation rules): 800 tokens
  • Retrieved context per turn: 1,200 tokens (a few help-center passages fetched for the current question, added to that turn only and not stored in history)
  • User message: 60 tokens
  • Assistant reply: 150 tokens
  • Conversation length: 8 turns

The input on turn t is: 800 (system) + 210 × (t − 1) (prior user and assistant messages) + 1,200 (retrieved) + 60 (new message).

TurnInput tokensOutput tokens
12,060150
22,270150
32,480150
42,690150
52,900150
63,110150
73,320150
83,530150
Total22,3601,200

The conversation sends 22,360 input tokens to produce 1,200 output tokens, a ratio of about 19 to 1. Where the input comes from:

ComponentTokensShare
System prompt, resent each turn6,40028.6%
Retrieved context9,60042.9%
Re-sent history5,88026.3%
New user messages4802.1%

The part the customer actually types is 2% of the input. Retrieval is the largest block, which is why how many passages you fetch is one of your biggest cost decisions. Re-sent history is a quarter of the input at 8 turns, and it gets larger as chats get longer.

Cost per conversation on six models

We use two models per tier. Tier labels are from our data. ECI is the capability index on /benchmarks: a general score, not a measure of support quality, so evaluate on your own transcripts.

TierModelInput / output per 1MECIPer conversationPer 1,000 conversations
BudgetDeepSeek V4.1 Flash$0.051 / $0.203157.0$0.00138$1.38
BudgetGPT-6 Luna$0.10 / $0.50156.4$0.00284$2.84
StandardGPT-6.1 Terra$1 / $5167.7$0.0284$28.36
StandardClaude Sonnet 5.5$2 / $10166.6$0.0567$56.72
PremiumClaude Opus 5$5 / $25164.7$0.1418$141.80
PremiumGPT-6.2 Astra$8 / $40172.8$0.2269$226.88

On Sonnet 5.5, output is 21% of the conversation's cost. The rest is input, which is why the optimizations below all target input.

A single turn is cheaper than the average suggests early and dearer later: on Sonnet 5.5, turn 1 costs $0.0056 and turn 8 costs $0.0086.

Cost per user and per month

A conversation count needs a users-to-conversations assumption. We assume each active user holds 3 conversations a month, 8 turns each. Your number may be well above or below that, so scale linearly.

Monthly cost with no optimization:

Model1,000 users10,000 users100,000 users
DeepSeek V4.1 Flash$4.15$42$415
GPT-6 Luna$8.51$85$851
GPT-6.1 Terra$85.08$851$8,508
Claude Sonnet 5.5$170.16$1,702$17,016
Claude Opus 5$425.40$4,254$42,540
GPT-6.2 Astra$680.64$6,806$68,064

You can reproduce any row in the calculator: set input to the average input per turn (22,360 / 8 = 2,795), output to 150 and the request count to your monthly turns (1,000 users × 3 conversations × 8 turns = 24,000).

The budget-to-premium range is about 160 times, on the same conversation. For most support questions, which are lookups against your own policies, the retrieved context carries the answer and a smaller model is often adequate. That is a hypothesis to test, not a given, so run a sample of real transcripts through the two or three cheapest candidates and have someone grade them.

Lever 1: prompt caching

Every turn starts with the same system prompt, and from turn 2 the same history as the previous turn. If you put the retrieved context after the history, so the prefix stays identical, prompt caching can bill all of that at the cache-read rate. In our model:

  • The system prompt is cached on every turn, since it is shared across all conversations and stays warm under traffic.
  • From turn 2, the history is cached too.
  • The retrieved context and the new message are billed at the full input price.

That puts 12,280 of the 22,360 input tokens (55%) at the cache rate. Assumptions: a 100% hit rate on the cacheable prefix, no cache-write premium, and that your prompt prefix meets the provider's minimum cacheable length. Providers vary on all three, so confirm the details in their docs.

ModelNo cacheCachedSaving
DeepSeek V4.1 Flash$0.00138$0.0007744%
GPT-6 Luna$0.00284$0.0017339%
GPT-6.1 Terra$0.0284$0.016741%
Claude Sonnet 5.5$0.0567$0.033441%
Claude Opus 5$0.1418$0.086539%
GPT-6.2 Astra$0.2269$0.133641%

The saving is about 40% for all of them, much less than the 67% in the agent example, because retrieval changes each turn and cannot be cached. If your retrieval puts passages before the history, the cache breaks at that point and almost nothing is saved, so ordering matters. Put stable content first and volatile content last.

At 10,000 users a month on Sonnet 5.5, caching moves the bill from $1,702 to $1,002. See /cache-savings to try other hit rates.

Lever 2: trimming history

The alternative is to stop resending old turns. We model a sliding window that keeps only the last 3 exchanges (6 messages).

ModelNo trimTrim to 3 exchangesSaving
Claude Sonnet 5.5, 8 turns$0.0567$0.05257%
Claude Sonnet 5.5, 16 turns$0.1403$0.107623%
Claude Sonnet 5.5, 24 turns$0.2508$0.162635%

At 8 turns, trimming barely matters, since only the last 4 turns are affected. It starts paying off once chats run long. Most support chats are short, so check your own turn-count distribution before building anything.

Trimming also costs something that does not show up in the bill. A model that no longer sees the customer's first message may ask for their order number again.

Do the two levers stack?

Not as well as you would expect. A sliding window changes the start of the history on every turn once it is full, and the cache needs an identical prefix. After the window fills, only the system prompt stays cacheable. Sonnet 5.5, all four combinations:

TurnsNo changeCache onlyTrim onlyTrim + cache
8$0.0567$0.0334$0.0525$0.0380
16$0.1403$0.0681$0.1076$0.0808
24$0.2508$0.1042$0.1626$0.1237

With a sliding window, caching alone beats trimming plus caching at every length we tested, and the gap widens with length. If you need to bound history on very long chats, trim in infrequent chunks or replace old turns with a single summary: that breaks the cache once, rather than every turn. We have not modeled summarization because its cost depends on how you run it.

Lever 3: retrieve less

Retrieved context is 43% of input, and it is the one piece you can cut without touching conversation design. Going from 1,200 to 600 retrieved tokens per turn takes 4,800 tokens out of the 22,360 (21%) in this conversation, and those tokens are uncached under the setup above. Fewer, better-ranked passages usually help answer quality too, but test that against your own knowledge base.

How to decide

  1. Log real conversations. Get the median and 90th-percentile turn count, average retrieved tokens and average reply length. These replace our assumptions.
  2. Put the numbers in the calculator. Use /calculator and compare shortlisted models on /compare or /cheapest.
  3. Start from the cheapest model that passes your own test set, not the one with the best benchmark score.
  4. Order the prompt for caching: system prompt, tools, history, then retrieval, then the new message.
  5. Budget with the long tail. A chat that runs 24 turns costs 4.4 times an 8-turn one on Sonnet 5.5 without caching ($0.2508 against $0.0567).
  6. Check limits. At 100,000 users, concurrency and tokens per minute can matter before cost does; see /rate-limits.

For wider cost levers, read how to cut LLM API costs and estimating costs before you build. Methodology notes are on /methodology.