Skip to content

Menu

Mem0
VS
Zep

Mem0 vs Zep

Short answer

For most teams starting out, Mem0 is the easier first step. It's open source in the full sense, you can run it as a library or a Docker server, and the free hosted plan is generous if you bring your own model key. The catch is that its hosted paid tier has no public price, and graph memory sits on that Custom plan. Zep makes more sense when time actually matters in your data, such as a customer whose plan, address or owner changes, because its graphs track when facts were valid instead of just storing the latest. Its pricing is clearer as of November 2026, with Flex at $125 a month, and retrieval is free, which suits read-heavy agents. If you want Zep's approach without the service, Graphiti is the honest alternative, though its reference servers ship without authentication and aren't meant for production as-is.

Mem0 and Zep both give AI agents a memory that lasts beyond one conversation, but they're built around different ideas and sold in different ways.

Mem0 calls itself a memory layer for agents. You can use it three ways: as a library you install with pip install mem0ai or npm install mem0ai, as a self-hosted server you start with Docker Compose, or as the managed Mem0 Platform. Its README says the memory algorithm changed in April 2026 to single-pass, add-only extraction, so new memories are added rather than updated or deleted in place, and there's a migration guide for people moving from the older open-source version. The code is Apache 2.0.

Zep is a hosted service. Its docs now describe it as a context layer for enterprise data: it takes conversations, documents and business data and stores them in temporal context graphs, where facts carry time information. The open-source part is Graphiti, the temporal knowledge graph framework that runs inside Zep. Graphiti is Apache-2.0 and self-hosted only, while Zep itself is fully managed or runs in your own cloud on the Enterprise plan. The getzep/zep repository on GitHub says plainly that it isn't the product, just examples and integrations.

So the real question is: do you want a memory library you can run yourself today, or a managed graph service with self-serve plans?

How they compare

AspectMem0Zep
What you runLibrary, self-hosted server (docker compose up, auth on by default) or the managed Mem0 Platform.Zep Cloud, or your own VPC (BYOC) on Enterprise. Graphiti is the open-source engine you can self-host separately.
Memory modelExtracts memories from conversations; since April 2026 extraction is single-pass and add-only. Graph memory with entity linking is listed on the Custom plan.Temporal context graphs built by Graphiti, where facts carry time information and can be traced to the episodes they came from.
SDKsPython and Node/TypeScript, a Vercel AI SDK provider, and a CLI.Python (zep-cloud), TypeScript (@getzep/zep-cloud) and Go.
Free tierFree plan with unlimited end users; with your own LLM key, 50,000 adds and 10,000 retrievals a month, then usage billing up to a cap you set.10,000 credits a month, 2 projects, no rollover.
Paid plansOnly a Custom plan with no public price; it adds graph memory, SSO, audit logs, SLA and on-prem deployment.Flex $125/month with 50,000 credits, Flex Plus $375/month with 200,000 credits, Enterprise custom.
Billing unitAdds and retrievals.Credits per episode ingested (1 credit per 350 bytes); retrieval, storage and users cost nothing.
LicenceApache 2.0 for the open-source project.Graphiti is Apache-2.0; the Zep service itself is proprietary.

Price at a glance

Plan detailMem0Zep
Free optionOngoing free planOngoing free plan
How paid plans chargeSubscription plus usageSubscription plus usage
Cheapest paid planNo monthly USD price published$125 a month per account

Entry plans differ in what they include, so read the full pricing in the Mem0 and Zep reviews. From the same data as our AI tool pricing overview, checked November 2026.

Choose Mem0 if…

  • You want to run memory inside your own app or on your own servers without talking to sales.
  • You'd like to start as a pip or npm library and move to a hosted service later.
  • Your agents mostly need to remember user preferences and facts from chats.
  • You want to bring your own LLM key and stay on the free plan for a while.
Read our Mem0 review

Choose Zep if…

  • Facts in your domain change over time and you need to know what was true when.
  • You want to combine chat history with documents and business data in one graph.
  • You want published self-serve prices and free retrieval, paying only for what you ingest.
  • You're happy to self-host Graphiti for the graph part and skip the managed service entirely.
Read our Zep review

Researched November 2026 from each product's official documentation and pricing pages. Prices and features change often, so check the vendors' sites before you decide.

Sources

More comparisons

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…