Why Long AI Chats Cost Up to 12x More, and What Prompt Caching Changes
Contents

Why Long AI Chats Cost Up to 12x More
A chat model keeps no memory between requests, so the conversation is billed again each time. Here is how large that gets, measured.
Long AI chats cost more because models are stateless: each request carries the context the model needs, so the conversation is billed again with every message. In our benchmark setup, not the live product, answering from a full chat history cost 11.3 to 12.5 times more than answering from retrieved passages for five of six readers, at uncached list prices. With the prompt already cached, the gap was about 4 times on Claude Sonnet 5.5.
- Models are stateless: each request carries the context the model needs. Anthropic's documentation says Claude Code sends the full conversation with every request.
- On 500 benchmark questions, a full history cost $0.340 per question with Claude Sonnet 5.5 and retrieved passages $0.030, about one-twelfth, at uncached list prices.
- With the full prompt already cached, retrieved passages were about 4 times cheaper on Sonnet 5.5 (75% lower), not 12.
- For five of six readers the uncached gap was 11.3 to 12.5 times; Claude Haiku 5.5 reached 57 times because of its higher rate above 100,000 input tokens.
- Retrieval scored 90.0% vs 95.0% for the full history, and shorter histories save less.
Why does a long chat cost more with every message?
Because the model does not remember the conversation between requests. Each request has to carry the context, so every new message re-sends what came before. Anthropic's documentation states that "Claude Code sends your full conversation with every request", and OpenAI describes the same property for the Codex agent loop. As a chat grows, so does the input billed on each turn.
How much more does the full history cost?
We measured it on LongMemEval-S, a public benchmark of 500 questions over chat histories with a median of 48 past sessions. With Claude Sonnet 5.5 as the reader, the full history came to a median of about 168,000 input tokens per question and cost $0.340 per question; HeyBrain's retrieved passages, about 13,000 tokens, cost $0.030. That is about one-twelfth, at uncached list prices on 26 November 2026. The methodology has the setup.
| Reader | Full history | HeyBrain |
|---|---|---|
| Claude Fable 5.2 | $1.359 | $0.120 |
| Claude Opus 5.5 | $0.680 | $0.060 |
| GPT-6.2 Astra | $0.835 | $0.067 |
| Claude Sonnet 5.5 | $0.340 | $0.030 |
| GPT-6.2 Sol | $0.209 | $0.017 |
| Claude Haiku 5.5 | $0.085 | $0.0015 |
What changes with prompt caching?
Caching narrows the gap a lot. Both vendors bill cached input far below the normal rate, and caching discounts the full history more than retrieval, because the long history is the part that repeats. With the whole prompt already cached, HeyBrain is about 4 times cheaper on Sonnet 5.5 (75% lower) rather than 12. In a conversation that continues with follow-up questions, it is 5 to 10 times cheaper. These cached figures are priced from the measured token counts, not billed runs.
When does retrieval not save much?
When the history is short. The saving is the gap between the history and the evidence retrieved, so it shrinks with fewer past sessions: on the same 100 questions the cost advantage was 2.0 times with 5 past sessions, 3.1 with 10, 5.3 with 20 and 11.3 with 50. With two or three short sessions, a token model estimates that memory uses 4 to 5% more tokens than keeping the history, over a question and three follow-ups.
Retrieval also trades accuracy: with Sonnet 5.5 it answered 90.0% correctly against 95.0% for the full history. If cost per question is the goal, measure answer quality alongside it. The token cost calculator lets you set your own context size and price.
About these numbers
HeyBrain benchmark tests, Nov 2026, not the live product, vs sending the full chat history. Accuracy 90% vs 95% (Claude Sonnet 5.5, all 500 LongMemEval-S questions). Up to 12x is 11.3x to 12.5x at uncached list prices on 26 Nov 2026 for five of six readers; about 4x (75% lower) on Sonnet 5.5 when the prompt is already cached. 57x applies to Claude Haiku 5.5 only. Results vary with history length and model. HeyBrain's Ask feature can send evidence to the model more than once per answer: in a 40-question staging run it used about 48,000 to 50,000 input tokens per answer.
The study was designed and run by the team that builds HeyBrain. Full study and methodology.
Frequently asked questions
Why do AI chats get more expensive as they get longer?
Each request re-sends the conversation so far, because the model keeps no memory between requests. Input tokens grow with the history, and so does the bill. In our benchmark a full chat history of about 168,000 tokens cost about 12 times more per question than 13,000 tokens of retrieved passages, uncached.
Does prompt caching solve the cost of long chats?
It helps a lot but does not close the gap. With the full prompt already cached, answering from the whole history still cost about 4 times more than retrieved passages on Claude Sonnet 5.5 in our benchmark. Caching discounts repeated input, and a long history is mostly repeated input.
How can I estimate my own token cost?
Multiply the context you send per request by how many requests you make and your model's input price, then compare with a smaller share. HeyBrain's token cost calculator does this with your own numbers. Its 8% default is a benchmark figure, not a promise for your workload.