Skip to content
Agents tracked: 504 Releases (7d): 602 Agent status: no reported issuesSince last limit reset: Claude 13d · Codex 11d For AI agents: Markdown Updated Nov 24, 2026

Mem0

Long-term memory for your AI assistant.

Memory for agentsOfficial MCP server

WebsitePricingGitHub

1. Price

“First 30 days: 10,000 adds and 1,000 retrievals a month, model calls on us”

Free tier: First 30 days: 10,000 adds and 1,000 retrievals a month with model calls on Mem0; then 50,000 adds and 10,000 retrievals a month with your own LLM key. As reported on the official pricing page, checked Nov 2, 2026.

mem0.ai/pricing

Checked against the maker's official pages, pricing on Nov 2, 2026. Tap a verdict to see its source.How we checkedReport an error

What Mem0 does

Mem0 gives your chatbot or AI agent a memory that lasts between conversations. Your app sends it the chat, Mem0 picks out facts worth keeping, such as "allergic to nuts", and later returns the ones that fit a new question. It is an online service with a free plan, and the same engine is open source for self-hosting.

  • Mem0 is one of 6 APIs in the Memory for agents category on AgentGid.
  • It is one of 5 that can be started for free.
  • It ships an official MCP server, like 3 others here.
  • Its official SDK is the 1st most downloaded in the category (788K a week).

What people build with it

Assistant that remembers each customer

Your support bot recalls a customer's past tickets and preferences, so they do not have to explain everything again.

Personal details in every answer

Before the AI answers, fetch what it already knows about this person and add it to the prompt, so it does not ask again.

Tutor that tracks progress

A learning app remembers what a student finds hard and what they already mastered, and adapts the next lesson.

Memory for your coding assistant

Connect Claude Code, Cursor or another assistant to the hosted Mem0 server so it keeps notes across sessions.

Game characters that remember players

Characters recall a player's earlier choices and style, so the game reacts to what happened before.

Separate memory per agent

Give a planner bot and a reviewer bot their own notes about the same user, so their context does not mix.

Mem0 popularity

732K
SDK downloads a week
+20.7% on the 4-week average
425
public agent repos use its SDK
69.4K
GitHub stars, mem0ai/mem0
SDK downloads per weeknpm mem0ai, pypi mem0ai 731,946

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

First 30 days: 10,000 adds and 1,000 retrievals a month with model calls on Mem0; then 50,000 adds and 10,000 retrievals a month with your own LLM key

Cheapest plan

No monthly plan

Usage price

Usage-based billing past the free limits, with a monthly cap you set; Custom plan for higher limits or a contract (no public plan prices)

Plans

Graph memory only on Pro and above. Usage-based pricing available on request. The old self-run mem0-mcp repo is archived; the official MCP is now cloud-hosted.

What one action costs

ActionPrice
Free plan (unlimited end users; 10,000 adds and 1,000 retrievals a month for 30 days)Free
1,000 adds, paid to your own LLM provider with a recommended model (low end)$3.55
1,000 adds, paid to your own LLM provider with a recommended model (high end)$5.34
Price history
  • A year of the pricing page in the Internet Archive (11 months): the lowest monthly figure went from $19 (2025-11) to $19 (2026-10).
  • 2026-05: lowest $/month figure $19 → $79; new figures $79/mo, $250/mo; no longer shown $19/mo
  • 2026-06: free plan shown
  • 2026-08: lowest $/month figure $79 → $19; new figures $19/mo; no longer shown $79/mo, $250/mo
  • 2 changes in our catalog since Oct 9, 2026, last on Nov 2, 2026.

As reported on the official pricing page, checked Nov 2, 2026. Prices change: confirm before you buy. mem0.ai/pricing

Limits

Free (first 30 days)

10,000 adds and 1,000 retrievals a month

Free (with your own LLM key)

50,000 adds and 10,000 retrievals a month

Free (after 30 days, no key)

Searches up to 1,000 a month; new adds refused

From the official docs. mem0.ai/pricing

Key and access

How it signs in

API key sent as "Authorization: Token <key>"; the hosted MCP server also accepts browser sign-in or the key as a bearer token.

Environment variable
MEM0_API_KEY (name used in the docs' cURL and MCP examples; pass it to MemoryClient)
Safe in browser code
No, keep it on your server
Card at sign-up

No

Steps only a person can do

  • Sign up for Mem0 Platform and create an API key; decide whether the free plan's training licence is acceptable for your users' data. Read MEM0_API_KEY from .env on the server; the person pastes it there, not into the chat.
  • Before the 30 days end, connect your own LLM key (organization owner, Settings, BYOK). No code change; adds keep working with higher free limits.
  • For more than the free limits, turn on usage-based billing with a monthly cap, or ask for a custom plan. No code change; handle limit errors in the app.

Commercial use and your data

The Mem0 code is open source under Apache 2.0. The hosted platform has its own terms; on the free plan, Mem0 may use what you store to train AI models, and paid plans exclude that.

In a paid app
With conditions

Allowed under the platform terms, but you may not resell or sublicense the service; on the free plan Mem0 may use stored content to train models.

“sublicense, lease, sell, resell, rent, loan, distribute, transfer or otherwise allow the use of the Mem0 Technology for the benefit of any unauthorized third party” source

To train your own AI
With conditions

On the free plan your stored content may be used by Mem0 to train AI models; on a paid plan it is not used for training.

“Mem0 will not use Customer Content of Customer's accessing the Mem0 Service on a Paid Plan to train or improve any machine learning or artificial intelligence models” source

client-work
With conditions

Possible, but you must have the right to upload your client's and users' content and to grant Mem0 the licences in the terms.

“Customer represents and warrants that it has all rights necessary to upload and use the Customer Content” source

redistribute-files
With conditions

The open-source code may be passed on under Apache 2.0; the hosted service may not be resold.

“Apache 2.0 - see the LICENSE file for details.” source

Trains on what you send

Yes on the free plan (perpetual licence that includes training models); no on paid plans.

“For the avoidance of doubt, Mem0 will not use Customer Content of Customer's accessing the Mem0 Service on a Paid Plan to train or improve any machine learning or artificial intelligence models, except as expressly set forth in Section 5.3.” source

Keeps your data

Memories are kept while the account is active and deleted or de-identified when no longer needed.

“"Memories" and other inputs are retained while your account is active and are deleted or de-identified when no longer needed.” source

Where data is stored

Cloud providers in the United States and other countries; no region choice is described for the platform.

“Your personal information may be transferred to the United States or other locations where privacy laws may not be as protective as those in your state, province, or country.” source

Errors to handle

401

Missing or invalid API key

Check the "Token " prefix and MEM0_API_KEY, or create a new key in the dashboard.

400

Validation error, such as no messages or no user, agent or run id

Send messages and at least one entity id with every add.

monthly limit reached

Calls past the monthly free limit

Wait for the monthly reset, connect your own LLM key, or turn on usage-based billing with a cap.

FAILED add (provider out of quota)

Your connected LLM provider account has no credit

Add credit with the provider, then send the failed adds again; Mem0 does not retry them.

401 Authentication required (MCP)

The MCP client is neither signed in nor sending the API key

Sign in through the client's browser prompt or send MEM0_API_KEY as a bearer token.

Use it from an agent

Our agent check

6 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page yes, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

Mem0 MCP (hosted at mcp.mem0.ai)

npx mcp-add \ --name mem0-mcp \ --type http \ --url "https://mcp.mem0.ai/mcp" \ --clients "claude code"

npm
npm install mem0ai
PyPI
pip install mem0ai

Instructions in its docs to check first

The docs say

“Install the CLI, then mint a key without email, dashboard, or OTP”

Never create an account for the person. Ask them to sign up and paste the key into .env themselves.

The docs say

“If you're an AI agent (Claude Code, Cursor, Codex, Cline, Aider, Windsurf, or any other coding tool), run the four commands below. You don't need a human to set Mem0 up for you.”

The commands install a global CLI and sign up an account under the agent's name; ask the person first and let them sign up.

The docs say

“Mem0 Platform (managed) is the recommended path”

Vendor steering; check with the person whether the free plan's training licence is acceptable before choosing hosted over self-hosted.

Alternatives

Mem0 This page

Free (open source)Free tierOfficial MCP

Zep

Pick Zep for context-graph memory that ingests chats and business data and returns relevant facts.

from $25 per 10,000 creditsFree tierOfficial MCP

Supermemory

Pick Supermemory for a memory and retrieval service that builds per-user memory graphs from text, files and connectors.

$0.005 / 1k requestsFree tierOfficial MCP

Letta

Pick Letta when you want whole stateful agents (formerly MemGPT) that edit their own long-term memory.

Free (open source)Free tierOfficial MCP

All memory for agents APIs

Get started

Tell your AI assistant

“Add Mem0 memory to my chatbot: on the server read MEM0_API_KEY from .env, pin mem0ai 2.2.1, add each finished conversation with the signed-in user's id, search with filters={"user_id": ...} before each model call, and never send the key to the browser.”

  1. Create a Mem0 Platform account and copy an API key from the dashboard.

    From docs.mem0.ai/platform/quickstart.md

  2. Install the Python or JavaScript package.

    pip install mem0ai

    From docs.mem0.ai/llms.txt

  3. Create the client with the key, then add and search memories for one user.

    from mem0 import MemoryClient
    
    client = MemoryClient(api_key="your-api-key")

    From docs.mem0.ai/platform/quickstart.md

First request

From the Platform quickstart, step 4 (cURL); the response is trimmed. The memories were added in step 3.

curl -X POST https://api.mem0.ai/v3/memories/search/ \
  -H "Authorization: Token $MEM0_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What are my dietary restrictions?",
    "filters": {"user_id": "user123"}
  }'

Mistakes to avoid

client.search(query, user_id="alice") in the current SDK
client.search(query, filters={"user_id": "alice"})

Reads take the user, agent, app and run ids inside the filters object.

Passing output_format, api_version, async_mode or enable_graph from older examples
Upgrade to the current major and follow the migration guide

These parameters were removed in the current major version.

Searching for a memory right after add and treating an empty result as a bug
Follow the add's event_id until it succeeds, then search

Adds are queued and processed in the background.

Searching with AND on user_id and agent_id for memories saved with only a user_id
Filter only on the ids the memories were saved with

The other ids are null on those memories, so the AND filter matches nothing.

Calling Mem0 from browser code with the API key
Call Mem0 from your server and keep MEM0_API_KEY out of committed files

The key gives access to all memories in the workspace.

Questions

Is there a free plan?

Yes, with unlimited end users. For 30 days Mem0 pays the model calls; then you bring your own LLM key for higher free limits.

What happens at a monthly limit?

Calls past the limit fail until next month, unless you turn on usage-based billing with a monthly cap (needs your own LLM key).

How much does usage past the free limits cost?

The rate is shown in the dashboard when you turn usage-based billing on; the public pages list no unit price.

Can I run it myself?

Yes. Use the open-source library in your app or a self-hosted server with Docker; by default it calls OpenAI models.

Does the text go to my AI provider?

Yes. With your own key, added text is sent to that provider under your account and its terms.