Back

LongMemEval Benchmark: What It Tests, Published Scores, How to Run It, and What It Misses

Guide · · Published August 2026 · 16 min read

By Ashwin Gopinath, CEO

TL;DR

LongMemEval is a 500-question benchmark for long-term memory in chat assistants, published by Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai-Wei Chang and Dong Yu and accepted at ICLR 2025 (arXiv 2410.10813). It tests five abilities (information extraction, multi-session reasoning, temporal reasoning, knowledge updates and abstention) over timestamped user-assistant chat histories of about 115k tokens in LongMemEval_S and about 500 sessions in LongMemEval_M, and a GPT-4o judge grades each answer. Published scores now run from 60.6% for GPT-4o reading the full LongMemEval_S history to 95.60% for a vendor memory system, but vendors use different reader models, judges and metrics, so the numbers are not directly comparable. Sentra, the managed organization memory for teams and agents, maintains this page because the benchmark measures memory of one conversation, not memory of an organization, and buyers should know which one a score describes.

What does LongMemEval actually test?

LongMemEval tests whether a chat assistant still answers correctly after a long, timestamped history of sessions, with the question asked after the last session. The 500 questions are written and checked by human experts, and evidence sessions are hidden inside filler sessions drawn from simulated user chats, ShareGPT and UltraChat, in the style of a needle-in-a-haystack test (paper). The questions cover five abilities:

1. Information extraction. Can the system recall a specific detail mentioned once, many sessions earlier, including details the assistant itself said and preferences the user only implied. This ability maps to three question types: single-session-user (70 questions), single-session-assistant (56) and single-session-preference (30).

2. Multi-session reasoning. Can it combine facts stated in different sessions into one answer, such as counting or comparing items mentioned weeks apart. The multi-session type has 133 questions, and some need up to six evidence sessions.

3. Temporal reasoning. Can it answer questions that depend on when things happened, using both the session timestamps and time references inside the messages. The temporal-reasoning type has 133 questions.

4. Knowledge updates. Can it notice that a later statement supersedes an earlier one and answer with the current value. The knowledge-update type has 78 questions.

5. Abstention. Can it decline when the question rests on a false premise and the answer was never in the history. Abstention is not a separate type: 30 of the 500 questions are false-premise versions of other types, marked with an _abs suffix on the question ID.

Knowledge updates are the ability most relevant to production memory, because a store that keeps both the old value and the new one as equal search results has no basis for preferring the newer. The official judge prompt for this type accepts an answer that mentions the old value, as long as the updated value is the one given as the answer.

What are LongMemEval_S, LongMemEval_M and the oracle setting?

LongMemEval ships the same 500 questions in three files that differ only in how much history surrounds the evidence. LongMemEval_S is the standard setting for comparing systems, LongMemEval_M is the stress test, and the oracle file is the ceiling that shows how well a reader answers when retrieval is perfect (official repository).

SettingHistory per questionFile and sizeWhat it is for
LongMemEval_SAbout 115k tokens, roughly 40 to 50 sessionslongmemeval_s_cleaned.json, 277 MBThe main comparison setting; fits a 128k context window, so full-context baselines are possible
LongMemEval_MAbout 500 sessions, roughly 1.5M tokenslongmemeval_m_cleaned.json, 2.7 GBMarked in the repository as too long for long-context testing, so it calls for a memory or retrieval system
OracleOnly the evidence sessionslongmemeval_oracle.json, 15 MBUpper bound for the reader model, with retrieval taken out of the test

Each record carries the question, the expected answer, the question date, the timestamped haystack sessions, and labels for the evidence sessions and turns, which lets you score retrieval as well as answers. In September 2025 the authors released a cleaned version of the histories on Hugging Face to remove sessions that interfered with answer correctness, so a 2026 score should state whether it used the original or the cleaned files. The code and data are released under the MIT license.

The settings matter because the drop between them is the finding. In the paper, GPT-4o reading the whole LongMemEval_S history scored 60.6%, against 87.0% when given only the evidence sessions, a 30.3% relative drop, and the other long-context models tested dropped by 36% to 55%. The authors also found that ChatGPT and Coze lost 37% and 64% of their accuracy against offline reading on histories about ten times shorter than LongMemEval_S.

Decision rule: compare a score only with other scores from the same setting and data file, and treat an oracle number as a reader ceiling, not a memory result.

How is a LongMemEval answer scored?

A LongMemEval answer is scored by an LLM judge: gpt-4o-2024-08-06 reads the question, the expected answer and the system's response, and returns yes or no. The judge runs at temperature 0 with a separate prompt per question type, and the authors report more than 97% agreement with human experts in their meta-evaluation (paper).

  • The temporal-reasoning prompt does not penalize off-by-one errors in counts of days, weeks or months.
  • The knowledge-update prompt accepts a response that mentions earlier information, provided the updated value is the answer.
  • The preference prompt grades against a rubric and passes a response that uses the user's personal information correctly, without needing every rubric point.
  • The abstention prompt passes a response that correctly identifies the question as unanswerable from the history.
  • Retrieval is scored separately with Recall@k and NDCG@k against the labeled evidence sessions, and the 30 abstention questions are skipped there because they have no evidence location.

Decision rule: a score graded by a different judge model or a rewritten prompt is a different measurement, even when the questions are identical.

How to read a vendor's LongMemEval number

Ask four questions before accepting any LongMemEval score, including a score Sentra quotes:

1. Which setting and which data file? Every official setting has the same 500 questions, so the question count tells you little. What differs is the history: LongMemEval_S, LongMemEval_M or the oracle file, and since September 2025 the original or the cleaned release. Zep, for example, reports 71.2% on LongMemEval_S with gpt-4o (Zep paper), which says nothing about how it would do on LongMemEval_M.

2. What was the baseline? Most published comparisons pit a memory product against a full-context baseline, which scored about 60% with gpt-4o in both the original paper and Zep's run. A competent retrieval setup is the harder comparison: the paper's own retrieval and indexing experiments are in the official repository.

3. Which reader model and which judge? The model that writes the answer and the model that grades it both move the score. The benchmark specifies gpt-4o-2024-08-06 as the judge, and several recent results use GPT-5 or GPT-OSS-120B instead.

4. Were latency and token cost reported alongside accuracy? A system can buy accuracy by retrieving more, which raises cost and latency. Zep's paper is a useful model here because it reports context size (1.6k tokens against 115k) and latency next to the score.

What are the published LongMemEval scores as of October 2026?

The highest published LongMemEval score as of October 2026 is 95.60%, reported by Zero Labs for Agent Zero Memory with gpt-5.5 in an August 2026 paper that does not name the setting. The highest score with LongMemEval_S stated is 94.87%, reported by Mastra for Observational Memory with gpt-5-mini, and Mem0 reports 94.4% for its managed platform. Every figure below comes from the paper, repository or research page of the team that ran it. Only the first row comes from the benchmark authors; the vendor rows are self-reported.

SystemScoreSettingJudge modelReported by
GPT-4o reading the full history (no memory system)60.6% on S; 87.0% on oracle (64.0% and 92.4% with chain-of-note)S and oracleGPT-4o (gpt-4o-2024-08-06)Official: benchmark authors, ICLR 2025 paper
Zep with gpt-4o71.2%, against 60.2% for full context in the same runSGPT-4oVendor: Zep, arXiv paper, January 2025
Hindsight with Gemini 3 Pro91.4% (89.0% with GPT-OSS-120B)SGPT-OSS-120BVendor: Vectorize and co-authors, arXiv paper, December 2025
Mastra Observational Memory with gpt-5-mini94.87% (84.23% with gpt-4o)SGPT-4oVendor: Mastra, research page, February 2026
Mem0 managed platform, April 2026 algorithm94.4% (472 of 500) at a top-200 retrieval budgetS, cleaned fileGPT-5, with GPT-5 as the answer modelVendor: Mem0, memory-benchmarks repository, April 2026
Supermemory97% Recall@20 with aggregation, a retrieval metric rather than answer accuracySGPT-4oVendor: Supermemory, research page, May 2026
Agent Zero Memory with gpt-5.595.60% (92.2% to 95.6% across eight answer models)Not stated; 500 questionsDescribed as the official LLM judge; model not namedVendor: Zero Labs, arXiv paper, August 2026

These numbers are not directly comparable, for reasons each source discloses:

  • The answer model changes from row to row, from gpt-4o to gpt-5-mini, GPT-5, gpt-5.5 and Gemini 3 Pro. Mastra's own results show the same memory system moving from 84.23% to 94.87% when only the answer model changes.
  • The judge changes too. Mastra and Zep use GPT-4o as the benchmark specifies, Hindsight grades its own runs with GPT-OSS-120B, Mem0 grades with GPT-5, and the Agent Zero paper names neither its judge model nor its setting.
  • The data file changes. Mem0's harness downloads the September 2025 cleaned release, while earlier results such as Zep's predate it.
  • The metric changes. Supermemory's 97% is Recall@20, which measures whether the evidence is among the top 20 retrieved items, not whether the final answer is correct, so it cannot sit on the same scale as the answer accuracy in the other rows.
  • Product versions change. Mem0 states that its platform scores include proprietary optimizations that its open-source SDK does not have, and Mastra notes that the gap between its gpt-4o score and the oracle figure it compares against is small enough to fall within run variance. Agent Zero reports single runs.

Decision rule: trust a vendor's LongMemEval number when it names the setting, data file, answer model, judge model and retrieval budget and links code you can rerun, and compare two vendors only when all five match.

What the benchmark cannot see

LongMemEval cannot see failures that happen outside a single user's conversation with an assistant, and those are most of the failures a company pays for.

Every LongMemEval history is one user's chat with one assistant. Organization memory has to handle four things the format leaves out:

1. Facts that were never said to an assistant. A commitment made in a customer call, a decision reversed in a Slack thread, an owner change announced in a meeting. No chat history contains them, so no conversational benchmark can test whether a system knows them.

2. Conflicts between sources rather than between turns. The knowledge-update questions test whether a later message supersedes an earlier one from the same user. They do not test what happens when the CRM says one renewal date and the signed contract says another, or when a fact goes stale because nobody restated it.

3. Permission-scoped correctness. An answer can be factually right and still wrong to show a particular person. LongMemEval has one user per history, so it never asks whether a fact from a private channel should reach someone outside it.

4. Provenance. Whether the system can show its receipts is untested, yet it is the first thing a real user asks when an answer is surprising.

A strong LongMemEval score is real evidence that a system handles one user's long history, updates and false premises well. It is not evidence that the system knows what your company knows. For how accuracy decays as facts change, see agent memory accuracy over time.

What is the LoCoMo benchmark, and how does it differ from LongMemEval?

LoCoMo is a benchmark of very long conversations between two LLM agents with personas, built by Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri and Yuwei Fang and published at ACL 2024 (arXiv 2402.17753). The conversations were generated from personas and temporal event graphs, then verified and edited by human annotators, and average 300 turns and about 9k tokens over up to 35 sessions.

  • The public release in the official repository is 10 conversations with 1,986 annotated questions, a subset of the 50 conversations in the first arXiv version, kept for the longest conversations and highest-quality annotations.
  • Questions fall into five categories: single-hop, multi-hop, temporal, commonsense or world knowledge, and adversarial. Many vendors drop the 446 adversarial questions and report on the remaining 1,540, which is the count in Mem0's results.
  • The paper scores answers with token-level F1, while most vendor results use their own LLM judge prompts. Mastra reports that judge prompts it found in published LoCoMo results moved the same system's score by about 10%.
  • LoCoMo also includes event summarization and multimodal dialogue tasks, and the data is released under CC BY-NC 4.0, which restricts commercial use.

LoCoMo differs from LongMemEval in three practical ways. Its dialogues are between two simulated people rather than a user and an assistant, so it cannot test recall of what an assistant said. Its histories are much shorter, about 9k tokens on average in the paper against about 115k for LongMemEval_S, so a long-context model can read one whole. It does not test reasoning with updated user information, which the LongMemEval authors cite as a gap in earlier benchmarks. For a wider survey of memory suites, see MemoryBench.

Decision rule: use LoCoMo for quick checks of recall over persona dialogue, and use LongMemEval_S or LongMemEval_M when updates, abstention and long histories matter.

LongMemEval, LoCoMo, and what each one proves

SuiteWhat it provesWhat it leaves untested
LongMemEvalFive distinct long-term memory abilities including knowledge updates and abstentionAnything outside the user-assistant conversation
LoCoMoRecall and reasoning over 10 long, LLM-generated and human-edited conversations between two personasThe same conversational boundary, a small sample, and no standard judge prompt
MEME (KAIST, 2026)Whether memory tracks facts that change across many entities, including Cascade and AbsenceControlled episodes rather than live company sources
Terminal-Bench 2.1Whether memory changes real task outcomes, cost and token use on engineering workNot a memory suite by design, so it measures effect rather than recall
Organizational memory in productionCross-source truth, permissions, provenance, stalenessNo public suite covers permissions and cross-source conflicts together

The field now has strong conversational suites and newer suites for changing facts such as MEME, and the LongMemEval authors released LongMemEval-V2 in May 2026 for memory over web-agent trajectories. None of them yet tests permission-scoped answers across a company's own systems, so that part of an evaluation still has to be built by the buyer.

What we run and why

Sentra publishes results on benchmarks that test changing facts and real work, because those are the jobs the managed organization memory is built for. On the MEME benchmark (KAIST, 2026), in Sentra's own run of the published tasks, Sentra scores 40% on Cascade and 43% on Absence, against field averages of 3% and 1% reported in the MEME paper. Cascade checks whether a system updates downstream facts when an upstream one changes, and Absence checks whether it knows a fact is missing rather than fabricating one. Sentra is the only system above 30% on both.

On Terminal-Bench 2.1, Codex CLI with GPT-5.5 at xhigh reasoning and Sentra Code Memory reached 88.31% mean reward across 445 trials, against 83.37% for the published baseline (+4.94 points), with 72.6% lower model cost ($510.30 against $1,862.98) and 41.2% fewer tokens. This is Sentra's internal evaluation on the official task set and harness, pending official verification. On Harvey LAB, Sentra reached 70.7% mean criteria pass and 36.0% task all-pass with zero training, against 70.1% and 31.0% for Engram's trained LoRA, and the corpus was fully queryable 65 minutes after ingestion started. Sentra's own write-up treats the 0.6-point gap in mean criteria pass as within noise.

How do you run LongMemEval yourself?

To run LongMemEval yourself, clone the official repository, download the cleaned data files, feed each question's timestamped sessions to your system in order, save one answer per question, and grade the answers with the bundled GPT-4o judge script. The evaluation-only environment needs Python 3.9 and six small packages (repository).

git clone https://github.com/xiaowu0162/LongMemEval && cd LongMemEval
conda create -n longmemeval-lite python=3.9 && conda activate longmemeval-lite
pip install -r requirements-lite.txt
mkdir -p data && cd data
wget https://huggingface.co/datasets/xiaowu0162/longmemeval-cleaned/resolve/main/longmemeval_oracle.json
wget https://huggingface.co/datasets/xiaowu0162/longmemeval-cleaned/resolve/main/longmemeval_s_cleaned.json
cd ../src/evaluation
export OPENAI_API_KEY=your_key
python3 evaluate_qa.py gpt-4o ../../my_answers.jsonl ../../data/longmemeval_s_cleaned.json
python3 print_qa_metrics.py ../../my_answers.jsonl.eval-results-gpt-4o ../../data/longmemeval_s_cleaned.json
  • Ingest in order. For each of the 500 records, write haystack_sessions into your system session by session, using haystack_dates as the timestamps, then ask question as of question_date. Each question has its own history, so a memory system ingests 500 separate histories rather than one.
  • Save answers as JSONL. Write one line per question with two fields, question_id and hypothesis.
  • Grade with the official judge. evaluate_qa.py maps gpt-4o to the gpt-4o-2024-08-06 snapshot and writes a file ending in .eval-results-gpt-4o; print_qa_metrics.py reads that file and checks the judge snapshot. The repository README describes the output as a .log file and passes three arguments to the metrics script, but the current code takes two.
  • Score retrieval if you can. If your system exposes what it retrieved, compare it with answer_session_ids and the has_answer turn labels to report recall alongside accuracy.
  • Budget for tokens, not judge calls. A full-context run on LongMemEval_S sends about 115k input tokens per question, roughly 57 million for all 500, while the judge makes 500 short calls capped at 10 output tokens each. LongMemEval_M is about 1.5 million tokens per question, which the repository marks as too long for long-context testing, so the cost there is in ingestion.
  • Expect slow full-context runs. Zep measured about 29 seconds of latency per question for gpt-4o reading the full LongMemEval_S history, against 2.58 seconds through its memory (Zep paper).
  • Start on the oracle file. It is 15 MB, runs quickly and gives your reader model's ceiling before you spend on S or M.

Decision rule: publish your setting, data file, answer model, judge snapshot, retrieval budget and per-type scores with any LongMemEval result, or expect readers to discount it.

FAQ

Is LongMemEval better than LoCoMo?

They test different things. LongMemEval decomposes memory into five abilities including abstention and knowledge updates; LoCoMo emphasizes very long conversational recall. Reading both is more informative than ranking them.

Why do vendor scores on the same benchmark differ so much?

The 500 questions are the same, but vendors run different settings (S, M or oracle), original or cleaned data files, different answer models, different judge models, different retrieval budgets and sometimes a retrieval metric instead of answer accuracy. Compare those five things before comparing numbers.

Does a high benchmark score predict production performance?

Partially. It predicts conversational recall well and says nothing about cross-system truth, permissions or provenance, which are where enterprise deployments actually fail.

What should I benchmark instead, for my own use case?

Take twenty real questions your team asks, half of which require joining two systems, and check the answers for correctness, staleness and citation. That informal suite beats any public leaderboard for a buying decision.

Does Sentra publish LongMemEval results?

No. LongMemEval measures how well a system remembers one user's dialogue with an assistant, which is not the job Sentra is built for. Sentra publishes results on MEME, where its own run scores 40% on Cascade and 43% on Absence, on Terminal-Bench 2.1 as an internal evaluation pending official verification, and on Harvey LAB, because those test changing facts and real work. Treat any vendor's leaderboard position as evidence about that vendor's priorities as much as its quality.

What is the highest LongMemEval score?

As of October 2026, the highest published LongMemEval score is 95.60%, reported by Zero Labs for Agent Zero Memory with gpt-5.5, in a paper that does not name the setting. The highest with LongMemEval_S stated is 94.87%, reported by Mastra for Observational Memory with gpt-5-mini and a GPT-4o judge, followed by Mem0's 94.4% graded by GPT-5. All three are vendor-reported. The best official figure from the benchmark authors is 92.4% for GPT-4o with chain-of-note on the oracle setting, which removes retrieval from the test.

What is the difference between LongMemEval_S and LongMemEval_M?

Both use the same 500 questions. LongMemEval_S surrounds each question with about 115k tokens of history, roughly 40 to 50 sessions, which fits a 128k context window. LongMemEval_M uses about 500 sessions, around 1.5 million tokens, which the authors mark as too long for long-context testing, so it tests a memory or retrieval system.

Which judge model does LongMemEval use?

The official evaluation script uses gpt-4o-2024-08-06 at temperature 0 with a separate yes or no prompt for each question type, and the authors report more than 97% agreement with human experts. Some vendors grade with other models, such as GPT-5 or GPT-OSS-120B, which makes their scores a different measurement.

How many questions are in LoCoMo?

The public LoCoMo release has 10 conversations and 1,986 annotated questions across five categories. Many vendors exclude the 446 adversarial questions and report on 1,540. The first arXiv version described 50 conversations, of which the released 10 are the longest with the highest-quality annotations.

The decision rule

Use LongMemEval to judge whether a memory system handles long histories, updates and abstention, because that is what it genuinely measures. Do not use it to judge whether a system will know what your company knows, because nothing in the suite tests that, and the vendors quoting it at you know that too.