On this page · 10 sections
Summary. Agent memory became production infrastructure in 2026, and four products dominate the buying decision: Mem0, Zep, Letta and Cloudflare Agent Memory. They are not the same kind of thing. Mem0 is a vector-first memory layer that reports 92.5% on the LoCoMo benchmark and 94.4% on LongMemEval while using under 7,000 tokens per retrieval call, against 25,000+ for full-context baselines. Zep stores memory as a temporal knowledge graph through its Graphiti engine, which has passed 20,000 GitHub stars. Letta, the UC Berkeley project formerly called MemGPT, is a stateful agent runtime with three memory tiers: core, recall and archival. Cloudflare Agent Memory, announced during Agents Week in April 2026, runs at the edge on Durable Objects and is in private beta. On price: Mem0 starts free at 10,000 memories and runs $19, $79 and $249 a month; Letta is free to self-host and $20 a month for Pro; Zep's Flex plan is $125 a month as of July 2026; Cloudflare has not published Agent Memory pricing. This guide compares architecture, benchmarks, pricing and fit so you can pick one.
An LLM forgets everything between calls. In 2026 the gap between a demo and a production agent is whether it can remember a user across sessions without stuffing the entire history into every prompt. Taranjeet Singh, co-founder and CEO of Mem0, put the stakes plainly when the company raised $24 million in October 2025: memory is "becoming one of their key moats now that LLMs are getting commoditized." Four teams are selling the shovels. Here is how they differ, for AI engineers and CTOs choosing what to build on.
Four answers to the same problem
Every memory product solves one problem: the context window is finite and expensive, so an agent needs somewhere to keep what matters and a way to fetch only the relevant part back. The consensus design in 2026 is a three-tier model that Letta's predecessor MemGPT popularised: core memory that lives in the context window, recall memory in a searchable store, and archival memory in cold storage. Where the four products differ is how they store and retrieve the recall and archival tiers. This is the same decision that sits underneath the broader memory versus RAG and vector database question, narrowed to the managed products you would actually buy.
Mem0 extracts facts from a conversation and stores them in a vector index, with an optional graph layer for entity relationships on higher tiers. Zep builds a temporal knowledge graph: every fact becomes a node-edge structure with a validity window that records when the fact became true and when it was superseded. Letta runs the agent itself and lets the model page its own memory in and out, like an operating system managing RAM and disk. Cloudflare Agent Memory attaches memory to a per-agent Durable Object at the edge and retrieves across multiple channels. Same problem, four architectures.
Architecture: how each one stores memory
The storage model drives everything downstream, from what the tool is good at to how you self-host it.
| Product | Memory model | Self-host option |
|---|---|---|
| Mem0 | Vector-first extraction, optional graph memory | Enterprise on-premise (paid) |
| Zep | Temporal knowledge graph (Graphiti), validity windows | Raw Graphiti on Neo4j or FalkorDB; Community Edition retired April 2025 |
| Letta (MemGPT) | Stateful runtime, three tiers, self-editing memory | Free, all features |
| Cloudflare Agent Memory | Edge Durable Objects with Vectorize, multi-channel retrieval | Managed only (private beta) |
| Full-context baseline | Entire history in every prompt | Not applicable |
Zep's temporal graph is the distinctive one. Because every edge carries a valid-from and valid-to timestamp, the agent can answer questions about facts that change over time, such as a customer's current plan versus the plan they held last quarter, without the model guessing. Letta's distinctive property is that memory is part of the runtime, so an agent can edit its own memory and improve across sessions. Mem0 is the most portable: it bolts onto an existing agent stack and does not ask you to adopt a runtime or a graph database. Cloudflare's is the most infrastructural: memory lives where the agent runs, at the edge, which matters if latency is the constraint.
Benchmarks: what the numbers say, and who reported them
Treat every benchmark here as vendor-reported, because the vendors ran them. Mem0's own research, published in its State of AI Agent Memory 2026 report on 1 April 2026, puts its token-efficient algorithm at 92.5% on LoCoMo, 94.4% on LongMemEval and 64.1% and 48.6% on the 1M and 10M BEAM splits, at under 7,000 tokens per retrieval call, roughly a quarter of the 25,000-plus tokens a full-context approach spends. Zep reports up to a 90% latency reduction against passing full conversation history into context, and up to 18.5% higher accuracy on reasoning tasks, from its own temporal-graph evaluation.
LoCoMo, LongMemEval and BEAM are the long-conversation memory suites the field settled on in 2026: they test whether a system can recall and reason over facts spread across long, multi-session dialogues rather than a single prompt. The useful signal in Mem0's numbers is not the headline accuracy but the token cost: a memory layer that hits high recall at a quarter of the tokens directly lowers the model bill, which is the same logic behind agent unit economics and cost per task. Independent, cross-vendor benchmarking is still thin, so run your own evaluation on your data before you commit.
Pricing: what you actually pay
The tools price very differently, and one of them has no public price at all.
| Product | Entry price (2026) | Higher tiers |
|---|---|---|
| Mem0 Hobby | Free, 10,000 memories, 1,000 retrievals/month | Starter $19, Growth $79, Pro $249 per month |
| Letta | Free to self-host; cloud free tier (3 agents) | Pro $20/month (up to 20 stateful agents) |
| Zep Flex | $125/month | Credit-based, scales with usage |
| Cloudflare Agent Memory | Private beta, price not announced | Runs on Workers Paid, from $5/month, plus Durable Objects and Vectorize usage |
| Full-context baseline | No product fee | You pay 25,000+ tokens per call in model spend |
Two points matter for budgeting. First, Mem0's free tier now covers real prototyping at 10,000 memories, and its Growth tier at $79 a month fills the gap that used to sit between $19 and $249. Second, Zep's headline "$25" that circulates online is a credit top-up amount, not the plan price; the Flex plan verified on Zep's pricing page is $125 a month. Letta is the cheapest route to full control, because self-hosting is free with every feature. For Cloudflare, there is no memory-specific price to quote yet, so model the underlying Workers, Durable Objects and Vectorize usage instead.
Which to choose
There is no single winner. Match the memory model to what your agent actually does.
| If you need | Pick | Why |
|---|---|---|
| A fast prototype with minimal ops | Mem0 | Free tier, vector-first, drops onto any stack |
| Reasoning over facts that change over time | Zep | Temporal graph with per-fact validity windows |
| Free self-hosting with full control | Letta | Self-host is free with all features |
| Agents that edit their own memory | Letta | MemGPT-style runtime paging |
| Edge-native agents already on Cloudflare | Cloudflare Agent Memory | Memory co-located with the agent (beta) |
| The lowest token cost at scale | Mem0 | Under 7,000 tokens per retrieval, as reported |
A reasonable default in 2026: start on Mem0 to get an agent remembering quickly and cheaply, move to Zep when temporal reasoning over changing facts becomes the requirement, and choose Letta when you want to own the runtime and self-host. Keep Cloudflare Agent Memory on the watchlist until it exits beta and publishes pricing. Whichever you pick, the memory layer is not a substitute for retrieval over documents; many teams still pair it with a vector store, which is a separate vector database decision.
How to evaluate a memory layer on your own data
Vendor benchmarks are a starting point, not a decision. Because Mem0, Zep and the others run their own evaluations, the only number that binds is the one you produce on your traffic. A short evaluation protocol saves an expensive migration later.
Start with a fixed set of real multi-session conversations from your product, each with a known correct answer to a question that requires remembering an earlier turn. Run every candidate over the same set and measure three things together: recall accuracy (did it retrieve the fact), token cost per retrieval call (what it adds to every model request), and p95 retrieval latency (what the user feels). A layer that wins on accuracy but triples token cost can be the wrong choice once you multiply by production volume, which is the point behind agent unit economics.
Then test the properties that separate these products. If your facts change over time, include cases where a later turn overrides an earlier one, and check whether the system returns the current fact or the stale one; this is where Zep's temporal graph is meant to win. If you need the agent to improve across sessions, test Letta's self-editing memory on a task that repeats. If latency at the edge is the constraint, prototype on Cloudflare once the beta opens to you.
Finally, test the operational path you will actually run: deletion of a user's memory on request, a retention window that evicts old data, and, for regulated workloads, the self-host route. These are not benchmark lines, but they decide whether a memory layer is deployable under a real data-protection regime rather than only fast in a demo.
India-specific considerations
Agent memory stores exactly the data the Digital Personal Data Protection (DPDP) Act 2023 governs: names, preferences, conversation history and other personal data about identifiable users. Three consequences follow. Purpose limitation and retention apply, so memory needs an eviction and deletion policy, not indefinite accumulation. Data residency matters, so a managed US-hosted memory service may not suit a regulated Indian workload, which is where Letta's free self-hosting, Zep's self-host on Neo4j or FalkorDB, and Mem0's on-premise Enterprise tier become the practical options. Cost also reads differently in rupees: Mem0's Pro tier at $249 a month is roughly ₹21,000 a month before model spend, so the memory bill belongs in the same plan as the production AI agent budget rather than as an afterthought. None of these tools makes a system DPDP compliant on its own; encryption, retention and access control around the memory store are the controls that matter.
FAQ
How eCorpIT can help
eCorpIT is a Gurugram-based, ISO 27001:2022-certified engineering organization that builds production AI agents and picks the memory layer that fits the workload rather than the hype. Our senior engineering teams run head-to-head evaluations on your data, wire the memory store into your agent stack, and design DPDP-aligned retention, deletion and encryption around it. If you are choosing between Mem0, Zep, Letta or a self-hosted option, talk to us via our contact page or see our AI evaluation and observability service.
References
_Last updated: 1 August 2026._