Short answer: there is no measured 40-point gap between Mem0 and Zep. On 23 November 2026 each vendor's own page puts both systems above 90 on LongMemEval (Mem0 at 94.4 or 93.4, Zep at 90.2), and those numbers put Zep a little ahead on LoCoMo and Mem0 a little ahead on LongMemEval. The widely quoted spread comes from setting Zep's January 2025 paper score (71.2, gpt-4o) beside Mem0's April 2026 self-report, and beside a 49.0 that a separate study measured for a different Mem0 pipeline on different models. I traced 18 published scores to their sources and found no pair that shares every control I could check. Choose a memory layer by testing it on your own transcripts, not by a leaderboard.
Updated November 2026. I read every source on this page on 23 November 2026: five arXiv papers (the two benchmark papers only at abstract level), the vendors' own benchmark and comparison pages, a public GitHub dispute, one third-party audit and the LoCoMo dataset itself. I did not install or call Mem0 or Zep, so nothing here says which one answers your questions better. This page is about whether the published numbers can carry that decision. They cannot yet, and the reasons are specific.
1. The decision, and who this is for
An agent that talks to the same person across many sessions needs somewhere to keep what it learned: preferences, facts that changed, things the user said three weeks ago. Two names come up often, Mem0 and Zep (whose open-source graph engine is Graphiti). A third option is often skipped: no memory layer at all, just a long context window or a plain file the agent can search.
This guide is for an architect or technical founder choosing between them. It supports the work I describe on my AI agents page, where I help teams pick and build agent systems. If you want to see what a self-hosted agent's memory looks like in practice, my post on Hermes Agent memory and skills covers a different, file-based design.
I started from the claim that circulates in comparison articles: that the two vendors' self-reported benchmark scores disagree by 40 points or more. I wanted to find out which two measurements produce that number, and whether anyone has run both systems under one set of conditions.
2. What I did, and what went wrong
I built a ledger of 18 published scores. For each one I recorded the system, the benchmark and variant, the model that wrote the answers, the model that graded them, who ran it, and the source page or paper. Then I wrote four checks: whether a published percentage matches its own k-out-of-n, whether a headline equals the sum of its category rows, the highest score a benchmark's answer key allows, and whether two scores are comparable. I also downloaded the LoCoMo dataset from its GitHub repository and counted the questions myself.
Four things did not go to plan, and each changed the page.
- My GitHub token was rejected. The
ghcommand returned "Bad credentials" (HTTP 401), so I read the public dispute thread through the unauthenticated GitHub API instead. That worked because the repository is public. - Secondary pages disagreed about who produced the 49.0. One page credited a vendor study, one a company I could not verify, one called it an "independent production result". The number is real, and it is in Table 3 of arXiv:2603.04814, a cost study of the Mem0 framework against long-context models. That paper does not mention Zep. I relabelled the entry to "authors of arXiv:2603.04814" and did not check their affiliations.
- I could not find the judge model in most sources. I searched the Mem0 paper's text for the model that grades answers and found a grading prompt but no model name. A blank in my ledger means I did not find it in the page or paper I read. It does not mean the vendor never recorded it.
- I first suspected a scraping error on Zep's page. A search tool's summary showed category rows that did not add up to the headline. I downloaded the raw page and parsed it myself. The numbers are on the page as shown in section 5.
3. The 40-point gap, taken apart
Here are the numbers that get set against each other, with the context that the comparison tables leave out.
| Score | What was measured | Who ran it | When | Models |
|---|---|---|---|---|
| 93.4 or 94.4 | Mem0's April 2026 algorithm on LongMemEval, self-reported | Mem0 | Pages updated 3 Sep and 10 Oct 2026 | Not stated on the pages I read |
| 71.2 | Zep on LongMemEval_s (about 115k-token histories); full-context baseline 60.2 in the same table | Zep | arXiv:2501.13956, January 2025 | gpt-4o |
| 49.0 | The Mem0 framework as one pipeline in a cost study; long-context GPT-5-mini scored 82.4 on the same questions | Authors of arXiv:2603.04814 | 5 March 2026 | GPT-5-nano extraction, GPT-5-mini reader, top-k 20 |
| 90.2 | Zep on LongMemEval, 451 of 500 correct | Zep | Page retrieved 23 Nov 2026 (no date found) | gpt-5.4 reader, gpt-5.4 judge |
| 90.4 | Mem0 on LongMemEval at top_50, as quoted on Zep's comparison page | Mem0's repository numbers, relayed by Zep | Page retrieved 23 Nov 2026 | Not stated |
Mem0's own comparison page reports a gap of 22.2 points: 93.4 against 71.2. That subtracts a Zep result from January 2025 on gpt-4o from a Mem0 result from April 2026 whose models the page does not state. The roughly 44-point figure, 93.4 against 49.0, compares Mem0's current algorithm with a different pipeline and a different reader, from a paper submitted on 5 March 2026, before Mem0 says it released the April 2026 algorithm. Neither number compares two systems under one harness.
The same page also labels 63.8% as the "Full-context baseline (same run)". In Table 2 of Zep's paper, 63.8% is Zep's own score with gpt-4o-mini. The full-context baselines are 55.4% (gpt-4o-mini) and 60.2% (gpt-4o). I read both pages on 23 November 2026. I cannot tell whether the Mem0 wording is a slip.
What each vendor's page says today
| Benchmark | Mem0's own pages | Zep's own page | Mem0 as quoted by Zep | Zep as quoted by Mem0 |
|---|---|---|---|---|
| LoCoMo (1,540 questions) | 92.5 (research page, blog) or 91.6 (comparison page) | 94.7 (1,459 of 1,540) | 91.6 | 80.32 to 83 |
| LongMemEval (500 questions) | 94.4 (blog) or 93.4 (comparison page) | 90.2 (451 of 500) | 90.4 at top_50 | 71.2 (the 2025 paper) |
Two things stand out. First, on their own current numbers the vendors are within a few points of each other on both benchmarks, and each leads on one: Zep on LoCoMo (94.7 against 92.5), Mem0 on LongMemEval (94.4 against 90.2). Second, Mem0's page quotes Zep 12 to 14 points below Zep's own LoCoMo figure and 19 points below Zep's own LongMemEval figure, while Zep's page quotes Mem0 within about 4 points of Mem0's own. Mem0's comparison page carries an update date of 3 September 2026, and I found no date on Zep's page, so I cannot say which figure is newer. What I can say is that the 71.2 that anchors the "22-point gap" is a January 2025 number that Zep has since superseded on its own site.
4. The 2025 LoCoMo dispute, as arithmetic
The only direct head-to-head between the two systems was run by Mem0 in 2025 and then disputed. The sequence is on public record.
- In April 2025 Mem0's paper (arXiv:2504.19413) scored Zep at 65.99 on LoCoMo, against 66.88 for Mem0, 68.44 for Mem0 with a graph, and 72.90 for putting the whole conversation in the prompt.
- In May 2025 Zep published a post claiming a "correct implementation" of itself scored about 84 percent (the post's original figure, as copied on Reddit, was 84.61).
- On 8 May 2025 Mem0's CTO opened issue 5 on Zep's papers repository, titled "Revisiting Zep's 84% LoCoMo Claim: Corrected Evaluation & 58.44% Accuracy". It said Zep's calculation used a denominator that excluded the adversarial category (category 5) while counting correct category-5 answers in the numerator.
- On 12 May 2025 Zep's CEO replied in the same thread that the arithmetic point was right, that the corrected score was 75.14 plus or minus 0.17 over 10 runs, and that Zep still beat Mem0 by about 10 percent. Zep disputed the other points, including Mem0's 58.44. The thread was closed for inactivity on 19 May 2025.
I checked the arithmetic against the dataset. The LoCoMo file has 1,986 questions in five categories, and category 5 has 446 of them. Mem0's paper says it excluded that category "because ground truth answers were unavailable". That leaves 1,540 scored questions, the number every later page uses.
| Figure | Value | Status |
|---|---|---|
| Zep's original claim | 84.61 | Conceded as a miscalculation by Zep |
| Zep's corrected score | 75.14 | Zep's own harness, 10 runs |
| Mem0's score for Zep in its paper | 65.99 | Mem0's harness |
| Mem0's later re-run of Zep | 58.44 | Disputed by Zep, never reconciled in the thread |
| Arithmetic part of the gap (84.61 to 75.14) | 9.47 points | Conceded |
| Remaining gap (75.14 to 58.44) | 16.70 points | Unreconciled |
Mem0's issue quotes a 25.56-point inflation, which is 84 minus 58.44. I split it using Zep's own two figures. Of the roughly 26 points, about 9.5 are the miscounted numerator that Zep conceded. The other 16.7 are a disagreement about how to run Zep, and I found no resolution. As a back-calculation from the two published numbers (not something either vendor published), a 9.47-point drop on 1,540 questions implies about 146 category-5 answers were counted, roughly a third of that category. The 25.56 headline blends a fixed error with an open dispute.
5. The benchmark has a ceiling and a lenient judge
A separate team, Penfield Labs, audited LoCoMo's answer key and published the result in April 2026 on DEV Community, with the code on GitHub. This is one team's audit and it is not peer reviewed, and I did not re-run it. Its two headline findings are:
- 99 of the 1,540 scored questions (6.4 percent) have a wrong or unsupported answer in the key. If the key is wrong for those, the highest score a strict grader can award is (1,540 minus 99) over 1,540, which is 93.57 percent. That arithmetic needs only the two audit numbers, and I reproduced it.
- The standard judge (gpt-4o-mini with a "be generous" instruction) accepted 62.81 percent of deliberately wrong answers that stayed on the right topic. It caught specific wrong facts, such as a wrong name or date, about 89 percent of the time.
Now apply that to the two current LoCoMo claims. Mem0's 92.5 is about 1,425 correct answers, a little under the ceiling count of 1,441. Zep's 94.7 is 1,459 correct, which is 18 above it. That does not show Zep's number is wrong. Zep's page says it used gpt-5.4 with chain-of-thought grading, not the gpt-4o-mini judge Penfield tested, and a judge that accepts some answers the key marks wrong can exceed the ceiling. A corrected answer key would also change the ceiling. I cannot tell which applies, and the page does not say.
I found two further oddities on Zep's page, both from reading the raw page on 23 November 2026. Its four LoCoMo category rows (646 of 670, 311 of 325, 304 of 323, 175 of 221) sum to 1,436 of 1,539, which is 93.31 percent, not the headline 1,459 of 1,540. And its four category sizes (670, 325, 323, 221) match none of the four category sizes in the public dataset (282, 321, 96, 841), in any order. There may be an ordinary explanation, such as a re-labelled or corrected split, but the page does not give one. I did not contact Zep.
The practical consequence is about noise, not blame. With a ceiling near 93.6 and a judge that passes most vague answers, a 2 to 4 point difference between two LoCoMo scores sits inside the benchmark's own uncertainty.
6. What the baselines say
Comparison tables rank memory systems against each other. The more useful comparison for a buyer is against doing nothing special. Four sources report that baseline.
| Source | Benchmark and models | Memory layer | Baseline | What it shows |
|---|---|---|---|---|
| Mem0 paper, 2025 | LoCoMo, gpt-4o-mini | Mem0 66.88, Mem0 with graph 68.44 | Full context 72.90 | Full context scored higher; Mem0's p95 total latency was 1.44 s against 17.12 s |
| Zep paper, 2025 | LongMemEval_s, gpt-4o | Zep 71.2 | Full context 60.2 | Zep scored higher; latency 2.58 s against 28.9 s, context 1.6k against 115k tokens |
| Letta, 2025 | LoCoMo, gpt-4o-mini | Mem0 with graph 68.5 (as cited by Letta) | Filesystem agent with search tools 74.0 | A plain file beat the memory layer, in Letta's own run |
| arXiv:2603.04814, 2026 | LoCoMo and LongMemEval, GPT-5-nano and GPT-5-mini | Mem0 pipeline 57.68 and 49.00 | Long-context GPT-5-mini 92.85 and 82.40 | Long context scored higher; the memory system became cheaper after about ten turns at 100k tokens of context |
The evidence for an accuracy gain over full context is mixed. Zep's paper reports one on LongMemEval. Mem0's own paper and the 2026 cost study report a loss on the benchmarks they used. The evidence for a latency and cost gain is consistent across all three papers, and that is the part of the case I would take seriously. The 2026 cost study put numbers on it for 500 LongMemEval conversations at a mean of 101,601 tokens: fact extraction with GPT-5-nano cost $21.76 in total ($0.0435 per conversation), and answering from retrieved facts cost $0.65 for all 500 questions. Write cost grows with how much you ingest, and read cost stays roughly flat.
Two cautions on that table. Letta's 74.0 is a vendor's own run, and Letta says Mem0 did not respond to its questions about how Mem0 ran MemGPT. And I did not check the 2026 paper's authors' affiliations, so I cannot call it independent of both vendors. I can say it is not a Mem0-versus-Zep test.
7. Can any two of these scores be compared?
I wrote a strict rule. Two scores are comparable only if the same party ran both, and the benchmark, variant, answer model and judge model are all known and equal. A blank never counts as a match, because a blank is a missing control. Here is the output on my 18-score ledger.
== 5. Comparability: which published numbers can be set side by side
LoCoMo: 10 claims, 45 pairs, 0 comparable under the strict rule
LongMemEval: 8 claims, 28 pairs, 0 comparable under the strict rule
blank control fields across 18 claims: {'judge': 16, 'answerer': 7, 'variant': 7}
Zero of 73 pairs pass. The judge field is blank on 16 of 18 scores in the sources I read. Even Mem0's own 2025 paper, where Mem0 ran Mem0, Zep and the full-context baseline in one harness, fails the rule because I found no judge model named in it. That is the useful finding. A reader choosing between these products today cannot reconstruct the conditions of most published scores from the places the scores appear.
8. How I would choose
This section is my recommendation, not a measured result.
- Check whether you need a memory layer. If each user's history fits in your model's context, start with the whole history in the prompt or a file the agent can search, and measure it. The 2026 cost study's break-even was about ten turns at 100k tokens of context, with prompt caching modelled. Below that, long context was the cheaper option in that study.
- Build a test from your own transcripts. Write 50 to 100 questions with answers you checked by hand. Cover the five abilities LongMemEval lists: information extraction, multi-session reasoning, temporal reasoning, knowledge updates and abstention (the agent should say it does not know). Weight the ones your product depends on. Also sample what the extractor actually stored: one published audit of 10,134 Mem0 entries shows how to check a store for junk.
- Test your judge before trusting it. Write deliberately wrong but on-topic answers for your questions and see how many the judge passes. Penfield's method is the template. If the judge passes more than a few percent, it cannot separate two systems.
- Record seven fields next to every score you keep: system and version, benchmark and variant, answer model, judge model and prompt, question count as k out of n, retrieval depth or token budget, and who ran it. If any field is blank, treat the score as a rumour.
- Price the write path. Extraction runs an LLM over everything you ingest. Use the study's $0.0435 per 100k-token conversation as an order of magnitude with a small model, then rerun it with your model and volume. My ROI calculator is a starting point for the surrounding business case.
| Your situation | Start with | Why, and what is not yet tested |
|---|---|---|
| Short per-user histories that fit in context | Long context or a searchable file | Letta's filesystem run and the 2026 cost study both beat a memory layer on accuracy. Both are single runs. |
| Facts change and you must answer "as of" a date | Test Zep with Graphiti and Mem0 side by side on knowledge-update questions | Zep describes a temporal knowledge graph in which facts carry validity timestamps; Mem0's research page describes add-only extraction with temporal re-ranking. These are vendor descriptions. I did not test either. |
| Very long histories and tight latency | A memory layer, then your own cost model | The latency and cost case holds across the Mem0, Zep and 2026 papers. The accuracy case does not. |
If you are weighing this for a real build and want the evaluation run on your own transcripts, that is part of the consulting work I do. My guide to evaluating an AI agent before deployment covers the harness side of step 2, and my agent framework scorecard shows the same habit of stating the rubric before the results.
9. Rerun it
This script downloads the LoCoMo file and reproduces the counts, the ceiling and the consistency checks in sections 4 and 5. It needs Python 3 and a network connection, and nothing else. The Zep category rows are typed in from the page I read on 23 November 2026, so recheck them against the live page before relying on them.
import collections, json, urllib.request
URL = "https://raw.githubusercontent.com/snap-research/locomo/main/data/locomo10.json"
data = json.load(urllib.request.urlopen(URL, timeout=60))
counts = collections.Counter(q["category"] for conv in data for q in conv["qa"])
scored = sum(v for k, v in counts.items() if k != 5)
print("questions by category:", dict(sorted(counts.items())), "| scored (1-4):", scored)
# 1. Zep's 2025 correction: what extra numerator does 84.61 -> 75.14 imply?
extra = (84.61 - 75.14) / 100 * scored
print(f"implied extra 'correct' answers: {extra:.0f} of {counts[5]} category-5 questions")
# 2. Ceiling if 99 of the 1,540 answer keys are wrong (Penfield Labs audit)
ceiling = 100 * (scored - 99) / scored
print(f"ceiling: {ceiling:.2f}% = {scored - 99}/{scored}")
# 3. Does a published headline equal the sum of its own category rows?
rows = [(646, 670), (311, 325), (304, 323), (175, 221)] # Zep page, 23 Nov 2026
k, n = sum(r[0] for r in rows), sum(r[1] for r in rows)
print(f"headline 1459/1540 = {100*1459/1540:.2f}% | rows sum {k}/{n} = {100*k/n:.2f}%")
print("page category sizes match dataset sizes:",
bool(set(r[1] for r in rows) & set(counts[c] for c in (1, 2, 3, 4))))
Output on 23 November 2026, Python 3.12.3:
questions by category: {1: 282, 2: 321, 3: 96, 4: 841, 5: 446} | scored (1-4): 1540
implied extra 'correct' answers: 146 of 446 category-5 questions
ceiling: 93.57% = 1441/1540
headline 1459/1540 = 94.74% | rows sum 1436/1539 = 93.31%
page category sizes match dataset sizes: False
The comparability rule is five lines. Unknown never equals unknown:
FIELDS = ("benchmark", "variant", "answerer", "judge")
def comparable(a, b):
if a["runner"] != b["runner"]:
return False
return all(a.get(f) is not None and a.get(f) == b.get(f) for f in FIELDS)
I ran ten unit tests against these checks, including planted defects: a percentage that does not match its k out of n, a breakdown that does not sum, and two claims with a blank judge that must not count as equal. All ten pass. I would rerun the page's source reads quarterly, because both vendors update these pages and the numbers move.
10. What I did not measure
- I did not install, run or call Mem0 or Zep. I cannot say which answers your questions better.
- I did not re-run the Penfield audit. The 93.57 percent ceiling is arithmetic on its two published numbers, and the audit is not peer reviewed.
- I could not read either vendor's benchmark harness outputs. Zep's page lists a reader, a judge and retrieval depths. Mem0's pages and its 2025 paper do not name a judge model, in the text I read.
- I did not open Mem0's benchmark repository, which Zep's page cites for its Mem0 figure, so the 90.4 is as quoted.
- I did not check the LongMemEval variant or the retrieval depth behind Mem0's 94.4 and 93.4. A third-party page says the 94.4 is at top-200, and I did not verify that.
- I did not contact either vendor about the category-row mismatch on Zep's page or the label on Mem0's comparison page.
- I did not check the affiliations of the authors of arXiv:2603.04814, or whether its LongMemEval variant matches the one Zep's paper used.
- Everything is a snapshot of pages read on 23 November 2026, and both vendors update these pages.
Sources
- Zep: A Temporal Knowledge Graph Architecture for Agent Memory (arXiv:2501.13956, Tables 2 and 3)
- Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory (arXiv:2504.19413)
- Beyond the Context Window: A Cost-Performance Analysis of Fact-Based Memory vs. Long-Context LLMs (arXiv:2603.04814, Table 3)
- LongMemEval (arXiv:2410.10813) and LoCoMo (arXiv:2402.17753); dataset file at snap-research/locomo
- getzep/zep-papers issue 5, the May 2025 LoCoMo dispute thread, and Zep's post
- Zep's benchmark page and Zep's Mem0 comparison page, read 23 November 2026
- Mem0's research page, state of agent memory post (updated 10 October 2026) and Zep vs Mem0 comparison (updated 3 September 2026)
- Penfield Labs, We audited LoCoMo (8 April 2026) and its audit repository
- Letta, Benchmarking AI Agent Memory: Is a Filesystem All You Need?
Frequently Asked Questions
Is Mem0 or Zep more accurate?
Neither can be shown from the published scores. On 23 November 2026 Mem0's pages report 92.5 on LoCoMo and 94.4 on LongMemEval, and Zep's page reports 94.7 and 90.2. Those come from different harnesses, and in a ledger of 18 published scores I found no pair that shares the same runner, benchmark variant, answer model and judge model. Test both on your own transcripts.
Why does Mem0 score 49 in one place and 94.4 in another?
They are different measurements. The 49.0 is in arXiv:2603.04814, a March 2026 cost study that ran the Mem0 framework with GPT-5-nano for extraction and GPT-5-mini as the reader, and long-context GPT-5-mini scored 82.4 on the same LongMemEval questions. The 94.4 is Mem0's own April 2026 algorithm, self-reported, with models the page does not state.
What happened with Zep's 84 percent LoCoMo claim?
Zep's 2025 post claimed about 84 percent. Mem0's CTO pointed out that the calculation counted correct category-5 answers in the numerator while excluding that category from the denominator. Zep agreed and corrected its score to 75.14 percent, plus or minus 0.17 over 10 runs. Mem0's own re-run of Zep gave 58.44 percent, which Zep disputed, and the thread closed without a reconciled figure.
Is LoCoMo reliable enough to choose a memory layer?
Treat it as a rough screen. A Penfield Labs audit, one team's non-peer-reviewed work, reports 99 wrong answers in the 1,540-question key, which caps a strict score at 93.57 percent, and a judge that accepted 62.81 percent of deliberately wrong but on-topic answers. A difference of a few points between two LoCoMo scores sits inside that noise.
Do I need a memory layer, or is long context enough?
For short per-user histories, long context or a searchable file is a fair starting point. In a 2026 cost study, long-context GPT-5-mini scored higher than the Mem0 pipeline on both benchmarks, and the memory system became cheaper after about ten turns at 100k tokens of context. Measure both on your own data before committing.
Ready to Get Started?
Book a free 30-minute discovery call. We'll identify your biggest opportunities and show you exactly what AI automation can do for your business.