Home/Compare/claude-mem vs GPTCache

Comparison

claude-mem vs GPTCache

Verdict

Pick claude-mem if claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity; pick GPTCache if semantic caching tool for LLMs, integrates with LangChain and llama_index.

Markdown twin · claude-mem alternatives · GPTCache alternatives

GraphCanon updated 5d

claude-mem logo

claude-mem

thedotmack/claude-mem

91kpushed Aug 17, 2026
vs
GPTCache logo

GPTCache

zilliztech/GPTCache

8.1kpushed Jul 11, 2025

Trust & integrity

Signalclaude-memGPTCache
Maintenance
Very active (0d since push)
As of 5d · github_public_v1
Dormant (392d since push)
As of 2w · github_public_v1
Provenance
Not a fork · Personal account
As of 5d · github_public_v1
Not a fork · Organization account
As of 2w · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of 1mo · osv@v1
No published findings from this source as of 2026-07-11
As of 1mo · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

claude-mem
Persistent Context Across Sessions for Every Agent
GPTCache
Semantic cache for LLMs.

Stars

claude-mem
91k
GPTCache
8.1k

Forks

claude-mem
8.0k
GPTCache
589

Open issues

claude-mem
200
GPTCache
94

Language

claude-mem
JavaScript
GPTCache
Python

Adopt for

claude-mem
claude-mem provides persistent context across sessions, leveraging AI to capture and compress agent activity.
GPTCache
Semantic caching tool for LLMs, integrates with LangChain and llama_index.

Persona

claude-mem
-
GPTCache
-

Runtime

claude-mem
-
GPTCache
-

License

claude-mem
Claude-Mem is distributed under the Apache License 2.0, allowing it to be freely used in a variety of development and production environments while maintaining clear licensing terms.
GPTCache
MIT

Last pushed

claude-mem
Aug 17, 2026
GPTCache
Jul 11, 2025

Categories

claude-mem
AI Agents, Inference & Serving
GPTCache
Evaluation & Observability, Inference & Serving

Trust and health

Maintenance

claude-mem
Very active (96%)
GPTCache
Dormant (18%)

Days since push

claude-mem
0d
GPTCache
392d

Open issues (now)

claude-mem
200
GPTCache
94

Stars delta

claude-mem
+3.3k (30d)
GPTCache
Unknown

Open issues delta

claude-mem
-116 (30d)
GPTCache
Unknown

Owner type

claude-mem
User
GPTCache
Organization

OSV dependency advisories

claude-mem
No lockfile (source not queried)
GPTCache
No published findings from this source as of 2026-07-11

Full report

claude-mem
Trust report
GPTCache
Trust report

Shared compatibility

  • Python · claude-mem: Python runtime · GPTCache: Python runtime

Choose claude-mem if…

  • claude-mem is primarily JavaScript; GPTCache is Python.
  • License: claude-mem is Apache-2.0, GPTCache is MIT.
  • Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported..
  • Tags unique to claude-mem: ai-agents, ai-memory, chromadb, claude.
  • Also covers AI Agents.
  • claude-mem ships Docker support for self-hosted deployment.
  • claude-mem ships an MCP server manifest.
  • When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.

When NOT to use claude-mem

  • When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate.
  • If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.

Choose GPTCache if…

  • GPTCache is primarily Python; claude-mem is JavaScript.
  • License: GPTCache is MIT, claude-mem is Apache-2.0.
  • Tags unique to GPTCache: aigc, autogpt, babyagi, chatbot.
  • Also covers Evaluation & Observability.
  • You need vector search capabilities integrated directly into your caching mechanism using Milvus or Redis.

When NOT to use GPTCache

  • Your application strictly requires a non-Python environment as GPTCache is Python-specific.
  • If you seek minimal dependencies and manual setup; GPTCache installs additional libraries automatically based on usage.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: claude-mem 91k · GPTCache 8.1k (synced Aug 18, 2026).

Common questions

What is the difference between claude-mem and GPTCache?
claude-mem: Persistent Context Across Sessions for Every Agent. GPTCache: Semantic cache for LLMs.. See the comparison table for live GitHub stats and shared categories.
When should I choose claude-mem over GPTCache?
Choose claude-mem over GPTCache when claude-mem is primarily JavaScript; GPTCache is Python; License: claude-mem is Apache-2.0, GPTCache is MIT; Requirements: Requires Node.js v20.0.0 or higher.; Must have the latest version of Claude Code with plugin support.; Auto-installs Bun (JavaScript runtime and process manager) if not already present.; Requires uv (Python package for vector search), auto-installation supported.; Tags unique to claude-mem: ai-agents, ai-memory, chromadb, claude; Also covers AI Agents; claude-mem ships Docker support for self-hosted deployment; claude-mem ships an MCP server manifest; When you require seamless and persistent context continuity between different session interactions with Claude Code or other supported agents.
When should I choose GPTCache over claude-mem?
Choose GPTCache over claude-mem when GPTCache is primarily Python; claude-mem is JavaScript; License: GPTCache is MIT, claude-mem is Apache-2.0; Tags unique to GPTCache: aigc, autogpt, babyagi, chatbot; Also covers Evaluation & Observability; You need vector search capabilities integrated directly into your caching mechanism using Milvus or Redis.
When should I avoid claude-mem?
When working in environments where Node.js v20.0.0 or higher cannot be installed, as claude-mem requires this version to operate. If your specific AI agent or tool does not integrate with the supported frameworks listed (e.g., Claude Code, OpenClaw), making context persistence ineffective for your workflow.
When should I avoid GPTCache?
Your application strictly requires a non-Python environment as GPTCache is Python-specific. If you seek minimal dependencies and manual setup; GPTCache installs additional libraries automatically based on usage.
Is claude-mem or GPTCache more popular on GitHub?
claude-mem has more GitHub stars (91,018 vs 8,124). Stars measure visibility, not whether either tool fits your constraints.
Are claude-mem and GPTCache open source?
Yes - both are open-source projects on GitHub (claude-mem: Apache-2.0, GPTCache: MIT).
Where can I find alternatives to claude-mem or GPTCache?
GraphCanon lists graph-backed alternatives at claude-mem alternatives and GPTCache alternatives (claude-mem markdown twin, GPTCache markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, claude-mem or GPTCache?
claude-mem: Very active. GPTCache: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for claude-mem and GPTCache?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: claude-mem trust report; GPTCache trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.