94.6%
96.2%
470 / 470
19 s · $0.10
The story behind the numbers
What LongMemEval is
LongMemEval is a benchmark from the paper LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memory (Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang and Dong Yu, ICLR 2025). It has 500 hand-curated questions. Each question comes with its own timestamped history of chat sessions. In the S variant that history is about 115k tokens, roughly 40 to 50 sessions of everyday conversation, and the evidence for the answer sits somewhere inside. The questions test five abilities:Why it matters
- It is hard on purpose. The paper reports that commercial chat assistants and long-context LLMs show a 30% accuracy drop on memorizing information across sustained interactions. A bigger context window alone does not solve it.
- It tests the failure users actually see. An assistant that forgets a correction, mixes up two trips or invents an answer it was never given loses trust fast. LongMemEval scores each of those separately.
- It is reproducible. The dataset, the questions, the gold answers and the judge prompts are public (MIT), so anyone can rerun it and compare.
How chatcli was tested
The goal was to test chatcli the way you use it, not to test the model. Nothing was pasted into the prompt. Each question’s history became chatcli’s own saved sessions, and chatcli had to find the evidence through its memory tools.One isolated installation per question
CHATCLI_STATE_DIR holds the question’s history as saved sessions; each file’s modification time is the session’s date. Your real memory never mixes in, and your login is reused in place through CHATCLI_AUTH_DIR.The clock set to the question's day
CHATCLI_NOW is the question date, so “two weeks ago” means two weeks before the question, not two weeks before the run.chatcli answers by itself
chatcli -p "/coder …" with Claude Sonnet 5.5 and one neutral instruction: answer from our previous conversations, say so if they do not contain the answer. chatcli decides which tools to call.The official judge
Monthly check
chatcli changes every week, and a change to the prompt, the tools or the search can cost recall without any test failing. So the full benchmark is run again once a month on the latest release, with the same dataset, judge prompts, answering model, driver and split. The question it answers is “did we get worse?”, not “did we get better?”.November 2026: v1.232.0
The first monthly check ran on 2026-11-22 against the v1.232.0 release, which carries everything merged since the October reference (releases v1.225.0 to v1.232.0). Result: level with October.- Two more correct answers is not an improvement. Against October the run gained 10 questions and lost 8 (sign test p = 0.81). On the validation half it gained 5 and lost 6 (p = 1.00). Both are inside what one run varies by.
- Retrieval did not regress. The session holding the answer reached the model in all 470 answerable questions, and in every one of the 8 questions that were lost.
- The lost questions were rerun. With the same binary, 5 of the 8 passed. The 3 that failed twice had each failed in 3 of the 5 earlier published runs: they were unstable before this release.
- Cost and effort did not move: $0.102 per question against $0.100, 3.5 tool calls against 3.4, 78.6k input tokens against 78.0k. All 500 runs finished without an error, in 48 minutes with 4 in parallel ($48.92 answering, $1.84 judging).
@session get 888 times, @session search 644 times, @memory recall 138 times and @date 64 times in 54 questions. In 56 questions it narrowed searches by date on its own (63 calls). It never went to the web.
Same model, another harness: Claude Code
The model does not answer alone. An agent decides how the history is stored, what a search returns and how much of it reaches the model, and that is the harness. To see how much the harness weighs, the same 500 questions were run on 2026-11-22 through Claude Code 2.1.330, with the same answering model (Claude Sonnet 5.5), the same judge and the same dataset as the chatcli v1.232.0 run of that day.96.2% and 92.6%
25 to 7
$0.046 · 8 s
- On simple recall they are level. In the three single-session types both answered 153 of 156.
- The gap is where the answer is spread out. Knowledge updates, temporal reasoning and multi-session questions need every mention found and read: chatcli answered 328 of those 344, Claude Code 310.
- They search differently. Claude Code made 885
Grepcalls and opened a session file withReadin 57 of the 500 questions; the rest it answered from the matching lines. chatcli made 644 searches and opened sessions 888 times. Of Claude Code’s 37 misses, 25 are reasoning with the evidence surfaced, 5 said the evidence was not there, 5 found only part of it, 1 never found it and 1 answered an unanswerable question. - Claude Code is cheaper and faster, by more than half on both.
What makes this comparison uneven
What makes this comparison uneven
- chatcli had already been fixed with this benchmark in hand; Claude Code had not. Nothing was changed for this run. But in October the failures of 240 of the 500 questions (the development half) were read and their causes fixed in the product: a compressor that cut sessions, date arithmetic done in the model’s head, a search that carried one wording. No fix targets a question, and the other 260 were never read. That half is the fairer comparison: 246 against 238, 13 questions to 5 (p = 0.10). The direction is the same, but on its own it is not significant.
- Claude Code is not a conversation-memory product. It has no store of past conversations to search. Each question’s history was written as plain transcript files in
sessions/of an empty working directory, and the prompt says where they are. chatcli read its own saved sessions with its own tools. - The question date. chatcli takes it from
CHATCLI_NOW; for Claude Code it is stated in the prompt. - A clean Claude Code. It ran with
--safe-mode: no user settings, CLAUDE.md, plugins or MCP servers of the machine, no web tools and no saved session. - One run each. A run moves by about ±4 questions; the 18 between them is well outside that, the 8 on the validation half less so.
- Its transcripts were not read. The numbers above are counts over the run, not a reading of individual answers.
Earlier rounds
From here down the page covers the rounds that came before the monthly checks. Each one is collapsed: open it to read its results, what changed in chatcli and where it failed.Third round (2026-10-24): session search, 479 of 500
Third round (2026-10-24): session search, 479 of 500
- The memory graph did not move recall: 13 gained, 11 lost against the second round (p = 0.84).
- The session search gained on questions nobody read: 240 to 247 on the validation half (9 gained, 2 lost, p = 0.065), and 475 to 479 on all 500. That is more than the ±4 a single run moves by, but the intervals still overlap.
- It costs nothing extra. Tool calls per question fell from 4.7 to 3.4, because one search now carries several phrasings, and cost per question stayed at $0.100. The model used them in all 500 questions.
- The development half lost 3 (235 to 232). In every development question that flipped to a fail, the evidence session was in front of the model. The misses were reasoning, or readings the reference answer does not share, such as whether “got” means ordered or delivered. Retrieval did not regress.
- One exception to the split: three validation failures of the base run (
07741c45,6a1eabeb,830ce83f) were read while checking it for regressions. No change was designed from them, and the table scores the validation half without them too.
What changed in chatcli
The second round’s misses showed the same pattern again and again: the answer was in a session that used other words than the question, and the agent only reached it by searching a second or third time. Measured over every evidence session of the multi-session questions, 45 of 309 (15%) share no word with the question.What got worse
- The development half lost 3 (235 to 232): 5 lost, 2 gained. In all 5 the evidence session was in front of the model; the answers took readings the reference does not share: whether “got” means ordered or delivered, whether booked flights count as flown, how many properties were “viewed before the offer”.
- By type against the second round: knowledge updates went from 77 to 76 and preferences from 29 to 28.
@dateis used in fewer questions: 50 against 93 in the base run, since one search now carries more of the question. Temporal reasoning still went from 123 to 127, so this is something to watch, not a measured loss.
Where it still fails
Of the 21 misses, 17 are reasoning with the evidence in front of the model, 2 answered a question the history cannot answer, 1 said the evidence was not there and 1 found only part of it. 11 of the 21 are multi-session questions, and almost all of those are counts and totals (“how many”, “in total”, the page count of two books): the sessions are found, and the sum is wrong or misses an item. 14 of the 21 were also wrong in the second round.Second round (2026-10-22): recall fixes, 473 of 500
Second round (2026-10-22): recall fixes, 473 of 500
sha1(question_id), even or odd): 240 development questions, whose failures were read to design the changes, and 260 validation questions, which nobody looked at until the first post-change run finished.What changed in chatcli
Reading the transcripts of the misses showed that the answer was in front of chatcli almost every time. It stopped after the first good-looking hit, counted days in its head, or was handed a cut-down page. Each cause became a product change:What got worse
Abstention went from 27 of 30 to 25: the protocol tells the agent to commit to the best-supported reading, and on two more unanswerable questions it committed to an answer. Cost per question rose about 16% and input tokens about 9%.Where it still fails
Of the 27 misses, 17 are reasoning with the evidence in front of the model (a count that depends on how “led” is read, a date that matches no stated date), 5 answered a question the history cannot answer, 4 said the evidence was not there and 1 found only part of it. Some of those questions have a debatable reference answer; they are left as they are and count as misses.First round (2026-10-20): the baseline, 454 of 500
First round (2026-10-20): the baseline, 454 of 500
Held-out score
Before the full run, a 60-question sample (10 per type, fixed seed) was used to find and fix weaknesses in chatcli. Those 60 scored 96.7% in the final run, so they are not a neutral test. On the other 440 questions chatcli scored 396/440 = 90.0% (95% CI 86.8%–92.5%), with the same 92.2% task average. That is the conservative number.Where it failed in the first round
The first run recorded, for every question, which saved sessions hold the answer according to the dataset’s labels and whether those sessions reached the model. That separates finding from reasoning.- Counting across sessions (multi-session, 22 misses): “How many projects have I completed since I started painting classes?” — chatcli found 4 of the 5.
- Date arithmetic and ordering (temporal, 16 misses): “Which book did I finish first?” when one session says “last weekend” and another “just finished”.
- Too cautious: in 9 questions the evidence was in front of the model and it answered “that is not in our conversations”.
- Too eager: in 3 of the 30 unanswerable questions it guessed instead of abstaining.
What the first round changed in chatcli
Running LongMemEval found real bugs, and each one was fixed in chatcli itself, not in the test:Cost and speed
Cost, tool calls, input and time per question in every full run. The table below details the first two rounds; the later runs are in the monthly check table and in each pack’ssummary.md.
@session search 1,241 times, @session get 891 times and @memory recall 285 times, and the new @date 62 times in 52 questions. In 94 questions it narrowed searches by date on its own, with the from, to and as_of flags of session search (162 calls). It never went to the web. The cost rose about 16% because the input grew about 9%: the longer memory card, the @date tool definition and session pages that are no longer cut.
In the first round chatcli used @session search 1,068 times, @session get 967 times and @memory recall 344 times. In 66 questions it narrowed searches by date on its own, with the from, to and as_of flags of session search (137 calls). It never went to the web.
Read the numbers honestly
Not directly comparable with GPT-4o-judged scores
Not directly comparable with GPT-4o-judged scores
The second round and its split
The second round and its split
@date tool definition and session pages that are no longer cut account for the larger input.The third round
The third round
The monthly checks
The monthly checks
The 60 questions read first
The 60 questions read first
One run per question
One run per question
What 'evidence surfaced' means
What 'evidence surfaced' means
Session names carry dates
Session names carry dates
chat-<date>-<index>; the dataset’s own ids would have revealed which sessions hold the answer. The date in the name is the same information every search hit shows.The data
Everything from the run is public in the chatcli repository, underevals/longmemeval: