---
title: "Caura Scores 92.2% on LongMemEval"
description: "Caura answered 461 of 500 LongMemEval_S questions correctly (92.2%) under the benchmark's GPT-4o reference judge."
published: 2026-09-15
source: https://caura.ai/blog/caura-longmemeval/
---

**461 / 500** under GPT-4o, **451 / 500** under Gemini 3.5 Flash-Lite. One configuration, no dataset labels, Gemini 3.8 Flash answering, 22,410 tokens median context.

Everything behind the number is public: the harness, the saved reader context for every question, every judge's per-question verdicts, and the scripts that produce the tables below are in [caura-ai/caura-longmemeval](https://github.com/caura-ai/caura-longmemeval) (see REPRODUCE.md for the exact commands and server version).

This post explains what the benchmark measures, how the run is set up, what the answering model was given, what we deliberately did not do, and where the remaining errors are.

## What LongMemEval measures

LongMemEval (Wu et al., ICLR 2025) tests whether an assistant can remember things a user told it across a long history of chat sessions. Each of the 500 questions comes with a haystack of roughly 50 sessions, about 115,000 tokens of conversation as the paper counts them (nearer 108,000 under the Gemini tokenizer this run uses), and a question asked at a later date. The answer is somewhere in the haystack, often in one sentence, sometimes spread across several sessions months apart.

> **Figure.** A row of about fifty chat sessions along a timeline. Two sessions are highlighted, each containing one sentence that carries the answer. A question is asked months later. — Each question comes with its own haystack of about 50 sessions. The answer is often one sentence, and for multi-session questions it is several sentences months apart. Thirty of the 500 questions have no answer in the history at all.

The six question types are the ones that matter for a real assistant:

- **single-session user**: a fact the user stated once ("What breed is my dog?");

- **single-session assistant**: something the assistant said earlier and the user now refers back to;

- **multi-session**: information that has to be assembled from several conversations ("How many charity events have I done this year?");

- **temporal reasoning**: questions whose answer depends on when things happened ("How long after I moved did I start the new job?");

- **knowledge update**: a fact that changed, where the current value is the right answer and the old one is a trap;

- **preference**: recommendations that should reflect what the user has told you about themselves.

Thirty of the 500 questions have no answer in the history. The correct response to those is to say so.

A memory system's job here is to store the history and, at question time, hand the answering model the right evidence. The score is a joint property of the memory system and the answering model, which is why the choice of model and judge has to be stated with every number, and why we report the token budget the answering model was given next to the accuracy.

## The result

|   | correct | accuracy |
| --- | --- | --- |
| Overall, GPT-4o judge | 461 / 500 | 92.2% |
| Overall, Gemini 3.5 Flash-Lite judge | 451 / 500 | 90.2% |
| single-session user | 66 / 70 | 94.3% |
| single-session assistant | 55 / 56 | 98.2% |
| multi-session | 119 / 133 | 89.5% |
| temporal reasoning | 121 / 133 | 91.0% |
| knowledge update | 76 / 78 | 97.4% |
| preference | 24 / 30 | 80.0% |

Per-category numbers are GPT-4o verdicts. Answering model: Gemini 3.8 Flash. Judge prompts: the official LongMemEval task-specific prompts, byte-identical to evaluate_qa.py. Abstention questions judged with the official abstention prompt; 28 of 30 are correct.

> **Figure.** Horizontal bar chart of accuracy by question type. Single-session assistant 98.2%, knowledge update 97.4%, single-session user 94.3%, temporal reasoning 91.0%, multi-session 89.5%, preference 80.0%. A dashed line marks the overall 92.2%. — All six categories with one retrieval configuration and no question-type labels. Preference, the rubric-graded category, is where the two judges disagree most; see below.

One baseline frames the number. An oracle run, in which the same answering pipeline is handed exactly the sessions that contain the answer and nothing else, scores 94.6% under GPT-4o (92.8% Flash-Lite); that is the reader's ceiling with perfect retrieval, and the 2.4-point gap to it is what retrieval costs.

> **Figure.** Dot plot of two rows under two judges. This run: 90.2% Flash-Lite, 92.2% GPT-4o. Oracle with gold sessions only: 92.8% and 94.6%. The gap from the registered reference result to 94.6% is marked as what retrieval costs. — Same answering pipeline in both rows. The oracle skips retrieval entirely and is the reader's ceiling.

## How the run is set up: store the turn, read the session

Chat sessions are the wrong unit to retrieve. A session-sized chunk about smoothie recipes, a charity walk and a new apartment embeds as a blend of all three, and the sentence "I just did the Walk for Hunger" ranks ninetieth while the smoothie part ranks fifth. Measured on this dataset, storing sessions in 4,000-character parts puts the answer-carrying turn in the reader's context for 91.7% of gold turns; the right session is usually retrieved, the wrong part of it is. So the store and the read use different units:

> **Figure.** A 4,000-character chunk containing three topics embeds as a blend. Its smoothie part ranks fifth for the question and the charity-walk sentence ranks ninetieth. — Illustrative sizes for one session. The session was retrieved; the part that carried the gold turn was not. Measured over the dataset, session parts put 91.7% of gold turns in context.

- **Ingest at turn granularity.** Each user turn plus the assistant reply that follows it is its own memory (about 800 characters median, 1,200 max), with the session date and an opaque session label in a header. The source text is stored as written; the one edit is that assistant replies longer than the limit are split, and each piece is prefixed with the user turn it answers so the embedding stays centred on what the user said. About three quarters of the stored chunks carry that (in reply to) prefix. This is 5.6 times more memories per haystack than session parts, all written through Caura's standard bulk endpoint. The header label is a 12-hex hash with the same shape for every session; neither the dataset's session id (which names every gold session answer_<hash>) nor the question id reaches stored text, and a test enforces it.

- **Read at session granularity.** At question time we run one search with the raw question against the server's default hybrid (dense + full-text) profile, take the top hits, and pull the rest of each hit's session from the store before handing the context to the answering model, in chronological order, under a 150,000-character budget on the stored text itself (session headers are added on top, so the assembled context runs a little longer). The turn-level vector picks the right sessions; the whole session supplies the number or date the question needs. Caura also derives its own memories (facts, preferences, tasks) from what it stores, asynchronously; /search returns them alongside the stored turns, and the harness drops them before expansion, so the context is stored conversation turns only.

- **Lay the context out once per session, not once per chunk.** As stored, about a third of the retrieved characters are bookkeeping rather than conversation: a header on each of roughly 180 chunks, date and type trailers, and the user turn repeated at the top of every piece of a split reply. The context handed to the reader keeps the identical text, grouped by session in turn order with one header per session and the repeats dropped when the original is already present. Nothing is summarised or removed; a test checks the property, and on all 500 saved contexts every conversation line and every gold turn survives. Because timestamps and hex labels tokenize poorly, the layout matters more in tokens than in characters: the median context is 100,193 characters and 22,410 tokens, half what the as-stored layout would cost.

> **Figure.** Two-part diagram. Ingest: a session is split into turn memories, each a user turn plus the assistant reply with a session date and an opaque hash label; long replies are split and each part prefixed with its user turn. Read: one hybrid search over turns, the top hits are expanded to their full sessions with server-derived facts dropped, sessions are ordered chronologically with one header each under a 150,000-character budget, and handed to Gemini 3.8 Flash. — The unit of storage and the unit of reading are different on purpose. Turn-level vectors rank the right sessions; expanding each hit to its session gets the number or date back into context.

Gold-turn coverage (the fraction of answer-carrying turns present in the reader's context, measured by scripts/coverage.py) is 0.974 — 863 of the 886 answer-carrying turns. Counted per question rather than per turn, 450 of the 470 answerable questions have every gold turn in context, which is 0.957. Single-session assistant questions, whose gold turn is the assistant's own reply, are complete at 56 of 56; knowledge update, where the current value tends to sit in one short turn near the end of a session, is next at 0.993.

> **Figure.** Gold-turn coverage rose from 0.917 with session parts to 0.974 with turn memories. 450 of 470 answerable questions have every gold turn in context; single-session assistant is complete and knowledge update is 0.993. — Measured by scripts/coverage.py on the saved contexts of this run: 863 of 886 gold turns reach the reader.

The small unit makes per-category retrieval profiles unnecessary. A single flat configuration matches or beats tuned per-type profiles on every category, so turn mode disables them. The number above uses no information about the question type, which is the honest setting for a system that has to answer whatever the user asks.

The answering side is a four-stage pipeline on Gemini 3.8 Flash: extract evidence from the full context, draft an answer, infer or fall back to a direct answer when the draft is unsupported, verify against the evidence. Its prompts were iterated against failures on this benchmark; the illustrations in them are synthetic (terms that occur in no question, answer or gold turn, checked by a test), no questions were held out, and readers should treat the reader prompt as tuned on this set.

## What the answering model was given

Accuracy without the token budget is half a number. Mem0 publishes a mean of 6,787 retrieved tokens per query; Mastra reports an average context of about 30k tokens; Honcho reports a median of 5% of the haystack. Zep also reports a result in the low nineties on roughly a fifth of the tokens. That is third-party context, not a Caura claim in our evidence registry. We are not putting these systems in a league table, because the answering model differs across every published figure — ours is a Flash-tier model where most of the others use a frontier one — and a ranking column would imply a comparability that does not exist. A run of this same store and pipeline with GPT-4o answering is the follow-up that makes the comparison honest. Ours, measured with the reader's own tokenizer on the saved contexts, and with every reader call counted from the provider's usage reports:

| per question | median | p95 |
| --- | --- | --- |
| retrieved context handed to the reader | 22,410 tokens (100,193 characters) | 23,819 tokens |
| share of the haystack (median haystack: 490k characters, ~108k Gemini tokens) | 21% |   |
| reader calls (extract, answer, infer or fallback, verify) | 4 | 4 |
| total reader input tokens, all calls | 24,894 | 47,272 |
| total reader output tokens, all calls, thinking included | 1,525 | 4,097 |
| total reader tokens, all calls | 26,482 | 50,893 |
| retrieval latency | 7.6 s | 15.1 s |
| generation latency (all reader calls) | 9.9 s | 23.0 s |

Token counts from the Gemini tokenizer on the saved contexts and from provider usage reports for every call.

> **Figure.** Proportional bars. The haystack is about 108,000 Gemini tokens; the retrieved context handed to the reader is 22,410 tokens, 21% of it. Four reader calls follow: extraction reads the full context, the draft, infer-or-fallback and verify stages read only the extracted evidence, except that the direct fallback re-reads the context on about one question in ten. Total input 24,894 tokens, total output 1,525 tokens. — Only extraction reads the full context; the later stages read the evidence it pulled out, so the sum over four calls is close to one context.

The budget caps the stored text at 150,000 characters; laid out once per session, the assembled median context is 100,193 characters, which the Gemini tokenizer counts as 22,410 tokens (0.22 tokens per character; a chars/4 estimate would be a tenth high). Only the extraction stage reads the full context; the later stages read the extracted evidence, so the sum over all calls is close to one context. The p95 input doubles because, when the draft is unsupported, the direct fallback re-reads the whole context, on about one question in ten. Generation latency depends on API load: the same pipeline has run at 8 s and at 21 s median on different days, so read it as a range, not a property of the system.

This is still a large budget by the standards of the systems above: we pull whole sessions rather than extracted facts, and Mem0's single-call answerer reads roughly a quarter of what our four-stage reader does. We think the trade is worth making explicit rather than hiding, and it is the obvious place to work next.

> **Figure.** Bar chart of retrieved context per question. Mastra about 30,000 tokens average. Caura 22,410 tokens median. Mem0 6,787 tokens mean. Honcho reports a median of 5% of the haystack without a token figure. — Whole sessions cost more tokens than extracted facts. That is the trade behind the number, and the obvious place to work next.

## What we did not do

Memory benchmarks are easy to overfit, and some of the tricks are hard to spot from the outside. The things below were available to us and are not in this number.

- **No question-type labels.** The dataset tags each question with its category. The run never reads it.

- **No dataset labels in the store.** Session ids and question ids, which encode which sessions are gold and which questions are unanswerable, are replaced by opaque hashes at ingest.

- **No judge shopping.** GPT-4o is the benchmark's reference judge and the one most published numbers use, so it is the headline. Gemini 3.5 Flash-Lite is our development judge and the strictest we have compared; it is reported beside GPT-4o on every run. The protocol is fixed in the harness, and the judge snapshot is recorded in every verdict file.

- **No fact extraction in the harness, and no server-derived facts in the context.** Several systems rewrite conversations into atomic facts with an LLM at ingest. The number above is retrieved from stored conversation turns only.

- **No prompt tuned to the judge.** The answering pipeline was tuned against this benchmark's failures (see above) but never against a judge's verdicts.

- **No cherry-picked sample.** All 500 questions, all six types, abstention items included. Balanced subsamples project two to three points differently from the full set in both directions; we do not quote them.

- **No valid_at.** Caura can anchor retrieval at the question date. It scored lower in our A/B, so it is off here; the temporal-reasoning number is the reader doing the arithmetic from session dates.

## Where the remaining 39 errors are

Once the evidence is in front of the model, the failures change character. Of the 37 non-abstention errors under GPT-4o, 16 still have a gold turn missing from context (9 partially covered, mostly multi-session questions where one of two or three gold sessions did not make it in; 7 with no gold turn at all, four of them single-session user questions whose one gold session was neither a search hit nor pulled in by expansion), and 21 have every gold turn present and the model still answers wrong. The second group is dominated by three patterns: counting questions where the model hedges between two numbers, abstaining when the fact is there, and multi-session arithmetic. Those are answering-model problems, and they can be worked on against the saved contexts without touching the memory store; the oracle result above says how much is left there.

> **Figure.** Stacked bar of 39 errors: 9 with a gold turn partially covered, 7 with no gold turn in context, 21 with every gold turn present and a wrong answer, and 2 abstention items answered instead of declined. — Sixteen errors are retrieval's; twenty-one are the reader's; two are abstentions that should have been declined.

The other 2 errors are abstention items: questions with no answer in the history where the model answered anyway.

The preference category is where the two judges disagree most: the same 30 answers score 80.0% under GPT-4o and 90.0% under Flash-Lite, where over all 500 answers the two judges are two points apart in the other direction. Rubric-graded questions are the least stable part of this benchmark and we would not draw conclusions from a two-answer difference there.

> **Figure.** Dot plot. Over all 500 answers: 90.2% under Flash-Lite, 92.2% under GPT-4o. On the 30 preference answers: 80.0% under GPT-4o, 90.0% under Flash-Lite. — Two points of spread over 500 answers; ten points, in the other direction, on the 30 rubric-graded preference answers. Nothing changed between the dots except the judge.

Related reading: [Caura benchmarks](https://caura.ai/blog/caura-benchmarks/) · [What is AI agent memory?](https://caura.ai/blog/what-is-ai-agent-memory/) · [Persistent memory for AI agents](https://caura.ai/blog/persistent-memory-for-ai-agents/)
