Total Recall at What Cost? Benchmarking the Serving Cost of Agentic Memory Systems
Summary
This paper benchmarks the serving cost of three agentic memory systems (Mem0, Hindsight, Mastra Observational Memory) against reference strategies across conversational backbones, finding that cost is driven by internal memory behavior, break-even points vary widely, and no system wins on both cost and accuracy.
View Cached Full Text
Cached at: 08/13/26, 03:28 PM
# Total Recall at What Cost? Benchmarking the Serving Cost of Agentic Memory Systems
Source: [https://arxiv.org/html/2608.11879](https://arxiv.org/html/2608.11879)
## Total Recall at What Cost? Benchmarking the Serving Cost of Agentic Memory SystemsCCS:Computing methodologies Natural language processingCCS:Computing methodologies Distributed artificial intelligenceCCS:General and reference
2026© , 2026;
###### Abstract\.
Long\-running conversational agents increasingly rely on a memory system to avoid resending the whole conversation each turn, yet how much that costs to serve has received little systematic benchmarking\. We compare three memory systems \(Mem0, Hindsight, and Mastra Observational Memory\) against two reference strategies — a fixed\-size rolling window and resubmitting the full transcript — across two backbones and conversations of up to 400 turns, pairing every cost measurement with answer accuracy on 665 LoCoMo questions\. First, a memory system’s serving cost cannot be predicted from conversation length and message size alone: a regression that tracks the two reference strategies closely misses the memory systems by1818–69%69\\%, their cost driven instead by internal memory behavior\. Second, a break\-even analysis shows that whether — and when — a memory system becomes cheaper to serve than the full transcript is highly sensitive to the system and the backbone, from the first tens of turns for the cheapest to never within 400 turns for the most expensive\. Third, no system wins on both axes: accuracy spans2121–54%54\\%, and the backbone choice drives cost as much as the memory system does\.
###### Keywords:
agentic memory systems, LLM inference cost, cost benchmarking, cost modeling, cost break\-even, long\-running conversational agents, cost–accuracy trade\-off
## 1\.Introduction
Conversational agents built on large language models \(LLMs\) have moved from single\-session demonstrations into deployments that span weeks or months of interaction\. To stay coherent across sessions, such an agent must reuse information established in earlier turns\. Two strategies address this\. The first resubmits the full prior transcript into the context window of a long\-context LLM on every turn, relying on the model to attend over all past interaction\. The second builds a dedicated*memory system*that distills past interaction into compact records — extracted facts, summaries, or knowledge\-graph entries — and retrieves only the relevant subset at query time\([Lewis et al\. 2020](https://arxiv.org/html/2608.11879#bib.bib16);[Packer et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib24);[Chhikara et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib7)\)\. The second strategy has since been developed into a variety of architectures\.
As these agents scale, deployment cost becomes a first\-order concern alongside accuracy\. Commercial LLM APIs price requests by token count\([OpenAI 2025a](https://arxiv.org/html/2608.11879#bib.bib22);[Anthropic 2025](https://arxiv.org/html/2608.11879#bib.bib3)\), so, because the history grows with every turn, the per\-turn cost of resubmitting it rises without bound as a session continues\. Memory systems are adopted, in large part, to escape this growth: by replacing an ever\-larger transcript with a small retrieved payload, they promise a per\-turn cost that stays roughly flat as a conversation lengthens\. This framing, however, overlooks the cost of the memory system itself\. Modern memory systems are not passive stores; they run their own LLM pipelines — extracting facts at ingest, embedding and retrieving them, and in some designs periodically reflecting over accumulated state to consolidate it\. Each stage incurs its own billable model calls\. Yet evaluation of memory systems concentrates almost entirely on accuracy and recall\([Maharana et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib18);[Wu et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib30);[Jiang et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib12)\), and what cost evidence exists appears as isolated token\-savings or latency figures reported by individual systems under their own conditions\. No study has measured the serving cost of memory systems across systems, under a common backbone and pricing, against a transparent baseline\.
As a result, a practitioner choosing a memory system today cannot answer a basic question: what does it cost to serve, and does that cost actually beat resubmitting the transcript? A memory system’s per\-turn cost is shaped by its own internal pipeline behavior, and whether it is economical further depends on how long the conversation runs and which backbone model serves it\. Without a controlled, cross\-system measurement, the cost case for memory systems rests on assumption rather than evidence\.
In this study, we benchmark the serving cost of agentic memory systems\. We measure three memory systems — Mem0\([Chhikara et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib7)\), Hindsight\([Latimer et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib15)\), and Mastra Observational Memory\([Barnes 2026](https://arxiv.org/html/2608.11879#bib.bib4)\)— against two reference strategies that bracket the cost surface: a fixed\-size rolling window and full\-transcript resubmission\. We run every system across two backbone models at two reasoning\-effort settings, on synthetic conversations of up to 400 turns, and pair each cost measurement with answer accuracy on the LoCoMo benchmark\([Maharana et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib18)\)so that cost and accuracy are read from a single matched configuration\. Our contributions are:
- •A controlled benchmark of the serving cost of three agentic memory systems, measured against two transparent reference strategies: a rolling window and full\-transcript resubmission\.
- •A per\-turn cost model that fits message size and conversation depth as two independent terms and is validated on held\-out workloads; it predicts the reference strategies but not the memory systems, whose cost is driven by internal memory state\.
- •A break\-even analysis that identifies when a memory system becomes cheaper to serve than resubmitting the full transcript\.
- •A joint cost–accuracy comparison on LoCoMo across memory systems and backbone models\.
## 2\.Related Work
Memory systems for conversational agents\.Retrieval\-augmented generation\([Lewis et al\. 2020](https://arxiv.org/html/2608.11879#bib.bib16)\)is an early form of memory augmentation, prepending retrieved document chunks to the prompt to ground generation in external knowledge\. MemGPT\([Packer et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib24)\)draws an analogy between LLM context management and operating\-system virtual memory, paging facts between an in\-context working memory and external long\-term storage\. Mem0\([Chhikara et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib7)\)extracts atomic, flat\-typed facts from each turn and stores them in a vector database, retrieving the top\-kkat query time\. Later systems pursue richer representations, including interlinked memory notes\([Xu et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib31)\), temporally\-aware knowledge graphs\([Rasmussen et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib25)\), and durative summaries of temporally continuous facts\([Su et al\. 2026](https://arxiv.org/html/2608.11879#bib.bib28)\)\. The three systems we benchmark span this design space: Mem0 represents flat extract\-and\-retrieve, Hindsight\([Latimer et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib15)\)adds a retain–recall–reflect memory ingestion pipeline, and Mastra Observational Memory\([Barnes 2026](https://arxiv.org/html/2608.11879#bib.bib4)\)runs an observer–reflector–actor loop with threshold\-triggered consolidation\. Crucially, these architectures differ not only in what they store but in*how they spend compute*— a fixed\-size fact extraction, a retrieval payload that grows as the conversation lengthens, or a threshold\-triggered memory\-consolidation pass — so they cannot be assumed to share a single cost profile\. Prior work characterizes these systems by their representations and recall accuracy; we characterize them by serving cost\.
Benchmarking memory and long context\.Several benchmarks evaluate how well a system recalls extended interaction\. LoCoMo\([Maharana et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib18)\)provides multi\-session dialogues whose questions span single\-hop, multi\-hop, temporal, and open\-domain categories; LongMemEval\([Wu et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib30)\)tests information extraction, multi\-session reasoning, temporal reasoning, knowledge updates, and abstention; and PersonaMem\([Jiang et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib12)\)probes persona consistency across questions\. Such benchmarks have also been used to weigh memory systems against long\-context inference directly, as expanding context windows raise the question of whether retrieval remains necessary\([Khalusova 2024](https://arxiv.org/html/2608.11879#bib.bib14);[Rengifo and Martin 2025](https://arxiv.org/html/2608.11879#bib.bib26)\), even though long\-context models attend unevenly across a long prompt\([Liu et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib17)\)\. That debate, however, has been conducted almost entirely on accuracy: these benchmarks measure what a system recalls, not what it costs to serve, and the serving cost of a memory system is left uninstrumented\. Our work pairs accuracy on LoCoMo with a matched cost measurement so that the two are directly comparable\.
Cost and efficiency of LLM inference\.Per\-token API pricing makes inference cost a central production concern, and a range of techniques target it\. Prompt caching reuses the precomputed key\-value states of a shared input prefix\([Gim et al\. 2024](https://arxiv.org/html/2608.11879#bib.bib10)\), and providers discount cached input tokens steeply\([OpenAI 2024](https://arxiv.org/html/2608.11879#bib.bib21);[Anthropic 2024](https://arxiv.org/html/2608.11879#bib.bib2)\); prompt compression instead shortens the input itself\([Jiang et al\. 2023](https://arxiv.org/html/2608.11879#bib.bib13)\)\. Such techniques optimize a*single*inference path\. A memory system, by contrast, is a multi\-stage pipeline whose total billed cost compounds an ingest stage, a retrieval stage, and an answer stage, each issuing its own model calls\. The compositional cost of such a pipeline — and the conversation length at which it undercuts simply resubmitting the transcript — has not been characterized\. We provide that characterization: a controlled serving\-cost benchmark of memory systems against transparent floor and ceiling baselines, with a break\-even analysis and a matched accuracy comparison\.
## 3\.Methodology
We evaluate three memory systems in two separate benchmarks that share a common backbone, reasoning\-effort, and embedding configuration: acostbenchmark, measuring billable serving cost as a function of conversation length and turn size, and anaccuracybenchmark, measuring answer correctness on a stratified subset of a multi\-session conversational QA benchmark\.[Section3\.5](https://arxiv.org/html/2608.11879#S3.SS5)combines them into a single cost\-per\-correct\-answer statistic\.
### 3\.1\.Memory Systems
We benchmark three memory systems:Mem0\([Chhikara et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib7)\),Hindsight\([Latimer et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib15)\), andMastra Observational Memory\(Mastra OM\)\([Barnes 2026](https://arxiv.org/html/2608.11879#bib.bib4)\)\. Per\-system pipeline configuration is tabulated in[Table5](https://arxiv.org/html/2608.11879#A1.T5)\.
We additionally evaluate two reference strategies that bracket the cost surface:
Rolling window \(floor\)\.:Each turn sees only the last 10 turns; nothing is stored persistently — the cheapest possible strategy\.
Full history \(ceiling\)\.:The entire transcript is resubmitted every turn\. Every memory system’s break\-even point \([Section4\.2](https://arxiv.org/html/2608.11879#S4.SS2)\) is measured against this ceiling\.
### 3\.2\.Backbone Models and Reasoning Levels
All systems are evaluated under the same two backbones,gpt\-oss\-20b\([OpenAI et al\. 2025](https://arxiv.org/html/2608.11879#bib.bib20)\)andGemma 4 26B A4B\([Google DeepMind 2026](https://arxiv.org/html/2608.11879#bib.bib11)\), each at two reasoning\-effort settings \(*low*,*medium*\)\. Embeddings usepplx\-embed\-v1\-0\.6b\([Eslami et al\. 2026](https://arxiv.org/html/2608.11879#bib.bib9)\); per\-token pricing and OpenRouter provider routing are given in[AppendixA](https://arxiv.org/html/2608.11879#A1)\.
### 3\.3\.Cost Benchmark Design
[Figure1](https://arxiv.org/html/2608.11879#acmlabel1)gives an end\-to\-end overview of the cost benchmark, from the design grid through the fitted cost model; the remainder of this subsection details each stage\.
1\. Design grid2\. Synthetic dialogue3\. Replay through 3 systems \+ 2 baselines5\. Separable cost modelRetrievalAnsweringest?Ingestif triggered4\. Per\-turn pipeline \(×N\\times\\,Nturns\)for each turnper\-turnCCFigure 1\.Overview of the cost benchmark\. \(1\) We sample five\(N,L\)\(N,L\)cells: the four corners and the center of a grid over conversation lengthNNand per\-turn token sizeLL\. \(2\) For each\(N,L,seed\)\(N,L,\\mathrm\{seed\}\), an LLM generates a two\-speaker conversation that is cached and reused unchanged, so every system sees the same input\. \(3\) Each cached dialogue is replayed through three memory systems and two reference baselines\. \(4\) Within a run, every turn passes through retrieval, answer, and an ingest gate that decides whether to flush the buffered turns; the input tokens billed across these three stages give the per\-turn costCC\. \(5\) We then fit a log\-log cost model with separateNNandLLterms, one fit per \(system, model\), validated by leave\-one\-out cross\-validation with bootstrap confidence intervals\.A two\-tier flow diagram\. The top row shows four boxed stages left\-to\-right: \`\`1\. Design grid'', \`\`2\. Synthetic dialogue'', \`\`3\. Replay through three memory systems and two baselines'', and \`\`5\. Separable cost model''\. Arrows connect each stage to the next\. Below stage 3, a dashed\-outline group labeled \`\`4\. Per\-turn pipeline \(x N turns\)'' contains four sub\-nodes in sequence: \`\`Retrieval'', \`\`Answer'', a diamond gate \`\`ingest?'', and \`\`Ingest''\. An arrow from stage 3 enters this per\-turn group; an arrow exits it carrying \`\`per\-turn C'' into stage 5\.#### Grid\.
For each \(system, model\) pair we sample five\(N,L\)\(N,L\)cells: the four corners and the center of a grid over conversation lengthNNand per\-turn token sizeLL\. Each cell is run eight times with different random seeds\. The exact\(N,L\)\(N,L\)values, including extra cells for the baselines and Mastra OM, are listed in[AppendixB](https://arxiv.org/html/2608.11879#A2)\.
#### Synthetic dialogue generation\.
Each cost\-benchmark dialogue is generated synthetically by an LLM: for each\(N,L,seed\)\(N,L,\\text\{seed\}\)the model produces a two\-speaker conversation ofNNturns at roughlyLLtokens per turn, prompted to keep concrete personal detail — names, dates, preferences, plans\. Over\-length turns are trimmed and under\-length turns padded so turn lengths stay close toLL; each finished dialogue is cached so it is identical across repeats and across systems\. Generating dialogues lets us fill every\(N,L\)\(N,L\)cell exactly\. The generation prompt is reproduced in[AppendixC](https://arxiv.org/html/2608.11879#A3)\.
#### Cost model\.
For a turn at depthttin a conversation whose messages averageLLtokens, letCCbe the total LLM input tokens billed across ingest, retrieval, and answer\. We modelCCrather than dollar cost: dollar cost follows from the per\-token rates of[AppendixA](https://arxiv.org/html/2608.11879#A1), and output tokens, which do not grow with depth, we track separately through theγ\\gammadiagnostic below\.
Conversation depth and message size scale cost differently, so we fit them as two separate log\-log terms rather than as one cumulative\-content predictor \(N⋅LN\{\\cdot\}L\):
\(1\)log\(C\+1\)=a\+plog\(L\+1\)\+qlog\(t\+1\),\\log\(C\{\+\}1\)=a\+p\\,\\log\(L\{\+\}1\)\+q\\,\\log\(t\{\+\}1\),whereppis how fast cost grows with message size andqqhow fast it grows with depth:q≈0q\\\!\\approx\\\!0is the signature of a bounded context window;p≈q≈1p\\\!\\approx\\\!q\\\!\\approx\\\!1is cumulative content\. We fit this form once per \(system, model\)\. Alongside it we report three token\-accounting diagnostics:γ\\gamma\(output\-to\-input ratio\),ζans\\zeta\_\{\\mathrm\{ans\}\}\(answer\-stage reasoning\-to\-output ratio\), andζing\\zeta\_\{\\mathrm\{ing\}\}\(ingest\-stage reasoning\-to\-output ratio\)\.
#### Held\-out validation\.
We test whether each fitted model generalizes by leave\-one\-cell\-out cross\-validation\([Stone 1974](https://arxiv.org/html/2608.11879#bib.bib27)\): for every \(system, model\) we drop one\(N,L\)\(N,L\)cell, refit[Equation1](https://arxiv.org/html/2608.11879#S3.E1)on the rest, and predict the dropped cell’s mean per\-turn cost\. The error measure, LOOCV\-MAPE, is the mean absolute percentage error over the held\-out cells\. We use it as a diagnostic, not a pass/fail bar\. A low value means message size and depth alone account for the system’s cost\. A high value is itself a finding: it shows that the system’s cost is driven by internal memory state that\(L,t\)\(L,t\)cannot capture \([Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)\)\.
#### Confidence intervals\.
Confidence intervals forppandqqcome from a cluster bootstrap\([Efron 1979](https://arxiv.org/html/2608.11879#bib.bib8);[Cameron et al\. 2008](https://arxiv.org/html/2608.11879#bib.bib6)\)withB=1,000B\{=\}1\{,\}000resamples\. A*run*is one end\-to\-end execution of a synthetic dialogue through the system; each cell contributes 8 runs at different seeds\. The bootstrap resamples whole runs, not individual turns, because turns within a run share state — transcript, memory store, observation buffer — and are not independent\.
### 3\.4\.Accuracy Benchmark Design
#### Dataset\.
Accuracy is evaluated onLoCoMo, restricted to a stratified subset — four full dialogues, 665 evaluated QA pairs — chosen so its question\-category mix matches the full corpus \([AppendixB](https://arxiv.org/html/2608.11879#A2)\)\. Restricting accuracy evaluation to a single corpus anchors the joint cost–accuracy analysis on one distribution\.
#### Protocol\.
For each \(system, setting\) cell, the system ingests the full conversation, retrieves from its memory at query time, and produces a free\-form or multiple\-choice answer attemperature=0\.7\\text\{temperature\}\{=\}0\.7with a single pass per question\.
#### Judge\.
The judge isgpt\-oss\-120battemperature=0\\text\{temperature\}\{=\}0with a single pass per question\. We hold it fixed across all setting cells so judging is consistent across systems\. Accuracy is the fraction of questions judged correct, reported per \(system, setting\) cell\.
### 3\.5\.Joint Cost–Accuracy Framing
For each system at each setting we have a matched\(C^,Acc\)\(\\hat\{C\},\\mathrm\{Acc\}\)pair, whereC^\\hat\{C\}is the mean billable cost at the\(N=100,L=100\)\(N\{=\}100,L\{=\}100\)reference cell andAcc\\mathrm\{Acc\}is the accuracy on the LoCoMo subset\. We report this joint matrix \([Table3](https://arxiv.org/html/2608.11879#S4.T3)\) and the cost\-per\-correct\-answer ratioC^/Acc\\hat\{C\}/\\mathrm\{Acc\}as the primary derived statistic\.
## 4\.Results
We report four things: \(i\) the per\-turn cost model and its fitted exponents for the three memory systems and two baselines, \(ii\) held\-out cross\-validation of that model, \(iii\) a cost break\-even analysis of when a memory system becomes cheaper to serve than the full\-history baseline, and \(iv\) accuracy on the LoCoMo subset\. We then present the joint cost–accuracy matrix\.
### 4\.1\.Per\-Turn Cost Model
[Table1](https://arxiv.org/html/2608.11879#S4.T1)reports the fitted exponents of the separable cost model \([Equation1](https://arxiv.org/html/2608.11879#S3.E1)\), its in\-sampleR2R^\{2\}, and held\-out LOOCV\-MAPE\. We summarize each as a range across the four \(backbone, reasoning\-effort\) settings\.[Table6](https://arxiv.org/html/2608.11879#A2.T6)gives the per\-\(system, setting\) breakdown\.
Systempp\(LL\)qq\(tt\)R2R^\{2\}LOOCV\-MAPEFull history0\.95–0\.970\.94–0\.970\.996–0\.9990\.029–0\.053Rolling window \(k=10k\{=\}10\)0\.85–0\.920\.10–0\.120\.913–0\.9500\.061–0\.065Mem00\.16–0\.180\.07–0\.090\.048–0\.0690\.184–0\.222Hindsight0\.14–0\.170\.41–0\.430\.320–0\.3480\.461–0\.478Mastra OM0\.61–0\.790\.23–0\.360\.457–0\.5570\.408–0\.685Table 1\.Separable per\-turn cost modellog\(C\+1\)=a\+plog\(L\+1\)\+qlog\(t\+1\)\\log\(C\{\+\}1\)=a\+p\\log\(L\{\+\}1\)\+q\\log\(t\{\+\}1\)fitted per \(system, setting\), summarized as ranges across the four settings\.R2R^\{2\}is in\-sample; LOOCV\-MAPE is leave\-one\-\(N,L\)\(N,L\)\-cell\-out held\-out error\. Held\-out folds per row: full\-history 8, rolling\-window 8, Mastra OM 7, Mem0 5, Hindsight 5\.[Table6](https://arxiv.org/html/2608.11879#A2.T6)gives the per\-\(system, setting\) breakdown\.#### Fitted exponents\.
The two baselines set the reference points\. The full\-history baseline fitsp≈q≈1p\\approx q\\approx 1\(R2≥0\.996R^\{2\}\\geq 0\.996\): every turn resubmits the whole transcript, so cost is proportional to message size times depth\. The rolling\-window baseline fitsp≈0\.9p\\approx 0\.9butq≈0\.1q\\approx 0\.1: cost scales almost linearly with message size but is nearly flat in depth\. This is the result of a bounded ten\-turn window\. A single cumulative\-content predictorT=N⋅LT=N\{\\cdot\}Lcannot capture this depth–size split\. Fit onlog\(T\+1\)\\log\(T\{\+\}1\)alone, the same rolling\-window data reaches onlyR2=0\.39R^\{2\}=0\.39–0\.400\.40, against the0\.910\.91–0\.950\.95of the separable model\. The three memory systems show different cost patterns\. Mem0 has small exponents on both axes \(p≈0\.17p\{\\approx\}0\.17,q≈0\.08q\{\\approx\}0\.08\)\. Hindsight has a small message\-size exponent but the largest depth exponent \(p≈0\.15p\{\\approx\}0\.15,q≈0\.42q\{\\approx\}0\.42\)\. Mastra OM has the largest message\-size exponents of the three \(p∈\[0\.61,0\.79\]p\\in\[0\.61,0\.79\],q∈\[0\.23,0\.36\]q\\in\[0\.23,0\.36\]\) and the highest in\-sampleR2R^\{2\}\.
#### Held\-out validation\.
LOOCV\-MAPE separates the five configurations into two clear groups\. The two baselines generalize to within2\.92\.9–6\.5%6\.5\\%\. The memory systems do not:1818–22%22\\%for Mem0,4646–48%48\\%for Hindsight, and4141–69%69\\%for Mastra OM\. The worst cell is off by1\.9×1\.9\\timesthe true cost\. The held\-out failures cluster at the grid corners: short conversations for Hindsight and small\-message \(L=50L\{=\}50\) cells for Mastra OM\. We return to this split in[Section5](https://arxiv.org/html/2608.11879#S5)\.
#### Token\-accounting diagnostics\.
[Table7](https://arxiv.org/html/2608.11879#A2.T7)reports three per\-stage ratios that the cost model does not capture on its own: the output\-to\-input token ratioγ\\gamma, the answer\-stage reasoning\-to\-output ratioζans\\zeta\_\{\\mathrm\{ans\}\}, and the ingest\-stage reasoning\-to\-output ratioζing\\zeta\_\{\\mathrm\{ing\}\}\. These ratios, not the cost exponents, drive the cross\-backbone cost gap discussed in[Section5](https://arxiv.org/html/2608.11879#S5)\.
### 4\.2\.Cost Break\-Even: When a Memory System Pays for Itself
A memory system pays for itself only once a conversation is long enough to spread its overhead\. We define the*break\-even length*as the turn at which a system’s cumulative cost drops below the full\-history cost and stays below it\. We compute break\-even from measured per\-turn cost \(8 reps averaged, no fitted\-model extrapolation\)\. Each value therefore comes from real grid cells and is not affected by the held\-out prediction failure of[Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)\.
Figure 2\.Cumulative serving cost vs\. conversation length for a 400\-turn conversation at 200 tokens per turn undergpt\-oss\-20bat low reasoning effort \(top axis: cumulative conversation tokens\)\. Dots mark the break\-even turn at which a system’s cumulative cost drops below the full\-history ceiling; the full\-history curve is measured to turn 374 and fitted \(dashed\) beyond \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.A line plot of cumulative serving cost \(y\-axis\) against conversation turn \(x\-axis, 0–400\) for the three memory systems and the two baselines on the gpt\-oss\-20b backbone at low reasoning effort\. The full\-history baseline grows superlinearly and dominates beyond roughly 100 turns; Mastra OM stays lowest among the memory systems; Mem0 crosses the full\-history line near turn 82; Hindsight crosses near turn 356; the rolling\-window baseline is flat and lowest at all turns\. Markers on each memory\-system curve indicate its break\-even turn against full history\.[Figure2](https://arxiv.org/html/2608.11879#acmlabel2)traces this for a 400\-turn conversation under gpt\-oss\-20b: Mastra OM breaks even at turn 0, Mem0 at turn 82, and Hindsight only at turn 356\. Across all measured 400\-turn cells the break\-even length spans Mastra OM 0–86, Mem0 0–342, and Hindsight 60–never\. By a 400\-turn conversation the full transcript costs up to12\.7×12\.7\\timesa memory system that has broken even\. Hindsight at small messages, in turn, can cost up to3\.3×3\.3\\timesthe full transcript\. Break\-even arrives earlier with larger per\-turn messages and on Gemma 4 26B A4B\. We discuss these workload dependencies in[Section5](https://arxiv.org/html/2608.11879#S5)\.
### 4\.3\.Accuracy on LoCoMo
[Table2](https://arxiv.org/html/2608.11879#S4.T2)reports per\-\(system, setting\) accuracy on the 665 evaluated questions of the LoCoMo subset\. Mem0 and Mastra OM cover a wide range,\[0\.21,0\.52\]\[0\.21,0\.52\], and both score higher on Gemma 4 26B A4B than on gpt\-oss\-20b\. We report Hindsight’s per\-cell accuracy here\. But because its ingest stage did not run under the per\-cell backbone \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\), we do not compare its cells across backbones or reasoning levels\.
Systemgpt\-oss\-20blowgpt\-oss\-20bmediumGemma 4 26B A4BlowGemma 4 26B A4BmediumMem00\.322\[0\.287, 0\.358\]0\.214\[0\.184, 0\.246\]0\.498\[0\.460, 0\.536\]0\.516\[0\.478, 0\.554\]Mastra OM0\.361\[0\.325, 0\.398\]0\.308\[0\.274, 0\.344\]0\.429\[0\.391, 0\.466\]0\.502\[0\.464, 0\.540\]Hindsight†0\.528\[0\.490, 0\.565\]0\.541\[0\.503, 0\.579\]0\.493\[0\.455, 0\.531\]0\.498\[0\.460, 0\.536\]Table 2\.Accuracy on the LoCoMo subset \(665 evaluated questions\), per \(system, setting\) cell\. Bracketed values are Wilson 95% confidence intervals\([Wilson 1927](https://arxiv.org/html/2608.11879#bib.bib29);[Brown et al\. 2001](https://arxiv.org/html/2608.11879#bib.bib5)\)atn=665n\{=\}665; they treat the 665 questions as independent and so understate uncertainty given dialogue\-level clustering \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.†Hindsight’s ingest stage ran under a configuration the benchmark did not control, so its cells are not comparable across the backbone/reasoning columns \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.
### 4\.4\.Joint Cost–Accuracy Matrix
[Table3](https://arxiv.org/html/2608.11879#S4.T3)pairs each cell’s accuracy with its mean billable cost at the reference cell \(N=100,L=100N\{=\}100,L\{=\}100\), in USD per 100\-turn conversation \(8 reps averaged\), and with the cost\-per\-correct\-answer ratioC^/Acc\\hat\{C\}/\\mathrm\{Acc\}\. We discuss the trade\-off in[Section5](https://arxiv.org/html/2608.11879#S5)\.
SystemMetricgpt\-oss\-20blowgpt\-oss\-20bmediumGemma 4 26B A4BlowGemma 4 26B A4BmediumMem0Acc0\.322\[0\.287, 0\.358\]0\.214\[0\.184, 0\.246\]0\.498\[0\.460, 0\.536\]0\.516\[0\.478, 0\.554\]C^\\hat\{C\}\(USD\)$0\.059$0\.065$0\.019$0\.019C^/Acc\\hat\{C\}/\\mathrm\{Acc\}0\.1830\.3050\.0380\.037Mastra OMAcc0\.361\[0\.325, 0\.398\]0\.308\[0\.274, 0\.344\]0\.429\[0\.391, 0\.466\]0\.502\[0\.464, 0\.540\]C^\\hat\{C\}\(USD\)$0\.010$0\.044$0\.030$0\.031C^/Acc\\hat\{C\}/\\mathrm\{Acc\}0\.0280\.1430\.0700\.062Hindsight†Acc0\.528\[0\.490, 0\.565\]0\.541\[0\.503, 0\.579\]0\.493\[0\.455, 0\.531\]0\.498\[0\.460, 0\.536\]C^\\hat\{C\}\(USD\)$0\.240$0\.243$0\.051$0\.052C^/Acc\\hat\{C\}/\\mathrm\{Acc\}0\.4550\.4500\.1040\.104Table 3\.Joint cost–accuracy matrix at the\(N=100,L=100\)\(N\{=\}100,L\{=\}100\)reference cell\.C^\\hat\{C\}is mean billable cost in USD per 100\-turn conversation over 8 reps, priced at the rates in[AppendixA](https://arxiv.org/html/2608.11879#A1); Acc is from the LoCoMo subset, with bracketed Wilson 95% confidence intervals atn=665n\{=\}665\(independent\-question approximation; see the clustering caveat in[Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.†Hindsight’s ingest stage ran under a configuration the benchmark did not control, so its cells are not comparable across the backbone/reasoning columns \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.At the reference cell \([Table3](https://arxiv.org/html/2608.11879#S4.T3)\), most memory systems have not yet paid back their ingest cost against full history\.[Table4](https://arxiv.org/html/2608.11879#S4.T4)recomputes the matrix at\(N=400,L=200\)\(N\{=\}400,L\{=\}200\)\. There, all Mem0 and Mastra OM cells, and all Hindsight cells except gpt\-oss\-20b medium, have crossed break\-even \([Table8](https://arxiv.org/html/2608.11879#A2.T8)\)\. Hindsight on gpt\-oss\-20b medium stays slightly above the measured full\-history cost \($0\.869 vs\. $0\.858\) and is marked*never*\. Accuracy is measured once per cell on the LoCoMo subset and does not depend on\(N,L\)\(N,L\)\. The Acc column and its Wilson intervals are therefore identical to[Table3](https://arxiv.org/html/2608.11879#S4.T3); onlyC^\\hat\{C\}and the ratio change\. The lowest\-cost\-per\-correct configuration is unchanged: Mastra OM on gpt\-oss\-20b low \(C^/Acc=0\.278\\hat\{C\}/\\mathrm\{Acc\}\{=\}0\.278\) and Mem0 on Gemma 4 26B A4B \(0\.3250\.325–0\.3390\.339\)\. The lower half of the ranking, however, flips\. Hindsight is the costliest\-per\-correct system at\(100,100\)\(100,100\), but it is no longer last in three of four columns\. Mem0 on gpt\-oss\-20b medium now costs more \(2\.1902\.190vs\.1\.6071\.607\), as does Mastra OM on both Gemma 4 26B A4B columns \(0\.7680\.768/0\.6840\.684vs\.0\.5430\.543/0\.5420\.542\)\. The reason is that Hindsight’s large fixed ingest cost spreads over a longer conversation, while Mem0 and Mastra OM scale up faster \(3\.43\.4–5\.3×5\.3\\timesvs\.77–11×11\\timesfrom the reference cell; these areC^\(400,200\)/C^\(100,100\)\\hat\{C\}\_\{\(400,200\)\}/\\hat\{C\}\_\{\(100,100\)\}ratios from[Tables3](https://arxiv.org/html/2608.11879#S4.T3)and[4](https://arxiv.org/html/2608.11879#S4.T4)for Hindsight vs\. Mem0 and Mastra OM\)\. The full\-history figures for gpt\-oss\-20b are measured only to turn 374 \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\), so gpt\-oss\-20b comparisons should be read alongside the break\-even statuses in[Table8](https://arxiv.org/html/2608.11879#A2.T8)\.
SystemMetricgpt\-oss\-20blowgpt\-oss\-20bmediumGemma 4 26B A4BlowGemma 4 26B A4BmediumMem0Acc0\.322\[0\.287, 0\.358\]0\.214\[0\.184, 0\.246\]0\.498\[0\.460, 0\.536\]0\.516\[0\.478, 0\.554\]C^\\hat\{C\}\(USD\)$0\.435$0\.469$0\.169$0\.167C^/Acc\\hat\{C\}/\\mathrm\{Acc\}1\.3502\.1900\.3390\.325Mastra OMAcc0\.361\[0\.325, 0\.398\]0\.308\[0\.274, 0\.344\]0\.429\[0\.391, 0\.466\]0\.502\[0\.464, 0\.540\]C^\\hat\{C\}\(USD\)$0\.100$0\.301$0\.330$0\.344C^/Acc\\hat\{C\}/\\mathrm\{Acc\}0\.2780\.9790\.7680\.684Hindsight†Acc0\.528\[0\.490, 0\.565\]0\.541\[0\.503, 0\.579\]0\.493\[0\.455, 0\.531\]0\.498\[0\.460, 0\.536\]C^\\hat\{C\}\(USD\)$0\.822$0\.869$0\.268$0\.270C^/Acc\\hat\{C\}/\\mathrm\{Acc\}1\.5571\.6070\.5430\.542Table 4\.Joint cost–accuracy matrix at the\(N=400,L=200\)\(N\{=\}400,L\{=\}200\)cell; all Mem0 and Mastra OM cells, and all Hindsight cells except gpt\-oss\-20b medium, have crossed break\-even against full history \([Table8](https://arxiv.org/html/2608.11879#A2.T8)\)\.C^\\hat\{C\}is mean billable cost in USD per 400\-turn conversation over 8 reps, priced with the same accounting as[Table3](https://arxiv.org/html/2608.11879#S4.T3)\(rates in[AppendixA](https://arxiv.org/html/2608.11879#A1)\); Acc is identical to[Table3](https://arxiv.org/html/2608.11879#S4.T3)because it is measured once per cell on the LoCoMo subset and is independent of\(N,L\)\(N,L\), with bracketed Wilson 95% confidence intervals atn=665n\{=\}665\(independent\-question approximation; see the clustering caveat in[Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.†Hindsight’s ingest stage ran under a configuration the benchmark did not control, so its cells are not comparable across the backbone/reasoning columns \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.
## 5\.Discussion
### 5\.1\.Separating Conversation Depth from Message Size
A single cumulative\-content predictorT=N⋅LT=N\{\\cdot\}Ltreats two different cases as the same: a long conversation of small messages and a short conversation of large messages\. Memory systems handle these two cases differently\. We therefore fit message sizeLLand conversation depthttas separate exponents \([Table1](https://arxiv.org/html/2608.11879#S4.T1)\)\. For the window\-based baselines the exponents match the known mechanism\. The full\-history baseline fitsp≈q≈1p\\approx q\\approx 1, because every token is resubmitted\. The rolling\-window baseline fitsq≈0\.11q\\approx 0\.11, so cost is nearly flat in depth; this follows from its bounded window\. Held\-out error for both stays below6\.5%6\.5\\%\. Using two predictors instead of one captures this structure: the rolling\-window in\-sampleR2R^\{2\}rises from0\.390\.39–0\.400\.40under a one\-variable power law to0\.910\.91–0\.950\.95here\.
The same separable model does*not*hold out for the memory systems\. A low in\-sampleR2R^\{2\}on its own does not show that a system has separated cost from conversation size\. Mastra OM has the highest in\-sampleR2R^\{2\}of the three memory systems, yet it has the worst held\-out error\. The held\-out test shows that per\-turn cost depends on internal memory state\. To predict serving cost for these systems at an unseen workload, we would need a model of the memory subsystem itself\. We leave this to future work \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.
### 5\.2\.Backbone and Reasoning Effort Shape the Cost Surface
The backbone’s effect on cost depends on the system and the reasoning level\. It does not favor one model in every case\. Mem0 shows this most plainly\. Its reference\-cell cost falls from $0\.059–$0\.065 under gpt\-oss\-20b to $0\.019 under Gemma 4 26B A4B, and its\(N=400,L=200\)\(N\{=\}400,L\{=\}200\)cost falls from $0\.435–$0\.469 to $0\.167–$0\.169 \([Tables3](https://arxiv.org/html/2608.11879#S4.T3)and[4](https://arxiv.org/html/2608.11879#S4.T4)\)\. This gap matches the diagnostics in[Table7](https://arxiv.org/html/2608.11879#A2.T7)\. Mem0’s answer\- and ingest\-stage reasoning\-to\-output ratios are near one on gpt\-oss\-20b but zero on Gemma 4 26B A4B, and its output\-to\-input ratioγ\\gammaexceeds one only on gpt\-oss\-20b\. Mastra OM behaves in the opposite way\. Its gpt\-oss\-20b low cell is the cheapest Mastra OM setting in both joint matrices, which fits its lowerγ\\gammaand lower reasoning ratios than its Gemma 4 26B A4B cells\. We exclude Hindsight from cross\-backbone comparisons because its ingest stage was not benchmark\-controlled \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\. In practice, backbone and memory choice are not separable: whether a given backbone reduces or increases cost, and by how much, is governed by the memory system’s internal call pattern\.
Raising reasoning effort from*low*to*medium*increases cost but does not always improve accuracy\. Mem0’s accuracy on gpt\-oss\-20b*drops*from0\.3220\.322to0\.2140\.214at the higher reasoning level\. This is likely because reasoning tokens use up themax\_tokensbudget and leave less room for the answer\. Mastra OM moves in opposite directions on the two backbones \(\+7\.3\+7\.3pp on Gemma 4 26B A4B,−5\.3\-5\.3pp on gpt\-oss\-20b\)\. Reasoning effort is therefore not a simple cost knob: at the same step, the accuracy change varies by≥10\\geq 10percentage points across systems\.
### 5\.3\.When Does a Memory System Pay Off?
No single system is best in all settings\. Mem0’s extraction\-based ingest keeps its per\-turn cost the flattest across\(L,t\)\(L,t\), but its accuracy varies the most of the three \(from0\.2140\.214to0\.5160\.516\)\. Hindsight is the most expensive system to serve:C^≈0\.24\\hat\{C\}\\approx 0\.24USD per 100\-turn conversation under gpt\-oss\-20b, several times any other cell\. Mastra OM’s threshold\-based reflector fires based on internal memory state, so its per\-turn cost does not follow conversation length or message size \([Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)\)\. The lowest cost\-per\-correct\-answer is Mastra OM on gpt\-oss\-20b low \(0\.0280\.028at\(100,100\)\(100,100\)and0\.2780\.278at\(400,200\)\(400,200\)\)\. Mem0 is the cheapest option on Gemma 4 26B A4B \(0\.0370\.037–0\.0380\.038at\(100,100\)\(100,100\)and0\.3250\.325–0\.3390\.339at\(400,200\)\(400,200\)\)\. Hindsight on gpt\-oss\-20b is the most expensive at the reference cell \(C^/Acc≈0\.45\\hat\{C\}/\\mathrm\{Acc\}\\approx 0\.45\)\.
The right choice depends on the workload\. A memory system is cheaper than full\-history serving only after it crosses its break\-even length \([Section4\.2](https://arxiv.org/html/2608.11879#S4.SS2)\)\. Mastra OM breaks even at once, Mem0 within tens of turns once messages are large, and Hindsight only late, sometimes past 400 turns\. Whether a memory system is worth its cost therefore depends on the expected conversation length and the chosen backbone, not on the system alone\. Full\-history cost grows without limit \(p≈q≈1p\\approx q\\approx 1,[Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)\) and must eventually fill any finite context window\. Within our 400\-turn grid, however, no overflow occurs \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.
### 5\.4\.Limitations
#### Synthetic cost\-benchmark dialogues\.
The cost benchmark uses LLM\-generated dialogues rather than real conversations\. This choice is deliberate: billing depends on token counts, which are set by message size and conversation length\. Ingest\-side behavior, however, can depend on content\. Memory fact extraction and memory consolidation rates depend on how many extractable facts appear per turn, and this density may differ in real conversations\.
#### Single accuracy corpus\.
Accuracy is reported on the LoCoMo subset only\. The joint claims hold for the LoCoMo distribution \(open\-domain persona\-grounded multi\-session chat\) and do not directly transfer to task\-oriented or knowledge\-intensive QA\. Validating the fitted cost model on a task\-oriented corpus \(MultiWOZ 2\.2\([Zang et al\. 2020](https://arxiv.org/html/2608.11879#bib.bib32)\)\) is planned as future work\.
#### Cost model is descriptive, not mechanistic\.
The cost model in[Equation1](https://arxiv.org/html/2608.11879#S3.E1)is a regression on conversation length and message size\. It generalizes well to the two window\-based baselines, but performs poorly on Mem0, Hindsight, and Mastra OM, where leave\-one\-cell\-out errors range from0\.180\.18to0\.690\.69\([Table1](https://arxiv.org/html/2608.11879#S4.T1),[Section5](https://arxiv.org/html/2608.11879#S5)\)\. Cost predictions for these three systems at untested\(N,L\)\(N,L\)values should be read as rough estimates only\. We leave a mechanistic model that tracks internal memory state for each system to future work\.
#### Hindsight’s ingest backbone was not benchmark\-controlled\.
Hindsight’s ingest stage \(fact extraction, consolidation, recall ranking\) runs in an external self\-hosted HTTP server\. Its base environment file overrode the per\-cell backbone we set, so ingest ran under a single fixed configuration \(gpt\-oss\-20b at a fixed reasoning effort\) across all four settings\. Only the answer stage, which the harness sets directly, followed the grid\. We report Hindsight’s per\-cell totals \([Tables6](https://arxiv.org/html/2608.11879#A2.T6),[7](https://arxiv.org/html/2608.11879#A2.T7),[2](https://arxiv.org/html/2608.11879#S4.T2)and[3](https://arxiv.org/html/2608.11879#S4.T3)\) but exclude it from cross\-backbone and reasoning\-effort comparisons and fromζing\\zeta\_\{\\mathrm\{ing\}\}\. Mem0 and Mastra OM ingest in\-process and follow the per\-cell configuration \([Table7](https://arxiv.org/html/2608.11879#A2.T7)\)\.
#### Provider\-routing variance\.
OpenRouter’s provider\-preference list \(⟨\\langlegroq, amazon\-bedrock, google\-vertex⟩\\rangle\) holds across our runs, but the primary provider can saturate and route requests to a fallback provider\. This affects cost in two ways\. First, per\-token rates differ across providers, so observed billing can differ by single\-digit percent from the contract rates used in our fitted costs\. Second, prompt caching is tied to one provider\. A prefix cached at the primary provider does not hit on the fallback provider, so its tokens are billed at the full input rate \($0\.075\\$0\.075/M\) instead of the cached rate \($0\.0375\\$0\.0375/M, half price\)\. Systems that resend a large fixed context with each answer are most affected\. For example, Mastra OM builds up to40,00040\{,\}000observation tokens\. These tokens hit the cached rate on the same provider, but cost twice as much on the input segment when a fallback breaks the cache\.
#### Cost\-per\-correct\-answer is a partial quality metric\.
The statisticC^/Acc\\hat\{C\}/\\mathrm\{Acc\}in[Table3](https://arxiv.org/html/2608.11879#S4.T3)ranks systems by cost per LoCoMo\-judged correct answer\. It treats accuracy as the only quality measure and ignores latency, retrieval\-payload size, answer\-token budget, retrieval recall, and abstention behavior, any of which can matter in practice\. We report the ratio because it follows from the matched cost–accuracy design\. We do not claim that minimizing it is the right deployment goal\.
#### Serving\-stack token\-count mismatch\.
On gpt\-oss\-20b, the OpenRouter→\\rightarrowgroq serving stack rejected full\-history answer\-stage requests beyond turn 374 of the\(N=400,L=200\)\(N\{=\}400,L\{=\}200\)cell\. The rejection cited a 98,516\-token prompt, but the true prompt is about 74,800 tokens and fits within the 131,072\-token context window\. Gemma 4 26B A4B completed all 400 turns of the same conversation\. We treat this as a serving\-stack error, report gpt\-oss\-20b full\-history costs only to turn 374, and make no context\-length claim\.[Figure2](https://arxiv.org/html/2608.11879#acmlabel2)extends the curve using the fitted model \(held\-out error below6\.5%6\.5\\%,[Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)\)\.
## 6\.Conclusion
This study measures the cost and accuracy of three memory systems under a shared benchmark\. We fit a separable cost model \(log\(C\+1\)=a\+plog\(L\+1\)\+qlog\(t\+1\)\\log\(C\{\+\}1\)=a\+p\\,\\log\(L\{\+\}1\)\+q\\,\\log\(t\{\+\}1\)\) and validate it with leave\-one\-cell\-out cross\-validation\. Accuracy is scored by a fixed judge on the LoCoMo subset\. The main cost finding is that the model predicts well for window\-based strategies but not for memory systems\. Full\-history \(p≈q≈1p\\approx q\\approx 1\) and rolling\-window \(q≈0q\\approx 0\) both hold out below6\.5%6\.5\\%error\. The retrieval\- and threshold\-driven memory systems have1818–69%69\\%held\-out error\. This shows that their cost is driven by internal memory state, not by conversation length or message size\.
No single system is best in all settings\. Mem0’s accuracy varies the most \(0\.2140\.214–0\.5160\.516\)\. Hindsight is the most expensive at the 100\-turn reference cell\. The lowest cost\-per\-correct\-answer is Mastra OM on gpt\-oss\-20b low \(0\.0280\.028at\(100,100\)\(100,100\)and0\.2780\.278at\(400,200\)\(400,200\)\), while Mem0 leads on Gemma 4 26B A4B \(0\.0370\.037–0\.0380\.038at\(100,100\)\(100,100\)and0\.3250\.325–0\.3390\.339at\(400,200\)\(400,200\)\)\. The backbone choice \(Gemma 4 26B A4B vs\. gpt\-oss\-20b\) shapes the cost surface as much as the system choice, so backbone and memory are a joint decision\. Finally, a break\-even analysis shows that a memory system becomes cheaper than full\-history serving only past a threshold that depends on the workload\. This threshold is immediate for the cheapest systems and beyond 400 turns for the most expensive\. The choice therefore depends on the expected conversation length, not on the memory system alone\.
## Appendix ASystem and Backbone Configurations
[Table5](https://arxiv.org/html/2608.11879#A1.T5)lists the per\-system configuration — the ingest trigger, retrieval setting, and the memory\-specific parameters the main text names but does not specify values for\. Both backbones share temperature0\.70\.7,max\_tokens32,76832\{,\}768, and per\-cell reasoning effort with provider fallbacks disabled, but resolve to different OpenRouter provider stacks:⟨\\langlegroq, amazon\-bedrock, google\-vertex⟩\\ranglefor gpt\-oss\-20b and⟨\\langledeepinfra/fp8, io\-net/bf16, cloudflare⟩\\ranglefor Gemma 4 26B A4B\. The judge \(gpt\-oss\-120b\) and the dialogue generator \(gemma\-4\-26b\-a4b\-it,max\_tokens8,1928\{,\}192\) are held fixed across runs\. Per\-token pricing \($/M tokens\) varies by provider\. Forgpt\-oss\-20b: groq $0\.075 \(input\), $0\.0375 \(cached input\), $0\.30 \(output\); amazon\-bedrock $0\.07 \(input\), $0\.15 \(output\); google\-vertex $0\.07 \(input\), $0\.25 \(output\)\. Forgemma\-4\-26b\-a4b\-it: deepinfra/fp8 $0\.07 \(input\), $0\.34 \(output\); io\-net/bf16 $0\.15 \(input\), $0\.15 \(cached input\), $0\.50 \(output\); cloudflare $0\.10 \(input\), $0\.30 \(output\)\. Embeddings usepplx\-embed\-v1\-0\.6bat $0\.004 \(embedding input\)\.
SystemIngest triggerRetrievalRemarksMem0every 10 turnstop\-k=10k\{=\}10–Hindsightevery 10 turnstop\-k=10k\{=\}10Ingest\-stage LLM is*not*benchmark\-controlled; recall budget*mid*, max\_tokens=4,096\.Mastra OMtoken thresholdtop\-k=1k\{=\}1over observationsobserver is triggered at 30,000 accumulated message tokens, reflector at 40,000 accumulated observation tokens\.Full historyevery turn— \(full transcript\)–Rolling window \(k=10k\{=\}10\)every turn— \(last 10 turns\)–Table 5\.Per\-system configuration\. The benchmark controls the answer\-stage LLM for all systems and the ingest\-stage LLM for Mem0 and Mastra OM; Hindsight’s ingest LLM is not benchmark\-controlled \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.
## Appendix BBenchmark Construction and Fitting Procedures
#### Cost grid\.
We fit the memory systems on five cells: the four corners and the center,\(N,L\)∈\{\(15,50\)\(N,L\)\\in\\\{\(15,50\),\(15,200\)\(15,200\),\(100,100\)\(100,100\),\(400,50\)\(400,50\),\(400,200\)\}\(400,200\)\\\}, at 8 reps each\. Mastra OM adds two cells,\(800,200\)\(800,200\)and\(800,400\)\(800,400\), at 3 reps to reach its threshold regime\. The two deterministic baselines use eight cells at 2 reps: the five above plus three matched\-content cells,\(40,250\),\(200,50\),\(400,25\)\(40,250\),\(200,50\),\(400,25\)\. Each cost fit uses every turn of every run: 40 runs for Mem0 and Hindsight, 46 for Mastra OM, and 16 per baseline\.
#### Synthetic dialogue generation\.
For each\(N,L,seed\)\(N,L,\\text\{seed\}\), the generator runs in chunks of 20 turns, using the chunk prompt in[AppendixC](https://arxiv.org/html/2608.11879#A3)\. We tokenize each turn witho200k\_base\([OpenAI 2025b](https://arxiv.org/html/2608.11879#bib.bib23)\)\. Turns above1\.15⋅L1\.15\{\\cdot\}Lare trimmed and turns below0\.85⋅L0\.85\{\\cdot\}Lare padded with filler words \(tolerance0\.150\.15\)\. We cache each completed dialogue on disk under its\(N,L,seed\)\(N,L,\\text\{seed\}\)key, so the conversation is the same across reps and across systems\.
#### LoCoMo subset selection\.
We score candidate four\-dialogue subsets by the Jensen–Shannon divergence\([Menéndez et al\. 1997](https://arxiv.org/html/2608.11879#bib.bib19)\)between the subset and the full dataset, measured across question category, evidence count, and evidence span\. We keep the subset with the lowest total divergence \(<3⋅10−5<3\\cdot 10^\{\-5\}per axis\)\. Following dataset convention, we exclude Category\-5 adversarial questions, which leaves 665 evaluated QA pairs\.
#### Cost\-model fitting\.
We compute one OLS fit of[Equation1](https://arxiv.org/html/2608.11879#S3.E1)per \(system, setting\), withlog\(C\+1\)\\log\(C\{\+\}1\)as the response\. The 95% confidence intervals for the exponents come from a cluster bootstrap that resamples whole runs with replacement \(B=1,000B\{=\}1\{,\}000\)\. LOOCV\-MAPE holds out one\(N,L\)\(N,L\)cell at a time, refits on the remaining cells, and predicts the held\-out cell’s mean per\-turn cost\. The number of folds per system equals the number of cells \(8 for the baselines, 7 for Mastra OM, 5 for Mem0 and Hindsight\)\. For the memory systems, the held\-out errors cluster at the short\-conversation and small\-message grid corners \([Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)\)\.[Table6](https://arxiv.org/html/2608.11879#A2.T6)gives the per\-\(system, setting\) fits that[Table1](https://arxiv.org/html/2608.11879#S4.T1)summarizes, and[Table7](https://arxiv.org/html/2608.11879#A2.T7)gives the token\-accounting diagnostics cited in[Section4\.1](https://arxiv.org/html/2608.11879#S4.SS1)and[Section5](https://arxiv.org/html/2608.11879#S5)\.
SystemSettingpp\(LL\)qq\(tt\)R2R^\{2\}LOOCV\-MAPEmax APEFull historyGemma 4 26B A4B low0\.970\.970\.9990\.0290\.089Full historyGemma 4 26B A4B medium0\.970\.970\.9990\.0300\.089Full historygpt\-oss\-20b low0\.950\.940\.9960\.0530\.145Full historygpt\-oss\-20b medium0\.950\.940\.9960\.0530\.145Rolling window \(k=10k\{=\}10\)Gemma 4 26B A4B low0\.910\.110\.9130\.0620\.148Rolling window \(k=10k\{=\}10\)Gemma 4 26B A4B medium0\.920\.120\.9450\.0610\.142Rolling window \(k=10k\{=\}10\)gpt\-oss\-20b low0\.850\.100\.9490\.0650\.128Rolling window \(k=10k\{=\}10\)gpt\-oss\-20b medium0\.850\.100\.9500\.0650\.128Mem0Gemma 4 26B A4B low0\.180\.080\.0690\.1840\.244Mem0Gemma 4 26B A4B medium0\.160\.090\.0670\.1850\.254Mem0gpt\-oss\-20b low0\.160\.070\.0480\.2220\.282Mem0gpt\-oss\-20b medium0\.180\.080\.0640\.2000\.243HindsightGemma 4 26B A4B low0\.140\.430\.3480\.4770\.555HindsightGemma 4 26B A4B medium0\.150\.430\.3450\.4780\.558Hindsightgpt\-oss\-20b low0\.150\.410\.3280\.4760\.569Hindsightgpt\-oss\-20b medium0\.170\.410\.3200\.4610\.570Mastra OMGemma 4 26B A4B low0\.610\.230\.4570\.4080\.820Mastra OMGemma 4 26B A4B medium0\.680\.250\.4580\.6851\.918Mastra OMgpt\-oss\-20b low0\.790\.360\.5570\.4770\.864Mastra OMgpt\-oss\-20b medium0\.790\.340\.5200\.5651\.596Table 6\.Per\-\(system, setting\) fits of the separable cost modellog\(C\+1\)=a\+plog\(L\+1\)\+qlog\(t\+1\)\\log\(C\{\+\}1\)=a\+p\\log\(L\{\+\}1\)\+q\\log\(t\{\+\}1\)\.R2R^\{2\}is in\-sample; LOOCV\-MAPE and max APE are leave\-one\-\(N,L\)\(N,L\)\-cell\-out held\-out errors\. Full\-history holds out 8 folds per row, rolling\-window 8, Mastra OM 7, Mem0 5, Hindsight 5 \(all five\(N,L\)\(N,L\)cells are completed for Hindsight under every setting\)\.[Table1](https://arxiv.org/html/2608.11879#S4.T1)summarizes these rows as ranges per system\.SystemSettingγ\\gammaζans\\zeta\_\{\\mathrm\{ans\}\}ζing\\zeta\_\{\\mathrm\{ing\}\}HindsightGemma 4 26B A4Blow0\.160\.00–HindsightGemma 4 26B A4Bmedium0\.160\.00–Hindsightgpt\-oss\-20blow0\.161\.01–Hindsightgpt\-oss\-20bmedium0\.161\.00–Mem0Gemma 4 26B A4Blow0\.560\.000\.00Mem0Gemma 4 26B A4Bmedium0\.550\.000\.00Mem0gpt\-oss\-20blow1\.270\.990\.93Mem0gpt\-oss\-20bmedium1\.401\.010\.89Mastra OMGemma 4 26B A4Blow0\.431\.030\.83Mastra OMGemma 4 26B A4Bmedium0\.441\.020\.81Mastra OMgpt\-oss\-20blow0\.230\.360\.31Mastra OMgpt\-oss\-20bmedium0\.530\.960\.74Table 7\.Per\-stage token\-accounting diagnostics: output\-to\-input token ratioγ\\gamma, answer\-stage reasoning\-to\-output ratioζans\\zeta\_\{\\mathrm\{ans\}\}, and ingest\-stage reasoning\-to\-output ratioζing\\zeta\_\{\\mathrm\{ing\}\}, computed from the per\-cell run logs\. Eachζ\\zetais the ratio of reasoning \(thinking\) tokens to visible\-response tokens reported by the API; values above 1 occur when the model spends more tokens on internal reasoning than on its visible response, which is possible when the API reports them as separate counts\. The two baselines incur no ingest\-stage LLM cost and are omitted\. Hindsight’sζing\\zeta\_\{\\mathrm\{ing\}\}is omitted \(–\): its ingest\-stage LLM ran under a configuration the benchmark did not control \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\)\.
#### Break\-even computation\.
We compute the break\-even turn from measured per\-turn cost \(8 reps averaged\), with no fitted\-model extrapolation\. For each system and for the full\-history baseline, we add up per\-turn cost over depth\. The break\-even turn is the smallestttat which the system’s cumulative cost falls below full\-history’s and*stays*below it at every later turn \(*immediate*==cheaper from turn 0;*never*==still costlier at the last measured turn\)\.[Table8](https://arxiv.org/html/2608.11879#A2.T8)reports it for all measured multi\-system cells\. For gpt\-oss\-20b full\-history at\(N=400,L=200\)\(N\{=\}400,L\{=\}200\), the run ended at turn 374 because of a serving\-stack error \([Section5\.4](https://arxiv.org/html/2608.11879#S5.SS4)\), so we report full\-history cost only to that turn\.
SettingCell \(N×LN\{\\times\}L\)Mem0HindsightMastra OMGemma 4 26B A4Blow100×\\times10010never54400×\\times502322386400×\\times20006050Gemma 4 26B A4Bmedium100×\\times1000never54400×\\times502122473400×\\times20006168gpt\-oss\-20blow100×\\times10082never0400×\\times50260never0400×\\times200823560gpt\-oss\-20bmedium100×\\times100nevernever13400×\\times50342never62400×\\times20040never28Table 8\.Sustained break\-even turn per \(setting, cell, system\)\.*never*= the system is still costlier than the full transcript at the last measured turn\. By turn 400 the full transcript costs up to12\.7×12\.7\\timesa system that has broken even \(maximum ratio of full\-history to adapter cumulative cost at the last measured turn, over all setting/cell/adapter combinations where the adapter has crossed break\-even; attained by Mastra OM on gpt\-oss\-20b low at the400×50400\{\\times\}50cell\)\. Hindsight at small messages costs up to3\.3×3\.3\\timesthe full transcript \(maximum ratio of Hindsight to full\-history cumulative cost over all 400\-turn*never*cells; attained on gpt\-oss\-20b medium at the400×50400\{\\times\}50cell\)\.
## Appendix CPrompt Templates
The two boxes below give the LLM\-as\-judge and dialogue\-generation prompts verbatim\. Answer\-stage prompts are system\-specific — each instructs a brief answer grounded only in the retrieved memory or transcript, with relative time references resolved to absolute dates from message timestamps\. We used each system’s default prompt without modification; readers should refer to the respective cited papers and system documentation for those templates\.
LLM\-as\-Judge Prompt \(gpt\-oss\-120b\)System\.You are an expert grader that determines if answers to questions match a gold standard answer\.User\.Your task is to label an answer to a question as ‘CORRECT’ or ‘WRONG’\. You will be given the following data: \(1\) a question \(posed by one user to another user\), \(2\) a ‘gold’ \(ground truth\) answer, \(3\) a generated answer, which you will score as CORRECT/WRONG\.The point of the question is to ask about something one user should know about the other user based on their prior conversations\. The gold answer will usually be a concise and short answer that includes the referenced topic\. The generated answer might be much longer, but you should be generous with your grading — as long as it touches on the same topic as the gold answer, it should be counted as CORRECT\.For time\-related questions, the gold answer will be a specific date, month, year, etc\. The generated answer might be much longer or use relative time references \(e\.g\. “last Tuesday” or “next month”\), but you should be generous with your grading — as long as it refers to the same date or time period as the gold answer, it should be counted as CORRECT\. Even if the format differs \(e\.g\. “May 7th” vs\. “7 May”\), consider it CORRECT if it is the same date\.Question:\{question\}Gold answer:\{golden\_answer\}Generated answer:\{generated\_answer\}First, provide a short \(one sentence\) explanation of your reasoning, then finish with CORRECT or WRONG\. Do NOT include both CORRECT and WRONG in your response\. Return the label in JSON format with the key"label"\.
Synthetic Dialogue Generation — Chunk PromptGenerate\{chunk\_size\}turns of a natural two\-speaker personal conversation\. Each turn should be about\{l\_tokens\}raw tokens long under the o200k\_base tokenizer\. Keep facts concrete: names, preferences, routines, dates, plans, relationships\. Return JSON only, as an object with key"turns"whose value is an array of strings\. No markdown\. Seed:\{seed\}\. First turn index:\{start\_idx\}\.
## Disclosure of Generative AI Usage
In preparing this work, the authors used Claude Code \(Opus 4\.7 and Sonnet 4\.6\) as an assistive tool\. The research questions, the benchmark design, the choice of memory systems, backbones, and evaluation metrics, and the analysis and interpretation of the results represent the authors’ own novel intellectual contributions\. Within that direction, the tool was used to \(i\) support brainstorming and refinement of framing; \(ii\) write and debug the benchmarking and analysis code that produced the results; and \(iii\) draft and revise the text of the manuscript, including tables and figure captions\. The authors reviewed and verified all generated content—confirming the correctness of the code, the validity of the experimental results, and the accuracy of all claims and citations—and edited the text as needed\. The authors take full responsibility for the veracity and correctness of the entire content of this work\.
## References
- \(1\)
- Anthropic \(2024\)Anthropic\. 2024\.Prompt Caching\.[https://platform\.claude\.com/docs/en/build\-with\-claude/prompt\-caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching)\.
- Anthropic \(2025\)Anthropic\. 2025\.Claude API Pricing\.[https://platform\.claude\.com/docs/en/about\-claude/pricing](https://platform.claude.com/docs/en/about-claude/pricing)\.
- Barnes \(2026\)Tyler Barnes\. 2026\.Observational Memory: 95% on LongMemEval\.Mastra Technical Report\.[https://mastra\.ai/research/observational\-memory](https://mastra.ai/research/observational-memory)
- Brown et al\.\(2001\)Lawrence D\. Brown, T\. Tony Cai, and Anirban DasGupta\. 2001\.Interval Estimation for a Binomial Proportion\.*Statist\. Sci\.*16, 2 \(2001\), 101–133\.[doi:10\.1214/ss/1009213286](https://doi.org/10.1214/ss/1009213286)
- Cameron et al\.\(2008\)A\. Colin Cameron, Jonah B\. Gelbach, and Douglas L\. Miller\. 2008\.Bootstrap\-Based Improvements for Inference with Clustered Errors\.*The Review of Economics and Statistics*90, 3 \(2008\), 414–427\.[doi:10\.1162/rest\.90\.3\.414](https://doi.org/10.1162/rest.90.3.414)
- Chhikara et al\.\(2025\)Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav\. 2025\.Mem0: Building Production\-Ready AI Agents with Scalable Long\-Term Memory\.arXiv:2504\.19413 \[cs\.CL\][https://arxiv\.org/abs/2504\.19413](https://arxiv.org/abs/2504.19413)
- Efron \(1979\)B\. Efron\. 1979\.Bootstrap Methods: Another Look at the Jackknife\.*The Annals of Statistics*7, 1 \(1979\), 1–26\.[doi:10\.1214/aos/1176344552](https://doi.org/10.1214/aos/1176344552)
- Eslami et al\.\(2026\)Sedigheh Eslami, Maksim Gaiduk, Markus Krimmel, Louis Milliken, Bo Wang, and Denis Bykov\. 2026\.Diffusion\-Pretrained Dense and Contextual Embeddings\.arXiv:2602\.11151 \[cs\.LG\][https://arxiv\.org/abs/2602\.11151](https://arxiv.org/abs/2602.11151)
- Gim et al\.\(2024\)In Gim, Guojun Chen, Seung seob Lee, Nikhil Sarda, Anurag Khandelwal, and Lin Zhong\. 2024\.Prompt Cache: Modular Attention Reuse for Low\-Latency Inference\.arXiv:2311\.04934 \[cs\.CL\][https://arxiv\.org/abs/2311\.04934](https://arxiv.org/abs/2311.04934)
- Google DeepMind \(2026\)Google DeepMind\. 2026\.Gemma 4 Model Card\.[https://ai\.google\.dev/gemma/docs/core/model\_card\_4](https://ai.google.dev/gemma/docs/core/model_card_4)
- Jiang et al\.\(2025\)Bowen Jiang, Yuan Yuan, Maohao Shen, Zhuoqun Hao, Zhangchen Xu, Zichen Chen, Ziyi Liu, Anvesh Rao Vijjini, Jiashu He, Hanchao Yu, Radha Poovendran, Gregory Wornell, Lyle Ungar, Dan Roth, Sihao Chen, and Camillo Jose Taylor\. 2025\.PersonaMem\-v2: Towards Personalized Intelligence via Learning Implicit User Personas and Agentic Memory\.arXiv:2512\.06688 \[cs\.CL\][https://arxiv\.org/abs/2512\.06688](https://arxiv.org/abs/2512.06688)
- Jiang et al\.\(2023\)Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin\-Yew Lin, Yuqing Yang, and Lili Qiu\. 2023\.LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression\.arXiv preprint arXiv:2310\.06839\.arXiv:2310\.06839 \[cs\.CL\][https://arxiv\.org/abs/2310\.06839](https://arxiv.org/abs/2310.06839)
- Khalusova \(2024\)Maria Khalusova\. 2024\.RAG vs\. Long\-Context Models: Do We Still Need RAG?[https://unstructured\.io/blog/rag\-vs\-long\-context\-models\-do\-we\-still\-need\-rag](https://unstructured.io/blog/rag-vs-long-context-models-do-we-still-need-rag)\.
- Latimer et al\.\(2025\)Chris Latimer, Nicoló Boschi, Andrew Neeser, Chris Bartholomew, Gaurav Srivastava, Xuan Wang, and Naren Ramakrishnan\. 2025\.Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects\.arXiv:2512\.12818 \[cs\.CL\][https://arxiv\.org/abs/2512\.12818](https://arxiv.org/abs/2512.12818)
- Lewis et al\.\(2020\)Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen\-tau Yih, Tim Rocktäschel, et al\.2020\.Retrieval\-augmented generation for knowledge\-intensive nlp tasks\.*Advances in Neural Information Processing Systems*33 \(2020\), 9459–9474\.
- Liu et al\.\(2024\)Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang\. 2024\.Lost in the middle: How language models use long contexts\.*Transactions of the Association for Computational Linguistics*12 \(2024\), 157–173\.
- Maharana et al\.\(2024\)Adyasha Maharana, Dong\-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang\. 2024\.Evaluating Very Long\-Term Conversational Memory of LLM Agents\.arXiv:2402\.17753 \[cs\.CL\][https://arxiv\.org/abs/2402\.17753](https://arxiv.org/abs/2402.17753)
- Menéndez et al\.\(1997\)M\.L\. Menéndez, J\.A\. Pardo, L\. Pardo, and M\.C\. Pardo\. 1997\.The Jensen–Shannon divergence\.*Journal of the Franklin Institute*334, 2 \(1997\), 307–318\.[doi:10\.1016/S0016\-0032\(96\)00063\-4](https://doi.org/10.1016/S0016-0032(96)00063-4)
- OpenAI et al\.\(2025\)OpenAI, :, Sandhini Agarwal, Lama Ahmad, Jason Ai, Sam Altman, Andy Applebaum, Edwin Arbus, Rahul K\. Arora, Yu Bai, Bowen Baker, Haiming Bao, Boaz Barak, Ally Bennett, Tyler Bertao, Nivedita Brett, Eugene Brevdo, Greg Brockman, Sebastien Bubeck, Che Chang, Kai Chen, Mark Chen, Enoch Cheung, Aidan Clark, Dan Cook, Marat Dukhan, Casey Dvorak, Kevin Fives, Vlad Fomenko, Timur Garipov, Kristian Georgiev, Mia Glaese, Tarun Gogineni, Adam Goucher, Lukas Gross, Katia Gil Guzman, John Hallman, Jackie Hehir, Johannes Heidecke, Alec Helyar, Haitang Hu, Romain Huet, Jacob Huh, Saachi Jain, Zach Johnson, Chris Koch, Irina Kofman, Dominik Kundel, Jason Kwon, Volodymyr Kyrylov, Elaine Ya Le, Guillaume Leclerc, James Park Lennon, Scott Lessans, Mario Lezcano\-Casado, Yuanzhi Li, Zhuohan Li, Ji Lin, Jordan Liss, Lily, Liu, Jiancheng Liu, Kevin Lu, Chris Lu, Zoran Martinovic, Lindsay McCallum, Josh McGrath, Scott McKinney, Aidan McLaughlin, Song Mei, Steve Mostovoy, Tong Mu, Gideon Myles, Alexander Neitz, Alex Nichol, Jakub Pachocki, Alex Paino, Dana Palmie, Ashley Pantuliano, Giambattista Parascandolo, Jongsoo Park, Leher Pathak, Carolina Paz, Ludovic Peran, Dmitry Pimenov, Michelle Pokrass, Elizabeth Proehl, Huida Qiu, Gaby Raila, Filippo Raso, Hongyu Ren, Kimmy Richardson, David Robinson, Bob Rotsted, Hadi Salman, Suvansh Sanjeev, Max Schwarzer, D\. Sculley, Harshit Sikchi, Kendal Simon, Karan Singhal, Yang Song, Dane Stuckey, Zhiqing Sun, Philippe Tillet, Sam Toizer, Foivos Tsimpourlas, Nikhil Vyas, Eric Wallace, Xin Wang, Miles Wang, Olivia Watkins, Kevin Weil, Amy Wendling, Kevin Whinnery, Cedric Whitney, Hannah Wong, Lin Yang, Yu Yang, Michihiro Yasunaga, Kristen Ying, Wojciech Zaremba, Wenting Zhan, Cyril Zhang, Brian Zhang, Eddie Zhang, and Shengjia Zhao\. 2025\.gpt\-oss\-120b & gpt\-oss\-20b Model Card\.arXiv:2508\.10925 \[cs\.CL\][https://arxiv\.org/abs/2508\.10925](https://arxiv.org/abs/2508.10925)
- OpenAI \(2024\)OpenAI\. 2024\.Prompt Caching in the API\.[https://openai\.com/index/api\-prompt\-caching/](https://openai.com/index/api-prompt-caching/)\.
- OpenAI \(2025a\)OpenAI\. 2025a\.OpenAI API Pricing\.[https://platform\.openai\.com/docs/pricing](https://platform.openai.com/docs/pricing)\.
- OpenAI \(2025b\)OpenAI\. 2025b\.tiktoken: A Fast BPE Tokeniser for Use with OpenAI’s Models\.[https://github\.com/openai/tiktoken](https://github.com/openai/tiktoken)\.
- Packer et al\.\(2024\)Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G\. Patil, Ion Stoica, and Joseph E\. Gonzalez\. 2024\.MemGPT: Towards LLMs as Operating Systems\.arXiv:2310\.08560 \[cs\.AI\][https://arxiv\.org/abs/2310\.08560](https://arxiv.org/abs/2310.08560)
- Rasmussen et al\.\(2025\)Preston Rasmussen, Pavlo Paliychuk, Travis Beauvais, Jack Ryan, and Daniel Chalef\. 2025\.Zep: A Temporal Knowledge Graph Architecture for Agent Memory\.arXiv:2501\.13956 \[cs\.CL\][https://arxiv\.org/abs/2501\.13956](https://arxiv.org/abs/2501.13956)
- Rengifo and Martin \(2025\)Jeffrey Rengifo and Eduard Martin\. 2025\.Longer Context≠\\neqBetter: Why RAG Still Matters\.[https://www\.elastic\.co/search\-labs/blog/rag\-vs\-long\-context\-model\-llm](https://www.elastic.co/search-labs/blog/rag-vs-long-context-model-llm)\.
- Stone \(1974\)M\. Stone\. 1974\.Cross\-Validatory Choice and Assessment of Statistical Predictions\.*Journal of the Royal Statistical Society: Series B \(Methodological\)*36, 2 \(1974\), 111–147\.[doi:10\.1111/j\.2517\-6161\.1974\.tb00994\.x](https://doi.org/10.1111/j.2517-6161.1974.tb00994.x)
- Su et al\.\(2026\)Miao Su, Yucan Guo, Zhongni Hou, Long Bai, Zixuan Li, Yufei Zhang, Guojun Yin, Wei Lin, Xiaolong Jin, Jiafeng Guo, and Xueqi Cheng\. 2026\.Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM Agents\.arXiv:2601\.07468 \[cs\.AI\][https://arxiv\.org/abs/2601\.07468](https://arxiv.org/abs/2601.07468)
- Wilson \(1927\)Edwin B\. Wilson\. 1927\.Probable Inference, the Law of Succession, and Statistical Inference\.*J\. Amer\. Statist\. Assoc\.*22, 158 \(1927\), 209–212\.[doi:10\.1080/01621459\.1927\.10502953](https://doi.org/10.1080/01621459.1927.10502953)
- Wu et al\.\(2025\)Di Wu, Hongwei Wang, Wenhao Yu, Yuwei Zhang, Kai\-Wei Chang, and Dong Yu\. 2025\.LongMemEval: Benchmarking Chat Assistants on Long\-Term Interactive Memory\.arXiv:2410\.10813 \[cs\.CL\][https://arxiv\.org/abs/2410\.10813](https://arxiv.org/abs/2410.10813)
- Xu et al\.\(2025\)Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang\. 2025\.A\-MEM: Agentic Memory for LLM Agents\.arXiv:2502\.12110 \[cs\.CL\][https://arxiv\.org/abs/2502\.12110](https://arxiv.org/abs/2502.12110)
- Zang et al\.\(2020\)Xiaoxue Zang, Abhinav Rastogi, Srinivas Sunkara, Raghav Gupta, Jianguo Zhang, and Jindong Chen\. 2020\.MultiWOZ 2\.2: A Dialogue Dataset with Additional Annotation Corrections and State Tracking Baselines\. In*Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI*\. Association for Computational Linguistics, Online, 109–117\.[https://aclanthology\.org/2020\.nlp4convai\-1\.13](https://aclanthology.org/2020.nlp4convai-1.13)Similar Articles
AgentMemBench: A Systematic Benchmark for Evaluating Long-Term Memory Management Strategies in Conversational AI Agents
AgentMemBench is a systematic benchmark that evaluates five long-term memory management strategies for conversational AI agents across three datasets, finding that external key-value store retrieval dominates on quality but incurs a larger memory footprint.
MemArena: An Ego-Centric Benchmark for On-Device Agentic Personal Memory Assistants at Scale
MemArena is a new ego-centric benchmark for evaluating on-device personal memory assistants, using a MASim agent simulator to generate multi-session conversational worlds and ground truth across recall, reasoning, and trustworthiness dimensions. Initial results show memory-backend choice often matters more than reader scale, and permission-aware access remains a universal challenge.
From Recall to Forgetting: Benchmarking Long-Term Memory for Personalized Agents
Researchers introduce Memora, a benchmark that evaluates LLMs’ ability to retain, update, and forget long-term user memories over weeks-to-months conversations, revealing frequent reuse of obsolete memories.
Every agent memory system is benchmarked on recall. Almost none check whether the memory is still true
Argues that agent memory systems are evaluated on recall but not on whether recalled facts remain true; introduces a 'correctness under staleness' benchmark showing vector stores return stale facts 68% of the time.
Memory Makes the Difference: Evaluating How Different Memory Roles Shape Conversational Agents
This paper introduces a taxonomy of conversational memory types and a user-centric evaluation framework to study how different memory roles affect response quality in RAG-based conversational agents.