AI Memory Benchmark: 92% Fewer Input Tokens Across 500 Questions, and What It Cost in Accuracy
Contents

92% Fewer Tokens Across 500 Memory Questions
We measured how many tokens a retrieval memory layer saves on a public benchmark, with three token counts and six readers, and what it costs in accuracy.
On LongMemEval-S, a public benchmark of 500 long-term memory questions, HeyBrain cut the input per question by a median of 92.3%, from about 168,000 to 13,000 tokens as billed for Claude Sonnet 5.5. The saving costs some accuracy: 90.0% correct against 95.0% for the full chat history. The test used a benchmark setup, not the live product.
- Median input per question fell from 167,862 to 12,993 tokens with Claude Sonnet 5.5 (92.3% fewer, all 500 questions).
- The share saved was the same with the Claude and OpenAI tokenizers and with all six readers tested.
- Accuracy: 90.0% with HeyBrain vs 95.0% with the full history, a significant 5.0-point gap. Multi-session questions lost the most.
- Savings grow with history: 57% with 5 past sessions, 92% with 50. With two or three sessions, an estimated 4 to 5% more tokens.
- Benchmark setup, not the live product, run by the team that builds HeyBrain.
What does the 92% measure?
It measures input tokens per question: what the model has to read before it answers. In one arm the reader gets the whole chat history, a median of 48 past sessions. In the other it gets the passages HeyBrain retrieves, up to a 40,000-character budget, typically 12 to 13 passages. The reader, prompt template and judge are the same in both arms.
We counted tokens three ways: the OpenAI o200k_base tokenizer on all 500 questions, Anthropic's count_tokens endpoint on 60, and the input usage the API reported in the paid runs. The median saving was 92.2% to 92.3% in every count. The methodology has the details.
| Measurement | Full history | HeyBrain | Saved | Questions |
|---|---|---|---|---|
| o200k_base tokenizer | 103,519 | 7,973 | 92.3% | 500 |
| Anthropic count_tokens | 166,956 | 12,769 | 92.3% | 60 |
| Sonnet 5.5 reader input, API usage | 167,862 | 12,993 | 92.3% | 500 |
| GPT-6.2 reader input, API usage | 103,952 | 8,136 | 92.2% | 48 |
What did it cost in accuracy?
Five points. With Claude Sonnet 5.5 reading all 500 questions, HeyBrain answered 90.0% correctly and the full history 95.0% (-5.0 points, 95% CI -7.6 to -2.6, p < 0.001). Across six current readers, HeyBrain scored 87.8% to 93.2%.
Most of the gap sits in multi-session questions, where the answer combines facts from several past sessions: 80.5% with HeyBrain against 91.0% with the full history. Temporal questions lost 6.0 points. Single-session questions and preferences stayed within 2 points.
Does the saving hold for shorter histories?
It shrinks. On the same 100 questions, the saving was 57% with 5 past sessions, 68% with 10, 83% with 20 and 92% with 50, because HeyBrain's evidence stops growing at about 13,000 tokens while the full history keeps growing. With two or three past sessions, a token model estimates that memory uses 4 to 5% more tokens than the history itself, over a question and three follow-ups. The 92% figure is for long histories.
What does the saving mean for cost?
At uncached list prices, the Sonnet 5.5 reader cost $0.339 per question with the full history and $0.029 with HeyBrain, about one-twelfth. Prompt caching narrows that: when the full prompt is already cached, HeyBrain is about 4 times cheaper on Sonnet 5.5 (75% lower), not 12. Why long AI chats cost more walks through the arithmetic.
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, graded by gpt-4o). Results vary with history length and model. Costs at uncached list prices on 26 Nov 2026; about 4x (75% lower) on Sonnet 5.5 when the prompt is already cached. 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
Does HeyBrain save 92% of tokens for every user?
No. The 92% median comes from LongMemEval-S histories with a median of 48 past sessions. With 5 sessions the saving was 57%, and with two or three short sessions a token model estimates memory uses slightly more tokens than the history. Savings grow with history length, and these are benchmark figures, not the live product.
Is HeyBrain as accurate as the full chat history?
No. With Claude Sonnet 5.5 on all 500 questions, HeyBrain answered 90.0% correctly against 95.0% for the full history, a significant 5-point gap. A larger evidence budget recovers part of it: at 60,000 characters HeyBrain scored 92.4% while still sending 89% fewer tokens than the full history.
How were the tokens counted?
Three ways that agree: the OpenAI o200k_base tokenizer on all 500 questions, Anthropic's count_tokens endpoint on 60 stratified questions, and the input usage the API reported in the paid runs. Absolute counts differ by tokenizer, but the share saved stayed at about 92% in every count.