qmetrics.net
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

Side by side

LocalAITextGen
GitHub stars★ 50,586★ 47,758
Forks4,6545,983
Last committoday3 months ago
Latest versionv5.0.1v4.9
Repository startedMarch 2023December 2022
LicenseMIT · permissiveAGPL-3.0 · copyleft
Self-hostedYesDesktop/CLI app
PlatformsLinux, macOS, Windows, Docker, CLI, WebLinux, Windows, macOS, Docker, Web
Main languageGoPython
Alternative toAnthropic API, ChatGPT, Gemini, OpenAI APIGemini, 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

More comparisons

Report a mistake on this page