LocalAI vs LEANN

LocalAI and LEANN share 12 technologies: MCP, OpenAI, FastAPI, einops, torchvision, torch, transformers, mlx, mlx-lm, sglang, datasets, and sentence-transformers. LocalAI is written in Go and LEANN in Python.

Read it as markdown

What they share and what sets them apart

mudler

LocalAI

LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.

Go50.3kRead on November 13, 2026, at commit affff71What is LocalAI built with?

Only in LocalAI

In common

StarTrail-org

LEANN

[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.

Python13.8kRead on November 9, 2026, at commit 07796bdWhat is LEANN built with?

Only in LEANN

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
LocalAI1,553,487 lines written3,372 code files
LEANN55,453 lines written86 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.
LocalAI6% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
LEANN11.2% of its commits signed by AIWith Claude Code, Cursor, GitHub Copilot, and Jules
ActivityFrom GitHub and its history, on the day SeeRepo read it.
LocalAILast push November 13, 20269,855 commits50,345 stars
LEANNLast push November 3, 2026617 commits13,785 stars
TestsThe files that test the code, and the share of code files a test imports.
LocalAI3,400 test files62.5% of its code files have a test that imports them
LEANN65 test files36% of its code files have a test that imports them

Frequently asked questions

Which is bigger, LocalAI or LEANN?
LocalAI, with 1,553,487 lines written; LEANN has 55,453.

The proof: mudler/LocalAI's code at commit affff71

Which has more GitHub stars, LocalAI or LEANN?
LocalAI, with 50,345 stars; LEANN has 13,785.

The proof: mudler/LocalAI on GitHub

Which has more tests, LocalAI or LEANN?
LocalAI, with 3,400 test files; LEANN has 65.

The proof: mudler/LocalAI's code at commit affff71

Which was updated more recently, LocalAI or LEANN?
LocalAI: its last push was on November 13, 2026, and LEANN's on November 3, 2026.

The proof: mudler/LocalAI's commits on GitHub

Which has more commits signed by AI, LocalAI or LEANN?
LEANN: an AI signed 11.2% of its commits, with Claude Code, Cursor, GitHub Copilot, and Jules; in LocalAI, 6%.

The proof: the commits each tool signed in StarTrail-org/LEANN

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.

Or look inside SeeRepo's own →