Comparisons

Zep vs. Letta
Zep is the better choice for adding time-aware memory to an existing agent through a managed service. Letta is better for stateful agents that manage their own memory on an open-source runtime. Pricing and features compared.
Last updated December 2026
Zep is the better choice for teams that want a managed context service they call from their existing agent, built on a temporal knowledge graph that tracks how facts about users and business data change over time. Letta is the better choice for teams that want the agent runtime itself to hold memory, with stateful agents that edit their own memory and keep their full history, running on Letta Cloud or your own server.
We make Exabase, which appears as a short third option near the end. This is a neutral comparison of Zep and Letta, based on each vendor’s pricing page, documentation and GitHub repositories, checked in December 2026.
Quick verdict
Choose Zep if you already have an agent, built in any framework, and want a service that turns conversations, JSON records and documents into a graph of facts with time attached, then hands back a context block for the prompt.
Choose Letta if you are building long-running, stateful agents from scratch and want memory to be part of the agent, managed by the agent through its own tools, with an open-source runtime you can self-host.
Consider Exabase if you want memory, file storage, document search and per-tenant isolation behind one API, without adopting a new agent runtime or running a graph database.
Comparison table
Feature | Zep | Letta |
|---|---|---|
What it is | Managed context and memory service | Platform and open-source harness for stateful agents |
Memory model | Temporal knowledge graph of entities, relationships and facts | Editable memory held by the agent, plus stored history |
Who writes memory | Zep’s ingestion pipeline | The agent, through memory tools, or you through the API |
Open source | Graphiti graph framework (Apache-2.0) | Letta Code harness and App Server (Apache-2.0) |
Self-hosting | Zep service is managed; BYOC on Enterprise | Yes, through the Letta App Server |
Free plan | 10,000 credits a month | Up to 3 stateful agents, bring your own model keys |
Entry paid plan | Flex, $125 per month | Pro, $20 per month with $20 of credits |
Billing unit | Credits per Episode ingested; retrieval free | Credits for model use, sandboxes and server-side tools |
SDKs | Python, TypeScript and Go | TypeScript Agent SDK |
Enterprise security | SSO, SCIM, audit logs, SOC 2 Type II, HIPAA BAA | Role-based access control, SAML or OIDC SSO |
Architecture: a memory service or an agent runtime
The two products sit at different layers, and that matters more than any single feature. Zep is a service your agent calls. You send each message, JSON payload or block of text to Zep as an Episode; Zep extracts entities and facts, links them in a graph, and later returns the facts relevant to a user or thread. Your agent loop, model and tools stay the same, so Zep fits alongside LangGraph, the OpenAI Agents SDK or a hand-written agent loop.
Letta runs the agent. It began as MemGPT, the research project that treated the context window like an operating system’s memory, paging information in and out, and the platform keeps that idea. Agents carry editable memory that sits in their context, call tools to rewrite it as they learn, and keep every message and tool call in a database so nothing is lost when older turns fall out of the window. Letta’s documentation now centres on Letta Code, an open-source harness for coding agents, assistants and agents embedded in applications, with the Letta Agent SDK for TypeScript and a Letta App Server for running the full runtime yourself.
So the first decision is whether you want a new agent runtime. If you do, Letta brings memory with it. If you have an agent already and want it to remember users and business facts, Zep is the smaller change.
Winner: Zep for adding memory to an existing agent. Letta for building stateful agents from the ground up.
How each one models memory
Zep starts from a temporal knowledge graph. Each Episode is processed into entities, relationships and facts, and each fact carries validity dates. When a customer moves from the Starter plan to Enterprise, the old fact is marked as no longer valid instead of being deleted, so the agent can answer both “what plan is she on?” and “what plan was she on in March?”. The graph is built with Graphiti, Zep’s open-source framework, which uses explicit bi-temporal tracking with automatic fact invalidation. Zep keeps the raw Episodes alongside the derived facts, which maps onto the split between episodic memory and semantic memory. Zep now describes itself as a unified context layer for enterprise data, and its graphs can take in business records and documents as well as chat.
Letta treats memory as something the agent maintains. Important context, such as what the agent knows about the user and about its own role, sits in the prompt as editable text, and the agent rewrites it with memory tools when it learns something new. Everything else, including older messages, stays in Letta’s database and is reached through retrieval tools the agent chooses to call. The documentation lists MemFS and shared memory among its concepts, so several agents can work from common memory. This is close to virtual context management: the agent decides what stays in view.
The two approaches fail in different ways. A graph pipeline can mis-extract or merge entities wrongly, but it behaves the same way every time. Self-editing agents depend on the model and its instructions, and can drift or overwrite useful facts, so teams test with conversations where facts change; memory drift and memory poisoning cover the failure modes.
Winner: Zep for consistent, time-aware facts across many users. Letta for memory the agent can reason about and edit itself.
Retrieval and context assembly
Zep’s search runs over the graph and can return facts, entities and Episodes, combining semantic, keyword and graph-based ranking. It also assembles a context block, a ready-made summary of what the agent should know about a user or thread, which saves a large part of the context engineering work. Multi-hop questions, such as which supplier a customer’s last order came from, are where the graph helps most. Retrieval costs no credits.
In Letta, the most important memory is already in the prompt, because it is part of the agent’s context. Long-tail recall happens when the agent calls a search tool over past conversations or stored information. That keeps a compact working set always present and leaves the agent to judge when to look further back, at the cost of an extra step in the agent loop when it does.
Winner: Zep for assembled context and multi-hop questions. Letta for an always-present working memory the agent controls.
Pricing
Zep’s pricing page, checked in December 2026, lists four plans. Free includes 10,000 credits a month. Flex is $125 per month, billed monthly, with 50,000 credits, 600 requests per minute, 5 projects and overage at $25 per 10,000 credits. Flex Plus is $375 per month with 200,000 credits, 1,000 requests per minute, 10 projects and overage at $75 per 40,000 credits, plus webhooks and custom extraction instructions. Enterprise is custom. A credit covers an Episode of up to 350 bytes, with one more credit for each further 350 bytes, so a 640-byte message costs 2 credits; retrieval, storage, threads and users cost nothing. Annual billing is advertised as saving 17%, without annual prices shown. See Zep pricing.
Letta’s pricing page lists Free at $0 a month with up to three stateful agents, 5 MiB of storage per memory repository and no included model usage, so you bring your own API keys or buy credits. Pro is $20 a month with $20 of monthly credits usable on any model and for remote sandboxes, up to 20 stateful agents and 50 MiB per memory repository. Teams Pro adds teammates and shared agents, with no price on the page, and Enterprise is custom. Credits convert at 1,000 to $1; cloud sandboxes cost $0.24 to $0.70 per running hour depending on size, and server-side tools $0.00015 per CPU second. Letta’s own guidance is that chat users often stay within the included $20, while heavy coding use can reach $100 to $200 or more a month. See Letta pricing.
The bills measure different things. Zep charges for what you write into memory, and your agent’s model calls are billed by your model provider. Letta’s bill can cover the agent’s model calls and sandbox time as well as memory, because Letta runs the agent.
Winner: Letta for the cheapest paid entry point. Zep for predictable memory costs on read-heavy agents.
Open source and self-hosting
Letta’s harness and App Server are open source under Apache-2.0, and its repository has over 25,000 GitHub stars. You can run the whole runtime yourself or use Letta Cloud, and the Agent SDK connects to either. Self-hosting Letta means running the agent runtime and its database.
Zep the service is managed. Its open-source component, Graphiti, is Apache-2.0 and runs against Neo4j, FalkorDB or Amazon Neptune, but it is the graph construction framework inside Zep, not the full product, so you would build the service layer, context assembly and user management yourself. For data residency, Zep’s Enterprise plan offers bring-your-own-key encryption or BYOC inside your own VPC.
Winner: Letta for self-hosting the complete product. Zep for managed deployment inside your own cloud.
Multi-tenancy and isolation
Zep organises data into users, threads and graphs within projects, with 2 projects on Free, 5 on Flex, 10 on Flex Plus and unlimited on Enterprise. Letta scopes memory to agents, with access control and shared agents on its team and enterprise plans. In both, keeping one customer’s memory away from another’s depends on your application passing the right user, project or agent identifiers, which is worth reviewing against the guidance on memory isolation and cross-tenant data leakage.
Winner: tie. Both scope by identifiers; neither gives each tenant a separate environment for files and search.
Security and compliance
Zep’s plan table lists SSO and SCIM, audit logs, SOC 2 Type II and a HIPAA BAA on Enterprise, with API log retention of 1 day on Flex, 7 days on Flex Plus and 1 year on Enterprise. Letta’s pricing page lists role-based access control and SAML or OIDC SSO on Enterprise and does not mention SOC 2 or HIPAA, so ask Letta directly if you need them. Your own compliance depends on your deployment and needs your legal and engineering review.
Winner: Zep for documented enterprise compliance.
Who should choose Zep
Zep suits teams with an agent in production that needs to know how facts about a customer have changed: support agents that see plan upgrades and order history, sales copilots that track deals across calls, and enterprise assistants that combine chat with CRM or ticketing records. A real-world example: a B2B support agent sends every conversation and nightly account export to Zep, and before each reply it pulls a context block that already says the customer upgraded last week and has an open billing ticket. See also Mem0 vs Zep, Zep alternatives and LangMem vs Zep.
Who should choose Letta
Letta suits developers building assistants and coding agents that run for weeks, learn a user or codebase as they go, and keep their memory in view. A real-world example: a coding agent built on Letta Code keeps a running note of the project’s conventions and past debugging sessions, rewrites it when a convention changes, and searches older sessions only when a bug looks familiar. See also Mem0 vs Letta, Letta alternatives and Letta vs LangMem.
A third option: Exabase
Exabase sits between the two. Like Zep, Exabase Memory is a service your existing agent calls: you send conversations or text, and its M-1 engine extracts facts, preferences and events, tracks relationships and resolves contradictions as facts change, so a user who moves from Toronto to Berlin has one current city. M-1 scores 96.4% on LongMemEval and is first on BEAM at 100K, 1M and 10M tokens, per Exabase Research. Retrieval is hybrid with recency weighting, optional query expansion and reranking, at about 200ms for simple retrieval. Around the memory sit file storage, sub-document Deep Search and Bases, which give each user or customer an isolated environment for memory, files and search, enforced at the infrastructure level rather than by filtering. Where Letta is stronger: Exabase is not an agent runtime and cannot be self-hosted, so your agent loop stays yours. Where Zep is stronger: Exabase does not expose a queryable graph of facts with validity dates. Compare in Exabase vs Zep and Exabase vs Letta, or read the memory docs. The Free plan is $0 a month with 1 GB of storage, 200 credits and up to 100 Bases.
How we compared
We read Zep’s pricing page, Letta’s pricing page and documentation, and the Graphiti and Letta repositories on GitHub on 4 December 2026. We compared architecture, memory model, retrieval, price, open source, tenancy and compliance, and did not run our own benchmarks of either product. Prices change often, so check each vendor’s page before you commit.
Frequently asked questions
Is Zep better than Letta?
Zep is better if you want a memory service for an existing agent that tracks how facts change over time. Letta is better if you want a stateful agent runtime where the agent manages its own memory and you can self-host the whole stack.
What is the main difference between Zep and Letta?
Zep is a memory and context service your agent calls; Letta is a platform that runs the agent. Zep builds a temporal knowledge graph from what you send it, while Letta agents edit their own memory through tools.
Is Zep open source?
Zep’s service is managed. Its graph framework, Graphiti, is open source under Apache-2.0 and can run on Neo4j, FalkorDB or Amazon Neptune, but it is a building block rather than the full Zep product.
Is Letta open source?
Yes. Letta Code and the Letta App Server are open source under Apache-2.0, and you can self-host the runtime or use Letta Cloud.
Is Letta the same as MemGPT?
Letta grew out of MemGPT, the research project on managing an LLM’s context like an operating system manages memory. The company and platform took the Letta name, and the platform still builds on that idea.
How much does Zep cost?
Zep has a Free plan with 10,000 credits a month, Flex at $125 per month and Flex Plus at $375 per month, both billed monthly, and custom Enterprise pricing. Credits are charged on data you add; retrieval is free.
How much does Letta cost?
Letta has a Free plan with up to three stateful agents and your own model keys, Pro at $20 per month including $20 of credits, Teams Pro and custom Enterprise pricing. Model usage, sandboxes and server-side tools beyond that are billed in credits.
Can I use Zep with Letta?
You can call Zep from a Letta agent as a tool, but it is rarely worth it, since Letta already manages memory. Teams more often pick one: Zep for memory beside an existing framework, or Letta as the framework.
Which is better for multi-agent systems?
Letta, because agents can share memory and run on the same platform. Zep can serve several agents from one graph, but coordination between them stays in your code.
How do I move from Letta to Zep?
Export your agents’ message history and memory contents from Letta, then send the messages to Zep as Episodes under matching users and threads so Zep rebuilds the facts in its graph. Replace Letta’s memory tools with calls to Zep’s context endpoint before each model call.
Which has better benchmark results?
Both vendors have published research on long-memory benchmarks, using different setups, so the numbers are not directly comparable. Test each on your own conversations, especially ones where facts change. Exabase’s M-1 results on LongMemEval and BEAM are in the benchmark write-up.
Is Exabase an alternative to Zep and Letta?
Yes, for teams that want a memory service with storage, search and per-tenant isolation in one API. It suits agents built in any framework; it is not an agent runtime like Letta. See the agent memory solution.
Related pages: Mem0 vs Zep, Mem0 vs Letta, Zep alternatives, Letta alternatives, Exabase vs Zep, Exabase vs Letta, Best agent memory platforms, Best open-source agent memory, Agent memory, Agent memory solution, Supermemory vs Zep, Letta vs Cognee
Compare similar apps and tools:

LangGraph vs. OpenAI Agents SDK

CrewAI vs. AutoGen

n8n vs. Zapier

Relevance AI vs. Lindy

Temporal vs. Inngest

Inngest vs. Trigger.dev

E2B vs. Modal

E2B vs. Modal

E2B vs. Daytona

People Data Labs vs. Apollo

ScreenshotOne vs. Urlbox

Microlink vs. Iframely

AWS Rekognition vs. Google Cloud Vision

Twelve Labs vs. Mixpeek

Twelve Labs vs. Google Video Intelligence

ElevenLabs vs. Deepgram

Deepgram vs. Speechmatics

AssemblyAI vs. Gladia

Zyte vs. ScrapingBee

Bright Data vs. Oxylabs

Google Document AI vs. Azure Document Intelligence

Rossum vs. Nanonets

Mindee vs. Veryfi

Reducto vs. Extend

LlamaParse vs. Mistral OCR

LlamaParse vs. Docling

Bedrock Knowledge Bases vs. Vertex AI Search

Vectara vs. Ragie

LanceDB vs. Chroma

MongoDB Atlas vs. Pinecone

Weaviate vs. Milvus

Vespa vs. Elasticsearch

Algolia vs. Typesense

Typesense vs. Meilisearch

Elasticsearch vs. OpenSearch

LangMem vs. Zep

Vertex AI Memory Bank vs. AWS AgentCore Memory

AWS AgentCore Memory vs. Mem0

Letta vs. Cognee

Zep vs. Cognee

Bedrock Knowledge Bases vs. Azure AI Search

OpenAI file search vs. Pinecone

Docling vs. Unstructured

Azure Document Intelligence vs. Textract

Mistral OCR vs. Textract

Reducto vs. Unstructured

Apify vs. ScraperAPI

Firecrawl vs. ScraperAPI

turbopuffer vs. Pinecone

pgvector vs. Qdrant

Chroma vs. Weaviate

Qdrant vs. Milvus

Letta vs. LangMem

Cognee vs. Mem0

Supermemory vs. Zep

CrewAI vs. LangGraph

LangChain vs. LlamaIndex

Whisper vs. Deepgram

Deepgram vs. AssemblyAI

Textract vs. Google Document AI

Docling vs. Marker

LlamaParse vs. Reducto

LlamaParse vs. Unstructured

Firecrawl vs. Apify

Firecrawl vs. Jina

LangMem vs. Mem0

Mem0 vs. Supermemory

Zep vs. Letta

Mem0 vs. Letta

pgvector vs. Pinecone

Mem0 vs. Zep

Milvus vs. Pinecone

Chroma vs. Qdrant

Weaviate vs. Qdrant

Pinecone vs. Qdrant

Pinecone vs. Chroma

Pinecone vs. Weaviate