LocalAISelf-hosted OpenAI-compatible server for running open AI models locally
TextGenLocal desktop chat and API for language models
LocalAI vs TextGen
How LocalAI and TextGen compare on popularity, activity, license and platforms: two open-source AI Interaction & Interfaces projects, both alternatives to Gemini.
At a glance
- LocalAI has more GitHub stars (50.6k vs 47.8k).
- LocalAI was updated more recently (last commit today, TextGen 3 months ago).
- LocalAI uses MIT (permissive); TextGen uses AGPL-3.0 (copyleft).
- LocalAI can be self-hosted; TextGen is not listed as self-hostable.
Side by side
| LocalAI | TextGen | |
|---|---|---|
| GitHub stars | ★ 50,586 | ★ 47,758 |
| Forks | 4,654 | 5,983 |
| Last commit | today | 3 months ago |
| Latest version | v5.0.1 | v4.9 |
| Repository started | March 2023 | December 2022 |
| License | MIT · permissive | AGPL-3.0 · copyleft |
| Self-hosted | Yes | Desktop/CLI app |
| Platforms | Linux, macOS, Windows, Docker, CLI, Web | Linux, Windows, macOS, Docker, Web |
| Main language | Go | Python |
| Alternative to | Anthropic API, ChatGPT, Gemini, OpenAI API | Gemini, LM Studio |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 27 November 2026.
LocalAI
LocalAI runs open models for chat, images, speech, video and music on your own hardware, with OpenAI- and Anthropic-compatible APIs. It works on CPU or GPU and adds team chats, files, agents and add-ons.
Key features
- OpenAI, Anthropic and ElevenLabs compatible API
- Text, vision, speech, image, video and music models
- More than 80 backends
- Model and backend gallery
- Agents with tools, MCP and skills
- Projects, files and Knowledge collections
TextGen
Desktop application to run local LLMs with chat, vision, tools, and an OpenAI-compatible API without telemetry.
Key features
- Local GGUF and extended backends
- Instruct and character chat modes
- Multimodal image attachments
- OpenAI-compatible local API
- Tool and MCP calling in chat
- LoRA training on chat datasets