AI agent memory in 2026: Mem0 vs Zep vs Letta vs Cloudflare compared on price, benchmarks and fit

Four memory layers, four architectures. How Mem0, Zep, Letta and Cloudflare compare on price, benchmarks and fit for production agents.

Read time
11 min
Word count
1.6K
Sections
10
FAQs
8
Share
A glowing layered memory core with four illuminated data nodes on a dark surface
Four approaches to giving AI agents long-term memory.
On this page · 10 sections
  1. Four answers to the same problem
  2. Architecture: how each one stores memory
  3. Benchmarks: what the numbers say, and who reported them
  4. Pricing: what you actually pay
  5. Which to choose
  6. How to evaluate a memory layer on your own data
  7. India-specific considerations
  8. FAQ
  9. How eCorpIT can help
  10. References

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

  1. Mem0 pricing
  1. Mem0 research: the token-efficient memory algorithm
  1. Mem0 State of AI Agent Memory 2026
  1. AI memory benchmarks in 2026: LoCoMo, LongMemEval and BEAM (Mem0)
  1. Mem0 raises $24M to build the memory layer for AI apps (TechCrunch)
  1. Zep pricing
  1. Graphiti temporal knowledge graph (GitHub)
  1. Cloudflare announces Agent Memory, a managed persistent memory service (InfoQ)
  1. Cloudflare Agents Week 2026 updates
  1. Letta documentation
  1. Mem0 vs Zep (Graphiti): agent memory compared (Vectorize)
  1. Zep vs Mem0: benchmarks and pricing (Atlan)

_Last updated: 1 August 2026._

Frequently asked

Quick answers.

01 What is an AI agent memory layer?
It is a store that keeps what an agent learns across sessions and returns only the relevant part into the context window at request time. It solves the problem that an LLM forgets everything between calls, using tiers of core, recall and archival memory rather than resending the full history each turn.
02 Mem0 or Zep: which should I use?
Use Mem0 for a fast, portable vector-first memory that drops onto any stack and reports the lowest token cost. Use Zep when your agent must reason over facts that change over time, because its Graphiti temporal graph records when each fact was valid. The decision follows the workload, not the brand.
03 Is Letta free?
Letta is free to self-host with all features, and offers a cloud free tier of up to three agents with bring-your-own-key. The paid Pro plan is $20 a month for up to 20 stateful agents, with Team and Enterprise pricing on request. That makes Letta the cheapest route to full control among the four.
04 Is Cloudflare Agent Memory available yet?
Cloudflare announced Agent Memory during Agents Week in April 2026, and as of mid-2026 it is in private beta with a waitlist. Cloudflare has not published pricing for it. It runs on Durable Objects with Vectorize at the edge, so today you budget the underlying Workers and Durable Objects usage instead.
05 How much does agent memory cost in 2026?
It ranges from free to enterprise. 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. Cloudflare has no memory-specific price yet. Model spend from retrieved tokens is a separate, often larger, cost.
06 What do the LoCoMo and LongMemEval benchmarks measure?
They test long-term conversational memory: whether a system can recall and reason over facts spread across long, multi-session dialogues instead of a single prompt. Mem0 reports 92.5% on LoCoMo and 94.4% on LongMemEval at under 7,000 tokens per call. These are vendor-run, so validate on your own data before deciding.
07 Can I self-host agent memory for data compliance?
Yes. Letta self-hosts free with all features, Zep runs on self-managed Graphiti with Neo4j or FalkorDB after its Community Edition retired in April 2025, and Mem0 offers on-premise deployment on its Enterprise tier. Under the DPDP Act 2023, self-hosting helps with data residency, retention and deletion requirements for personal data.
08 Do I still need a vector database?
Often, yes. A memory layer manages what an agent remembers about a user; a vector database powers retrieval over your documents and knowledge base. They solve different problems, and many production agents run both. Mem0 itself is vector-first, and choosing a dedicated vector store remains a separate architectural decision.

About the author

Manu Shukla

Founder & Director

Founder of eCorpIT. Hands-on engineer leading senior-only delivery for AI apps, custom software, and cloud systems for global clients.

Subscribe

One engineering note a week. No fluff, no spam.

Senior-architect playbooks on AI agents, mobile apps, cloud, security, data, and marketing — delivered every Wednesday.

Past the reading

Read enough. Let's build something.

A senior architect responds in 24 working hours with scope, indicative cost, and a timeline. NDA before any technical conversation.