Compare

litellm vs LightRAG

litellm and LightRAG share 6 technologies: React, FastAPI, Redis, Postgres, OpenAI, and Anthropic. 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?
HKUDS

LightRAG

[EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

Python40.5kRead on October 31, 2026, at commit aaebfe1What is LightRAG built with?

In common

Only in litellm

Only in LightRAG

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
litellm4,405,837 lines written5,630 code files
LightRAG442,998 lines written338 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
LightRAG19.8% of its commits signed by AIWith Claude Code, Codex, GitHub Copilot, Cursor, and Jules
ActivityFrom GitHub and its history, on the day SeeRepo read it.
litellmLast push October 30, 202645,956 commits62,405 stars
LightRAGLast push October 29, 20268,260 commits40,452 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
LightRAG676 test files66% of its code files have a test that imports them

Frequently asked questions

Which is bigger, litellm or LightRAG?
litellm, with 4,405,837 lines written in 5,630 code files; LightRAG has 442,998 in 338.

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

Which has more GitHub stars, litellm or LightRAG?
litellm, with 62,405 stars; LightRAG has 40,452.

The proof: BerriAI/litellm on GitHub

Which has more tests, litellm or LightRAG?
litellm, with 6,741 test files; LightRAG has 676.

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

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

The proof: BerriAI/litellm's commits on GitHub

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

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 →