Compare

litellm vs cognee

litellm and cognee share 4 technologies: Next.js, React, FastAPI, and OpenAI. Both are written in Python.

Read it as markdown

What they share and what sets them apart

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]

Python62.4kRead on October 30, 2026, at commit ef9385cWhat is litellm built with?
topoteretes

cognee

Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free

Python33kRead on November 1, 2026, at commit 525b1d1What is cognee built with?

In common

Only in litellm

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
litellm4,405,837 lines written5,630 code files
cognee653,245 lines written2,198 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.
litellm20% of its commits signed by AIWith Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI
cognee17.2% of its commits signed by AIWith Claude Code, CodeRabbit, Cursor, GitHub Copilot, and OpenHands
ActivityFrom GitHub and its history, on the day SeeRepo read it.
litellmLast push October 30, 202645,956 commits62,405 stars
cogneeLast push November 1, 20268,651 commits32,980 stars
TestsThe files that test the code, and the share of code files a test imports.
litellm6,741 test files21.7% of its code files have a test that imports them
cognee1,483 test files11.1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, litellm or cognee?
litellm, with 4,405,837 lines written in 5,630 code files; cognee has 653,245 in 2,198.

The proof: BerriAI/litellm's code at commit ef9385c

Which has more GitHub stars, litellm or cognee?
litellm, with 62,405 stars; cognee has 32,980.

The proof: BerriAI/litellm on GitHub

Which has more tests, litellm or cognee?
litellm, with 6,741 test files; cognee has 1,483.

The proof: BerriAI/litellm's code at commit ef9385c

Which was updated more recently, litellm or cognee?
cognee: its last push was on November 1, 2026, and litellm's on October 30, 2026.

The proof: topoteretes/cognee's commits on GitHub

Which has more commits signed by AI, litellm or cognee?
litellm: an AI signed 20% of its commits, with Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI; in cognee, 17.2%.

The proof: the commits each tool signed in BerriAI/litellm

What is your repo built with?

Paste your public repo and see it drawn.

Free, no account.

Or look inside SeeRepo's own →