Recall on LongMemEval: accuracy, tokens and latency
Agent memory is worth having when it puts the right facts in front of the model for a fraction of the tokens of the whole conversation, and answers fast enough to sit on every turn. We measured Recall 0.19 on that: how often the answer is right, how many tokens it sends, how long a read takes, and what it takes to write a user's history into memory.
vs 88.0% with the whole history in context
about 22,000 vs 103,839
vs 85.7% with the whole history
4.5 ms for a search
The user-fact questions of LongMemEval_S: 267 of its 500 questions, each asked over about 104,000 tokens of chat history. They ask what the user said, prefers, changed, and when. We left out questions about what the assistant said, questions that combine facts across many sessions, and 44 questions whose answer comes from a session dated after the question was asked. Recall answers as of the question date, so it correctly cannot see those. Claude Sonnet 5.5 extracted the facts, answered every question and judged every answer, for every method.
Accuracy
Every method hands the same model a context and asks it to answer. The two ends of the scale are no memory at all, where the model sees only the question, and the oracle, which is handed only the sessions that contain the answer: the ceiling for any retrieval method.
| Context the model is given | Correct | Tokens per question |
|---|---|---|
| No memory the question alone | 6.0% | 0 |
| The whole history | 88.0% | 103,839 |
| Keyword search BM25, the 10 best-matching sessions | 89.9% | 27,134 |
| Recall | 88.8% | 17,491 |
| Recall with an embedding model | 92.9% | 22,049 |
| Oracle only the sessions with the answer | 96.6% | 5,254 |
267 questions. Tokens are the memory context per question, including the original text each fact came from. "With an embedding model" adds OpenAI text-embedding-3-small to Recall's word search.
Without memory the model gets 6% right, almost all of it questions where the right answer is that nothing was said. Handing it the whole history gets 88.0%. Recall with an embedding model gets 92.9% on a fifth of those tokens, winning 22 questions against the whole history and losing 9 (sign test p = 0.03). Against keyword search it wins 17 and loses 7 (p = 0.06): ahead, but not a significant difference on 267 questions. Recall with word search alone is level with both (88.8%). If you run Recall in production, give it an embedding model.
By kind of question
| Question | Whole history | Keyword search | Recall with embeddings | Oracle |
|---|---|---|---|---|
| Something that changed uses the current address, plan or owner, not the old one |
85.7% | 89.6% | 94.8% | 96.1% |
| When something happened "what did I do two weeks ago?" |
86.7% | 84.4% | 91.1% | 94.4% |
| A fact stated once | 98.6% | 100% | 97.1% | 98.6% |
| Preferences how the user likes things done |
73.3% | 83.3% | 83.3% | 100% |
| Knowing it does not know says so instead of inventing an answer |
100% | 93.3% | 93.3% | 93.3% |
267 questions. The 15 questions that test whether the model knows it does not know are also counted inside their own kind.
Recall is strongest where memory goes wrong in production: facts that changed and questions about time. With the whole history in front of it, a model still picks up an old address or a cancelled plan; Recall gives it the current value with the one it replaced. The largest gap to the ceiling is preferences (83.3% against 100%), where the answer rests on something said once in passing.
Tokens: what memory costs on every turn
The tokens memory adds to each request are a cost an agent pays again on every turn. Recall with an embedding model sends about 22,000 tokens per question, including the original text each fact came from. Sending the whole history is about 104,000.
| Context per question | Tokens | Monthly input cost |
|---|---|---|
| Whole conversation history | 103,839 | $519,195 |
| Keyword search, top 10 sessions | 27,134 | $135,670 |
| Recall with embeddings | 22,049 | $110,245 |
| Recall | 17,491 | $87,455 |
Mean over the 267 questions. Monthly cost assumes 10,000 users each making 200 memory reads a month at $2.50 per million input tokens, and counts only the memory context, not the user's message or the reply.
Change the numbers to see the monthly input cost of the memory context at your own volume:
Latency
Recall runs beside your agent and keeps its memory in your own polign_db, so a read makes no call to a
third-party service. We timed the released recall binary through its Python client:
| Operation | p50 | p95 | p99 |
|---|---|---|---|
| Start the server and connect | 5.6 ms | ||
| Remember a fact | 9.0 ms | 14.0 ms | 18.7 ms |
| Read right after a write | 2.6 ms | 3.3 ms | 3.4 ms |
| Exact recall a known subject and predicate |
0.9 ms | 2.8 ms | 3.5 ms |
| Search recall | 4.5 ms | 11.4 ms | 12.9 ms |
300 rounds on the managed local store that recall setup creates, on a
laptop.
In the benchmark, where each user's store holds a few hundred memories and every result comes back with its source text, a recall with an embedding model took 197 ms at the median, most of it embedding the question through a hosted API, which a local embedding model would avoid.
A write is readable on the very next call, so an agent that records a correction can rely on it in the same conversation. With memory in object storage, the bucket sets the floor:
| Where memory lives | Warm recall | One remember | Read right after a write |
|---|---|---|---|
| S3 Express One Zone, same zone | 18 to 25 ms | 15 to 21 ms | 45 to 71 ms |
| S3 Standard, same region | 48 to 72 ms | 26 to 49 ms | 152 to 273 ms |
| GCS Standard, same region | 82 to 136 ms | 57 to 96 ms | 256 to 547 ms |
Measured September 18, 2026 on a small store, with the server in the bucket's region. Ranges span polign_db's two serving modes.
Writing a user's history into memory
A model has to read new conversation to turn it into facts. Recall sends each session to its extraction model, which sees what memory already holds, files the new facts, and names the ones they replace. Every fact keeps a link to the text it came from. You can also skip extraction: Recall then keeps each turn as a note and searches those.
| Write path | Model calls per user history | Facts per user history |
|---|---|---|
| Facts linked to their source | about 40 | about 285 |
| Notes only, no model | 0 | 0 |
One user history is a LongMemEval_S conversation: about 48 sessions and 490 KB. Extraction by Claude Sonnet 5.5; a history took about four minutes to write. This is paid once per conversation, not on every question. Storage is your own bucket; an idle Recall node costs a few dollars a month.
How we ran it
- Data. LongMemEval_S, cleaned 2025/09 release. The 267 questions are its single-session-user, single-session-preference, knowledge-update and temporal-reasoning questions, minus the 44 whose answer session is dated after the question.
- Model. Claude Sonnet 5.5 for extraction, answering and judging, for every method.
- Recall. Recall 0.19.0 from PyPI with polign_db 0.14.0. Each conversation was
written session by session in date order with its session date, through
remember(text)with the server's own extraction model. Each question asked Recall for 10 results as of the question date, with sources, plus up to 5 of the user's stated likes and interests matching the question. The embedding run read the same extracted facts, re-embedded into a second collection. - Keyword search. BM25 over sessions, top 10.
- Prompts and scoring. LongMemEval's own reader and judge prompts, byte for byte. Significance: two-sided sign test on the questions where the two methods disagree.
- Embeddings. OpenAI text-embedding-3-small at 512 dimensions, fused with word search.
- Latency. 300 rounds per operation through the Python client against the managed local store, on an Apple silicon laptop.
- Reproduce. The harness is in the Recall repository under
eval/longmemeval;uf_server.shruns these methods.
Try it
pip install polign-recall brings Recall and the database it keeps memory in.
Get started saves and corrects a fact in a few minutes, and
Claude Code takes one command.