Mem0 is the best AI agent memory tool for most teams: a free Hobby plan, then $19 a month for Starter, with per-user memory, an open-source library and a managed cloud. Zep is the best pick when facts change over time, with a free tier and Flex at $125 a month. SuperMemory is the best value managed option, free to start and $19 a month for Pro.
How we make this list: we compare published pricing pages and documentation, and every price below was checked on December 5, 2026. We have not tested each tool hands-on, and no vendor paid to be listed.
Top 3 at a glance
- Mem0: Best overall AI agent memory tool. $19 per month (Starter); free Hobby plan.
- Zep: Best for facts that change over time. $125 per month (Flex); free tier.
- SuperMemory: Best memory with document connectors. $19 per month (Pro); free plan.
Key takeaways
- Mem0 is our overall pick: a free Hobby plan with 10,000 memory adds and 1,000 retrievals a month, Starter at $19 a month and Pro at $249 a month.
- Zep gives 10,000 free credits a month for prototyping, and Flex costs $125 a month for 50,000 credits, with retrieval and storage unmetered.
- SuperMemory Pro costs $19 a month and includes $20 of usage, while Scale costs $399 a month and includes $600 of usage.
- Letta Pro costs $20 a month and includes $20 in credits and up to 20 stateful agents; the free plan allows 3 stateful agents.
- Seven of the 10 tools are free to self-host as open source: Mem0, Cognee, Hindsight, MemMachine, Graphiti, LangMem and Memary.
- The cheapest paid managed plans start at $19 a month: Mem0 Starter and SuperMemory Pro.
Quick comparison
| Tool | Best for | Starting price | Free plan |
|---|---|---|---|
| 1. Mem0 | Best overall AI agent memory tool | $19 per month (Starter); free Hobby plan | Yes, free Hobby plan |
| 2. Zep | Best for facts that change over time | $125 per month (Flex); free tier | Yes, 10,000 credits a month |
| 3. SuperMemory | Best memory with document connectors | $19 per month (Pro); free plan | Yes, $5 of usage a month |
| 4. Letta | Best for stateful agents that own their memory | $20 per month (Pro); free plan | Yes, up to 3 stateful agents |
| 5. Cognee | Best value cloud and self-hosted graph memory | $0 a month, then $0.10 per 1M tokens (Standard) | Yes, free open source and free cloud start |
| 6. Hindsight | Best pay-as-you-go cloud memory | Pay as you go from $0; Retain $10 per 1M tokens | Yes, self-hosted free; $5 cloud credit |
| 7. MemMachine | Best open-core multi-layer memory | $79 per month (Pro); open source free | Yes, open source free forever |
| 8. Graphiti | Best free temporal graph engine | Free | Yes, free and open source |
| 9. LangMem | Best for LangGraph teams | Free | Yes, free and open source |
| 10. Memary | Best free graph memory for autonomous agents | Free | Yes, free and open source |
What is the best AI agent memory tool right now?
Mem0 is the best AI agent memory tool for most teams: a free Hobby plan, then $19 a month for Starter, with per-user memory, an open-source library and a managed cloud. Zep is the best pick when facts change over time, with a free tier and Flex at $125 a month. SuperMemory is the best value managed option at $19 a month for Pro.
What is the cheapest AI agent memory tool?
Graphiti is the cheapest AI agent memory tool: free and open source under Apache 2.0, with no licence fee at all, though you pay for your own LLM calls and graph database. Mem0 Hobby is the cheapest managed start at $0, with 10,000 adds and 1,000 retrievals a month. Zep also has a free tier with 10,000 credits a month for prototyping.
The best AI agent memory tools, ranked
1. Mem0
Mem0 is a memory layer for AI agents that remembers facts and preferences about each user between conversations. You send it messages, it extracts the useful facts, links entities such as people and places, and returns only the most relevant memories at query time. It ships as an open-source Python library and as a managed Platform, with SDKs for Python and JavaScript and an MCP server.
How much does Mem0 cost? The Hobby plan is free, with 10,000 add requests and 1,000 retrieval requests a month. Starter costs $19 a month for 50,000 adds and 5,000 retrievals, Pro costs $249 a month for 500,000 adds and 50,000 retrievals, and Enterprise is custom-priced (checked December 2026).
The trade-off is the meter. The Platform charges for memory adds and retrievals, so a chatty agent can burn through the free allowance, and graph memory is locked to the $249 Pro plan. Mem0 fits teams that want the most mature managed memory API and do not want to run their own vector store.
Pick something else if: Pick something else if your facts change often and you need to ask what was true on a past date. Zep builds a temporal knowledge graph for that, with Flex at $125 a month.
Key features
- Extracts facts and preferences from conversations
- Per-user memory with entity linking across memories
- Graph memory and Dream consolidation on Pro
- REST API, Python and JavaScript SDKs, and MCP server
- Open-source library you can self-host
Plans & pricing
- Hobby (Free): $0
- Starter: $19 per month
- Pro: $249 per month
- Enterprise: Custom
What we like
- Free Hobby plan with 10,000 adds and 1,000 retrievals a month
- Starter at $19 a month for 50,000 adds and 5,000 retrievals
- Open-source library under Apache 2.0 for self-hosting
- Works with any agent stack through a REST API, SDKs and MCP
Watch out for
- Graph memory and Dream consolidation need Pro at $249 a month
- With your own LLM key the free limits rise, but you pay the model provider
- Usage past your limits is billed on top, with a monthly cap you set
Skip it if: Skip it if you need temporal facts and point-in-time recall. Zep is built for that, with a free tier of 10,000 credits a month.
2. Zep
Zep is a memory and context platform for AI agents, built on Graphiti, an open-source temporal knowledge graph. Every conversation episode becomes a graph update, so Zep tracks when facts were true, not just that they were true. You send it messages and get back a context block of facts, entities, summaries and observations when the agent needs it.
How much does Zep cost? The free tier costs nothing and includes 10,000 credits a month. Flex costs $125 a month for 50,000 credits, Flex Plus costs $375 a month for 200,000 credits, and Enterprise is custom-priced. Annual billing lowers Flex to about $104 a month (checked December 2026).
The trade-off is price and the credit meter. Paid plans start at $125 a month, well above Mem0 and SuperMemory, and credits are spent per episode by size, so long messages cost more. Zep fits teams where the question is what was true then, such as changing user preferences, subscriptions or plans.
Pick something else if: Pick something else if you want the cheapest managed memory and do not need a temporal graph. Mem0 Starter costs $19 a month and covers per-user facts.
Key features
- Temporal knowledge graph built on the Graphiti engine
- Episodes, entities and facts with validity windows
- Assembled context blocks of facts, summaries and observations
- Memory MCP server and SDKs for agents
- Custom entity and edge types on paid plans
Plans & pricing
- Free: $0
- Flex: $125 per month
- Flex Plus: $375 per month
- Enterprise: Custom
What we like
- Temporal knowledge graph with validity windows on facts
- Free tier with 10,000 credits a month for prototyping
- Retrieval, storage, threads and users are unmetered
- Flex at $125 a month includes 50,000 credits with 30-day rollover
Watch out for
- Paid plans start at $125 a month, the highest entry price here
- Credits are spent per episode by size, one credit per 350 bytes
- The old self-hosted Community Edition was discontinued in April 2025
Skip it if: Skip it if $125 a month is too much for a first memory layer. SuperMemory Pro costs $19 a month and includes $20 of usage.
3. SuperMemory
SuperMemory is a hosted memory engine for AI apps and agents. You ingest conversations, documents, files and URLs, and it returns semantic search, extracted facts and per-user profiles. Connectors pull in Gmail, Google Drive, Notion, OneDrive and GitHub, so memory covers more than chat. Access is through a REST API, TypeScript and Python SDKs, plugins for Claude Code and Cursor, and MCP.
How much does SuperMemory cost? The free plan costs nothing and includes $5 of usage a month. Pro costs $19 a month with $20 of usage, Max costs $100 a month with $130 of usage, Scale costs $399 a month with $600 of usage, and Enterprise is custom-priced (checked December 2026).
The trade-off is that you pay twice in a sense: a monthly plan fee plus metered usage drawn from included credits, and the Gmail connector starts at Max ($100 a month). SuperMemory fits teams that want memory fed by documents and inboxes, not just conversations.
Pick something else if: Pick something else if you only need conversation memory and want the simplest pricing. Mem0 Starter is also $19 a month but meters adds and retrievals directly.
Key features
- Memory API with semantic search and extracted facts
- Per-user profiles built automatically
- Connectors for Gmail, Drive, Notion, OneDrive and GitHub
- Plugins for Claude Code, Cursor and other coding tools
- MCP server and SDKs for TypeScript and Python
Plans & pricing
- Free: $0
- Pro: $19 per month
- Max: $100 per month
- Scale: $399 per month
- Enterprise: Custom
What we like
- Free plan with $5 of usage a month and the full API
- Pro at $19 a month includes $20 of usage and 3 team seats
- Connectors for Gmail, Drive, Notion, OneDrive and GitHub
- Same per-unit rates on every plan, with SOC 2 and HIPAA on all plans
Watch out for
- Gmail connector starts at Max, $100 a month
- S3 and web crawler connectors need Scale at $399 a month
- Usage stops when credits run out unless auto top-up is on
Skip it if: Skip it if your memory comes only from chat and you want a lower entry price with no credit maths. Mem0 Hobby is free with 10,000 adds a month.
4. Letta
Letta is a platform for stateful AI agents that keep their memory and learn across sessions. It comes from the team behind MemGPT, the 2023 research on giving a language model a persistent memory. Memory is white-box: editable memory blocks, a sleep-time consolidation step the team calls dreaming, and a git-versioned memory filesystem the agent can read and rewrite. Agents run in the terminal, a web app, chat, and messaging channels.
How much does Letta cost? The free plan costs nothing and allows 3 stateful agents with your own API keys. Pro costs $20 a month and includes $20 in credits and up to 20 agents. Teams Pro costs $20 per seat a month, and Enterprise is custom-priced (checked December 2026).
The trade-off is that Letta is an agent runtime, not just a memory API, so you adopt its way of building agents. The product has been rebuilt more than once, and older MemGPT-era tutorials no longer match the current Letta Code tooling. Letta fits developers building long-running agents that should edit their own memory.
Pick something else if: Pick something else if you want a memory API to bolt onto an agent you already run. Mem0 works with any stack through a REST API from $19 a month.
Key features
- Stateful agents with memory that persists across sessions
- Editable memory blocks and sleep-time consolidation
- Git-versioned memory filesystem (MemFS)
- Runs in terminal, web app, chat and messaging channels
- Bring your own model keys or use Letta-hosted credits
Plans & pricing
- Free: $0 per month
- Pro: $20 per month
- Teams Pro: $20 per seat per month
- Enterprise: Custom
What we like
- Free plan with 3 stateful agents and bring-your-own keys
- Pro at $20 a month includes $20 in credits and 20 agents
- Memory blocks the agent can read, edit and rewrite
- Git-versioned memory you can inspect and diff
Watch out for
- Free plan caps each memory repository at 5 MiB of storage
- The V1 API server is archived, so older tutorials are stale
- Model usage is billed separately unless you bring your own keys
Skip it if: Skip it if you only need a memory store for an existing agent. Mem0 or Zep plug into any stack without changing how you build agents.
5. Cognee
Cognee is an open-source AI memory engine that turns documents and interactions into graph-plus-vector memory. One ingestion pipeline covers vector search, knowledge graphs and relational storage, and the engine runs locally or on your own stack for free. Cognee Cloud runs the same engine managed, with a single per-token meter and no per-seat charge.
How much does Cognee cost? The open-source engine is free to self-host. Cognee Cloud Standard starts at $0 a month and then charges $0.10 per 1M tokens processed, with 1 workspace included and extra workspaces at $5 each a month. Premium costs $99 a month plus token usage, and Enterprise is a custom bring-your-own-cloud engagement (checked December 2026).
The trade-off is that you operate the backends yourself when you self-host: the graph, vector and relational stores are yours to run. On Cloud, the entry price is low, but heavy ingestion still adds up per token, and auto-ontology needs Premium. Cognee fits teams that want graph memory without a per-seat bill.
Pick something else if: Pick something else if you want a managed memory API with a simple monthly plan and no token maths. Mem0 Starter is a flat $19 a month.
Key features
- Unified vector, knowledge graph and relational memory
- Single ingestion pipeline for documents and interactions
- Answer provenance on retrieved memories
- Agentic integrations with Claude Code, Codex and MCP
- Data source integrations for Slack, Notion, Linear and Drive
Plans & pricing
- Open source (self-hosted): Free
- Standard (Cloud): $0 per month, then $0.10 per 1M tokens
- Premium (Cloud): $99 per month plus token usage
- Enterprise: Custom
What we like
- Open-source engine under Apache 2.0, free to self-host
- Cloud Standard starts at $0 a month, then $0.10 per 1M tokens
- One meter covers ingestion, graph building and retrieval
- No per-seat fees: unlimited users and API calls in a workspace
Watch out for
- Extra workspaces cost $5 each per month
- Auto-ontology and the ontology editor need Premium at $99 a month
- Self-hosting means running the graph, vector and relational backends
Skip it if: Skip it if you want a fixed monthly price with no usage maths. SuperMemory Pro is $19 a month with $20 of usage included.
6. Hindsight
Hindsight is an open-source long-term memory system for AI agents from Vectorize. It stores memories in banks, with retain, recall and reflect APIs, plus mental models that consolidate what the agent has learned. The full server is MIT licensed and free to self-host with no usage limits, and Hindsight Cloud bills per token with no monthly or seat fee.
How much does Hindsight cost? Self-hosting is free under the MIT licence. Hindsight Cloud is pay as you go with no monthly fee: Retain costs $10.00 per 1M input tokens, Recall $0.75 per 1M output tokens, Reflect $0.05 per call, and storage $0.25 per 1M tokens a month after the first 30 days free. New accounts get $5 of credit, and Enterprise is custom-priced (checked December 2026).
The trade-off is the write price. Retain costs $10.00 per 1M input tokens, which is the priciest ingestion in this list, so heavy write volume adds up fast on Cloud. Hindsight fits teams that want the full open-source server for free and a managed cloud with no plan fee.
Pick something else if: Pick something else if you write far more memories than you read and want a flat monthly plan. Cognee Cloud Standard starts at $0 a month and charges $0.10 per 1M tokens processed.
Key features
- Retain, recall and reflect APIs for agent memory
- Mental models that consolidate learned knowledge
- Graph and temporal recall in the open-source server
- MCP endpoint, CLI, SDKs and a managed Cloud
- Memory defence screening on every retain
Plans & pricing
- Self-hosted: $0
- Hindsight Cloud: Pay as you go from $0
- Enterprise: Custom
What we like
- Full server free to self-host under the MIT licence
- Cloud has no monthly fee and no seat fee
- Retain, recall and reflect APIs plus mental models
- New Cloud accounts get $5 of free credit on signup
Watch out for
- Retain at $10 per 1M tokens is the priciest ingestion here
- Stored memories are free for 30 days, then $0.25 per 1M tokens a month
- The detailed Cloud pricing page was not readable when checked, so confirm rates before buying
Skip it if: Skip it if your agents write constantly and you want predictable monthly billing. Mem0 Starter is a flat $19 a month for 50,000 adds.
7. MemMachine
MemMachine is an open-source memory layer for AI agents, incubated by MemVerge. It combines three memory types behind one layer: working memory, episodic long-term memory and profile or semantic memory, each backed by a storage layer suited to it. It runs locally via Docker, self-hosted in a private cloud, or as a managed platform, and it works across sessions, agents and language models.
How much does MemMachine cost? The open-source edition is free forever and self-hosted. Pro costs $79 a month per project for managed cloud hosting, or $799.16 a year when billed annually. Enterprise is custom-priced for on-premise or VPC deployment (checked December 2026).
The trade-off is that the managed Pro plan is billed per project at $79 a month, so several projects multiply the bill, and the project is younger than Mem0 and Zep. MemMachine fits teams that want a layered memory model they can self-host for free and move to managed hosting later.
Pick something else if: Pick something else if you want a managed plan that covers all your projects for one fee. Mem0 Pro is $249 a month with unlimited projects.
Key features
- Working, episodic and profile memory in one layer
- Graph-stored episodic memory and SQL-stored profiles
- REST API, Python and TypeScript SDKs, and MCP tools
- Runs locally, self-hosted, or on the managed platform
- Context expansion and reranking search
Plans & pricing
- Open Source: $0 forever
- Pro: $79 per month per project
- Enterprise: Custom
What we like
- Open source under Apache 2.0, free to self-host
- Three memory types: working, episodic and profile
- Memory persists across sessions, agents and models
- Managed Pro hosting with higher rate limits
Watch out for
- Pro is billed per project at $79 a month
- The project is younger than Mem0 and Zep, with a smaller ecosystem
- Enterprise is announced as available soon, with pricing on request
Skip it if: Skip it if you run many projects and want one flat managed fee. Mem0 Pro covers unlimited projects for $249 a month.
8. Graphiti
Graphiti is an open-source framework from Zep that builds a temporal knowledge graph for AI agents. It turns chat messages, text and JSON into episodes, extracts entities and relationships, and tracks when each fact was true with bi-temporal timestamps. It runs on your own infrastructure with Neo4j, FalkorDB or Amazon Neptune as the store, and it is the same engine that powers Zep Cloud.
How much does Graphiti cost? Nothing for the software itself: Graphiti is free and open source under Apache 2.0. You pay only for your own LLM and embedding calls and for hosting the graph database. The managed version is Zep, which starts with a free tier and Flex at $125 a month (checked December 2026).
The trade-off is that Graphiti is a library, not a service: you build the user, thread and context layers yourself, and you pay for the LLM calls, embeddings and graph database. Graphiti fits teams that need facts to stay in their own infrastructure and want full control over extraction and storage.
Pick something else if: Pick something else if you want memory as a managed API with no database to run. Zep Cloud is the hosted service built on Graphiti, from $125 a month.
Key features
- Temporal knowledge graph with bi-temporal timestamps
- Entity and relationship extraction from episodes
- Semantic, keyword and graph-traversal retrieval
- Reference MCP server with memory tools
- Runs on Neo4j, FalkorDB or Amazon Neptune
Plans & pricing
- Open source: Free
What we like
- Free under Apache 2.0, with no licence fee
- Temporal graph with validity windows on every fact
- Same engine that powers Zep Cloud
- Works with Neo4j, FalkorDB or Amazon Neptune
Watch out for
- You build users, threads and context assembly yourself
- Every add runs LLM extraction, so ingestion costs tokens and time
- No hosted option of its own; the managed route is Zep
Skip it if: Skip it if you do not want to run a graph database. Mem0 has a managed Platform with a free Hobby plan.
9. LangMem
LangMem is an open-source Python SDK from LangChain for long-term memory in LangGraph agents. It adds three memory types to LangGraph agents: semantic memory for facts and preferences, episodic memory for past interaction summaries, and procedural memory, where the agent rewrites its own system instructions based on feedback. It works with any LangGraph store you already run.
How much does LangMem cost? Nothing. LangMem is free and open source under the MIT licence. You pay only for your own LLM calls for extraction, embedding calls for search, and the database behind your LangGraph store (checked December 2026).
The trade-off is coupling. LangMem only makes sense inside LangGraph, so teams on other frameworks get little from it, and the package is still pre-1.0, with its latest release in October 2025. LangMem fits teams already running LangChain and LangGraph that want memory without a new service.
Pick something else if: Pick something else if you are not on LangChain or LangGraph. Mem0 works with any agent stack through a REST API and has a free Hobby plan.
Key features
- Semantic, episodic and procedural memory types
- Background extraction manager for conversations
- Works with any LangGraph store
- Prompt optimisation from agent feedback
- Two agent tools for managing and searching memory
Plans & pricing
- Open source: Free
What we like
- Free under the MIT licence, with nothing to buy
- Three memory types: semantic, episodic and procedural
- Procedural memory has no equivalent in Mem0 or Zep
- Two typed agent tools: manage_memory and search_memory
Watch out for
- Only works inside LangGraph; no standalone service
- Still pre-1.0, with the latest release in October 2025
- You run and pay for your own store, LLM and embeddings
Skip it if: Skip it if your agents do not run on LangGraph. Zep gives you a managed temporal graph with a free tier of 10,000 credits a month.
10. Memary
Memary is an open-source memory layer for autonomous agents. It stores a large corpus of information in knowledge graphs, infers user knowledge through its memory modules, and retrieves only the relevant memories for each query. A routing agent directs queries among its tools, and a dashboard visualises the stored memory. It is built for multi-agent systems that need persistent state across distributed agents.
How much does Memary cost? Nothing. Memary is free and open source under the MIT licence, and you can self-host it at no licence cost. You pay only for your own infrastructure and model calls (checked December 2026).
The trade-off is maturity. The latest PyPI release is 0.1.3 from May 2024, so the project moves slowly, and it assumes local installation with models through Ollama. Memary fits hobbyists and researchers who want a free graph memory layer for autonomous agents.
Pick something else if: Pick something else if you want an actively maintained graph memory with a managed option. Cognee is open source too, with a managed Cloud from $0 a month.
Key features
- Knowledge graph memory storage
- Memory stream and entity knowledge store
- Routing agent for query execution
- Multi-agent support with shared state
- Dashboard visualisation of memories
Plans & pricing
- Open source: Free
What we like
- Free under the MIT licence, with no licence cost
- Knowledge graph storage with graph-based retrieval
- Built for multi-agent coordination and shared state
- Dashboard to visualise stored memories
Watch out for
- Latest release is 0.1.3 from May 2024, so updates are slow
- Assumes local installation with Ollama models
- Smaller community than Mem0, Zep or LangMem
Skip it if: Skip it if you need a maintained tool with recent releases. Graphiti is free too and is actively developed by Zep.
Which one should you pick?
- Mem0: $19 a month for Starter, and the best pick for most teams: mature managed memory with a free tier.
- Zep: $125 a month for Flex, and the best pick when facts change over time and you need point-in-time recall.
- SuperMemory: $19 a month for Pro, and the best pick when memory should also cover documents, Gmail and Drive.
- Letta: $20 a month for Pro, and the best pick for stateful agents that edit their own memory.
- Cognee: $0 a month, then $0.10 per 1M tokens, and the best pick for graph memory with no per-seat bill.
- Hindsight: Pay as you go from $0, and the best pick for a full open-source server with a no-fee cloud.
- MemMachine: $79 a month for Pro, and the best pick for layered working, episodic and profile memory.
- Graphiti: Free, and the best pick for a temporal graph engine you run yourself.
- LangMem: Free, and the best pick for teams already running LangGraph.
- Memary: Free, and the best pick for a free graph memory layer for autonomous agents.
How much does AI agent memory cost in 2026?
Most teams can start for free: Mem0 Hobby, Zep, SuperMemory, Letta, Cognee Cloud and Hindsight Cloud all have free tiers or free starts, and seven tools here are free open source. Paid managed plans start at $19 a month for Mem0 Starter and SuperMemory Pro, run to $20 a month for Letta Pro, $79 a month for MemMachine Pro, $99 a month for Cognee Premium, $125 a month for Zep Flex and $375 a month for Zep Flex Plus. Usage-based options charge per token or per credit instead of a flat fee, so the real bill depends on how many memories your agents write and read.
| Tool | Entry plan | Mid plan | Top listed plan | Billing notes |
|---|---|---|---|---|
| Mem0 | Hobby — $0 | Starter — $19/mo | Pro — $249/mo | Monthly; Enterprise custom; usage past limits billed extra |
| Zep | Free — $0 | Flex — $125/mo | Flex Plus — $375/mo | Monthly or annual, annual saves 17%; Enterprise custom |
| SuperMemory | Free — $0 | Pro — $19/mo | Scale — $399/mo | Monthly; Max $100/mo sits between Pro and Scale; Enterprise custom |
| Letta | Free — $0 | Pro — $20/mo | Teams Pro — $20/seat/mo | Monthly; Enterprise custom; model usage billed separately |
| Cognee | Open source — Free | Standard — $0/mo, then $0.10/1M tokens | Premium — $99/mo plus usage | Usage-based per token; extra workspaces $5/mo; Enterprise custom |
| Hindsight | Self-hosted — $0 | Cloud — pay as you go from $0 | Enterprise — Custom | Retain $10/1M tokens, Recall $0.75/1M, Reflect $0.05/call; no monthly fee |
| MemMachine | Open Source — $0 | Pro — $79/mo per project | Enterprise — Custom | Monthly or annual, annual saves about 15% |
| Graphiti | Open source — Free | Open source — Free | Open source — Free | Free, open source; LLM, embedding and database costs are yours |
| LangMem | Open source — Free | Open source — Free | Open source — Free | Free, open source; LLM, embedding and store costs are yours |
| Memary | Open source — Free | Open source — Free | Open source — Free | Free, open source; infrastructure and model costs are yours |
How to choose the right AI agent memory tool
Start with where your agents run. If they already run on LangGraph, begin with LangMem, because it is free and native. If they run anywhere else, begin with a standalone API such as Mem0, Zep or SuperMemory.
Next, decide what the memory must remember. Facts about a user fit Mem0 or SuperMemory. Facts that change over time fit Zep or Graphiti. An agent that should edit its own memory fits Letta.
Then check the meter before you commit. Mem0 charges per add and retrieval, Zep charges per episode by size, SuperMemory draws from monthly credits, and Cognee and Hindsight charge per token. Estimate your monthly messages first, then pick the plan.
Check the free tier against real volume. Mem0 Hobby allows 10,000 adds and 1,000 retrievals a month, Zep gives 10,000 credits, and SuperMemory gives $5 of usage. Run a real agent on the free tier for two weeks before paying.
Finally, decide who operates the store. Managed services cost more but need no database work. Self-hosted open source costs nothing in licences but needs you to run the vector store, graph database or Postgres behind it.
How we chose these tools
We compared 10 tools that teams actually use to give AI agents memory, from managed APIs to open-source libraries. We scored them on fit for agent memory first, then on price, free plan and self-hosting options.
Prices come from each vendor's own pricing page or public repository, checked on December 5, 2026. We left out tools that hide their pricing behind sales calls, and no vendor paid for placement. We did not test the tools hands-on, so this list compares published information.
We favoured tools with a free tier or a free open-source edition, because memory is easiest to evaluate by running it against real conversations. Where a vendor's pricing page could not be read directly, we say so in the tool's entry.
Frequently asked questions
What is the best AI agent memory tool?
Mem0 is our top pick for most teams, with a free Hobby plan and Starter at $19 a month. Zep is the best pick when facts change over time, at $125 a month for Flex. SuperMemory is the best value managed option, with Pro at $19 a month.
Is there a free AI agent memory tool?
Yes. Seven tools here are free to self-host as open source: Mem0, Cognee, Hindsight, MemMachine, Graphiti, LangMem and Memary. Managed free tiers also exist: Mem0 Hobby, Zep with 10,000 credits a month, SuperMemory with $5 of usage, and Letta with 3 stateful agents.
How much does AI agent memory cost?
Managed plans start at $19 a month: Mem0 Starter and SuperMemory Pro. Letta Pro is $20 a month, Cognee Cloud starts at $0 and charges $0.10 per 1M tokens, Hindsight Cloud is pay as you go from $0, and Zep Flex is $125 a month. Self-hosted open-source tools cost nothing in licences.
What is the difference between Mem0 and Zep?
Mem0 extracts facts and preferences per user and retrieves the most relevant ones at query time, with an optional graph on Pro. Zep builds a temporal knowledge graph, so it tracks when facts were true and can answer what was true on a past date. Mem0 starts at $19 a month; Zep starts at $125 a month.
Can I self-host AI agent memory?
Yes. Mem0, Cognee, Hindsight, MemMachine, Graphiti, LangMem and Memary are all free open source and can run on your own infrastructure. You still pay for your own LLM and embedding calls and for hosting the database behind them.
Which AI agent memory tool is best for LangGraph?
LangMem is the best pick for LangGraph teams, because it is free, open source and native to the LangGraph store, with semantic, episodic and procedural memory. If you are not on LangGraph, Mem0 or Zep work with any stack.
Do I need a managed service or open source?
Pick a managed service if you want memory without running a database: Mem0, Zep, SuperMemory and Cognee Cloud all have free tiers. Pick open source if the data must stay in your infrastructure, you want no per-seat or per-call bill, or you need to control extraction and storage yourself.
Sources we checked (10)
- Mem0 pricing
- Zep pricing
- SuperMemory pricing
- Letta pricing, Letta Docs
- Cognee pricing
- Hindsight, GitHub
- MemMachine
- Graphiti, GitHub
- LangMem docs
- Memary, GitHub