Source: https://seerepo.com/compare/BerriAI/litellm/vs/MemPalace/mempalace
Markdown source: https://seerepo.com/compare/BerriAI/litellm/vs/MemPalace/mempalace.md
Description: litellm and mempalace share 3 technologies: rusqlite, SQLite, and tokenizers. Both are written in Python.

# litellm vs mempalace

litellm and mempalace share 3 technologies: rusqlite, SQLite, and tokenizers. Both are written in Python.

- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm): The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
- [MemPalace/mempalace](https://seerepo.com/r/MemPalace/mempalace): The best-benchmarked open-source AI memory system. And it's free.

## What they share and what sets them apart

- In common: rusqlite, SQLite, tokenizers
- Only in litellm: FastAPI, Flask, axum, tower, aws-sdk-s3, psycopg, sqlx-postgres, sqlx, Postgres, moka, Redis, azure_storage_blob, OpenAI, Claude, Qdrant, Tokio, anyio, AIOHTTP, React, Next.js, Anthropic, jsonwebtoken, aws-sdk-sts, azure_identity, gcp_auth, litellm, rmcp, tiktoken, tiktoken-rs, jinja2, zip, Pydantic, schemars, jsonschema, tracing, boto3, azure_core, aws-sdk-secretsmanager, tracing-subscriber, Tailwind CSS, class-variance-authority, next-themes, tanstack, React Hook Form, Base UI, react-syntax-highlighter, recharts, react-copy-to-clipboard, react-hotkeys-hook, usehooks-ts, @shadcn/react, cmdk, sonner, ProseMirror, prosemirror-state, prosemirror-view, react-json-view-lite, react-resizable-panels, Lucide, @heroicons/react, jwt-decode, react-markdown, papaparse, remark-gfm, Zod, @hookform/resolvers
- Only in mempalace: chromadb, Hugging Face

## Side by side

| | litellm | mempalace |
|---|---|---|
| Size | 4,586,231 lines written, 5,606 code files | 250,204 lines written, 161 code files |
| Who writes it | 20.1% of its commits signed by AI. With Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI | 19% of its commits signed by AI. With Claude Code, Cursor, Codex, GitHub Copilot, Jules, and Gemini CLI |
| Activity | Last push November 5, 2026, 46,240 commits, 62,741 stars | Last push November 4, 2026, 1,703 commits, 60,378 stars |
| Tests | 6,918 test files. 22% of its code files have a test that imports them | 304 test files. 70.2% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, litellm or mempalace?

litellm, with 4,586,231 lines written; mempalace has 250,204.

The proof: [BerriAI/litellm's code at commit 7e4ad6e](https://github.com/BerriAI/litellm/tree/7e4ad6eb333071d67c2eb03ce6468f89a0855027)

### Which has more GitHub stars, litellm or mempalace?

litellm, with 62,741 stars; mempalace has 60,378.

The proof: [BerriAI/litellm on GitHub](https://github.com/BerriAI/litellm)

### Which has more tests, litellm or mempalace?

litellm, with 6,918 test files; mempalace has 304.

The proof: [BerriAI/litellm's code at commit 7e4ad6e](https://github.com/BerriAI/litellm/tree/7e4ad6eb333071d67c2eb03ce6468f89a0855027)

### Which was updated more recently, litellm or mempalace?

litellm: its last push was on November 5, 2026, and mempalace's on November 4, 2026.

The proof: [BerriAI/litellm's commits on GitHub](https://github.com/BerriAI/litellm/commits)

### Which has more commits signed by AI, litellm or mempalace?

litellm: an AI signed 20.1% of its commits, with Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI; in mempalace, 19%.

The proof: [the commits each tool signed in BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/ai)

## Sources

- BerriAI/litellm: Read on November 5, 2026, at commit 7e4ad6e (https://github.com/BerriAI/litellm/tree/7e4ad6eb333071d67c2eb03ce6468f89a0855027)
- MemPalace/mempalace: Read on November 5, 2026, at commit 2da78c8 (https://github.com/MemPalace/mempalace/tree/2da78c883a61a2fa689103c65a1fa9cab18d4dc3)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
