billion-context vs claude-mem

billion-context and claude-mem share 3 technologies: Anthropic, Zod, and typebox. Both are written in TypeScript.

Read it as markdown

What they share and what sets them apart

ranxianglei

billion-context

A context-compression plugin for month-long single sessions (billions of tokens) and small context windows (a 100K context is enough), billion-context is all you need .

TypeScript7.8kRead on November 18, 2026, at commit 3f0c1d2What is billion-context built with?

Only in billion-context

In common

thedotmack

claude-mem

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

TypeScript117.7kRead on November 17, 2026, at commit 82d3602What is claude-mem built with?

Only in claude-mem

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
billion-context643,762 lines written440 code files
claude-mem633,523 lines written1,064 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
billion-context0.3% of its commits signed by AIWith Claude Code, Codex, and Cursor
claude-mem57.2% of its commits signed by AIWith Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit
ActivityFrom GitHub and its history, on the day SeeRepo read it.
billion-contextLast push November 18, 20265,907 commits7,843 stars
claude-memLast push November 16, 20264,385 commits117,695 stars
TestsThe files that test the code, and the share of code files a test imports.
billion-context1,573 test files89.8% of its code files have a test that imports them
claude-mem1,754 test files65.7% of its code files have a test that imports them

Frequently asked questions

Which is bigger, billion-context or claude-mem?
billion-context, with 643,762 lines written; claude-mem has 633,523.

The proof: ranxianglei/billion-context's code at commit 3f0c1d2

Which has more GitHub stars, billion-context or claude-mem?
claude-mem, with 117,695 stars; billion-context has 7,843.

The proof: thedotmack/claude-mem on GitHub

Which has more tests, billion-context or claude-mem?
claude-mem, with 1,754 test files; billion-context has 1,573.

The proof: thedotmack/claude-mem's code at commit 82d3602

Which was updated more recently, billion-context or claude-mem?
billion-context: its last push was on November 18, 2026, and claude-mem's on November 16, 2026.

The proof: ranxianglei/billion-context's commits on GitHub

Which has more commits signed by AI, billion-context or claude-mem?
claude-mem: an AI signed 57.2% of its commits, with Claude Code, Cursor, GitHub Copilot, Codex, and CodeRabbit; in billion-context, 0.3%.

The proof: the commits each tool signed in thedotmack/claude-mem

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.Private repo? Sign in with GitHub

Or look inside SeeRepo's own →