LocalAI vs textgen

LocalAI and textgen share 18 technologies: MCP, Hugging Face, FastAPI, accelerate, bitsandbytes, coqui-tts, einops, sentencepiece, tiktoken, torchao, transformers, diffusers, datasets, peft, safetensors, sentence-transformers, pillow, and jinja2. LocalAI is written in Go and textgen 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.2kRead on November 5, 2026, at commit efc6f93What is LocalAI built with?

Only in LocalAI

In common

oobabooga

textgen

Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private.

Python47.7kRead on November 5, 2026, at commit c93f887What is textgen built with?

Only in textgen

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
LocalAI1,389,292 lines written2,979 code files
textgen29,113 lines written105 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.
LocalAI3.7% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
textgen0% of its commits signed by AIWith GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
LocalAILast push November 5, 20269,317 commits50,214 stars
textgenLast push August 17, 20265,288 commits47,737 stars
TestsThe files that test the code, and the share of code files a test imports.
LocalAI2,911 test files60.8% of its code files have a test that imports them
textgen1 test file1% of its code files have a test that imports them

Frequently asked questions

Which is bigger, LocalAI or textgen?
LocalAI, with 1,389,292 lines written; textgen has 29,113.

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

Which has more GitHub stars, LocalAI or textgen?
LocalAI, with 50,214 stars; textgen has 47,737.

The proof: mudler/LocalAI on GitHub

Which has more tests, LocalAI or textgen?
LocalAI, with 2,911 test files; textgen has 1.

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

Which was updated more recently, LocalAI or textgen?
LocalAI: its last push was on November 5, 2026, and textgen's on August 17, 2026.

The proof: mudler/LocalAI's commits on GitHub

Which has more commits signed by AI, LocalAI or textgen?
LocalAI: an AI signed 3.7% of its commits, with Claude Code, GitHub Copilot, and Cursor.

The proof: the commits each tool signed in mudler/LocalAI

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 →