← Guides

Mem0 vs Zep vs Letta: memory for AI agents compared

By Jacob Holm · October 19, 2026

All three give an agent memory that lasts across sessions, but they are different kinds of product. Mem0 and Zep are memory layers you add to an agent you already have. Letta is a platform where the agent itself runs, with memory built in.

Mem0: a memory layer you add to your agent

Mem0 calls itself "drop-in memory infrastructure for AI agents and apps." You send it conversations, it pulls out memories and updates them, and you search those memories later by user. The core library is open source (Apache-2.0), and there is also a hosted platform. The hosted Hobby plan is free, with 10,000 add requests and 1,000 retrieval requests a month. Starter is $19/mo. Graph memory (entity linking) starts at the $249/mo Pro plan.

Zep: context graphs that track change over time

Zep takes in business data, documents, and conversations and builds a "Context Graph" for each user, account, or domain. Each fact carries a date and is updated when the data changes. Zep is aimed at enterprise teams and offers access policies, audit logs, and BYOC deployment on its Enterprise plan. Billing uses credits. Each ingested Episode costs 1 credit per 350 bytes, and retrieval and storage are not metered. The free plan includes 10,000 credits a month, and Flex is $125/mo for 50,000 credits. Zep's team also publishes Graphiti, an open-source (Apache-2.0) library for building real-time knowledge graphs for agents.

Letta: stateful agents with memory built in

Letta was founded by the creators of MemGPT at UC Berkeley. It is less an add-on and more a place to run stateful agents whose memory changes as they work. The Letta platform is open source (Apache-2.0). There is a hosted web app and CLI with a free plan (up to 3 stateful agents, bring your own API keys) and a $20/mo Pro plan. The Letta API developer plans are usage-based.

Two more to consider

Which one to pick

If you only need similarity search over documents, a vector database such as Pinecone, Weaviate, or Chroma may be all you need. See every option in Memory for AI agents.

Options at a glance

ToolWhat it doesPricingLicense
Mem0Memory layer for AI agentsFree tier; paid from $19/moOpen source
ZepAgent memory via temporal knowledge graphFree tier (10,000 credits/mo); paid from $125/moPartly open source
LettaStateful agents with long-term memory (formerly MemGPT)Free tier; paid from $20/moOpen source
SupermemoryMemory API for AI appsFree tier ($5 credits/mo); paid from $19/moOpen source
CogneeOpen-source AI memory platform for agents (works with MCP clients like Claude Code and Cursor)Free tier (1M tokens); $1.00 per 1M tokensOpen source

We list what each vendor's own site says. Pricing changes often, so check it on the vendor's site before you commit.

Liked this guide? Get one new agent-infra guide a week.

One short email with a new guide and the tools worth knowing about. Free, and you can unsubscribe anytime.