33rd of 55 in Model serving

LocalAI

Self-hosted inference server with OpenAI-compatible API and pluggable backends

Stars
49.9k
License
MIT
Last commit
Oct 2026
Last release
Oct 2026
Language
Go
Stars, last 30 weeks+6,109
26 Mar 2026: 43,793 stars2 Apr 2026: 44,172 stars9 Apr 2026: 44,576 stars16 Apr 2026: 44,882 stars23 Apr 2026: 45,187 stars30 Apr 2026: 45,401 stars7 May 2026: 45,587 stars14 May 2026: 45,771 stars21 May 2026: 45,928 stars28 May 2026: 46,081 stars4 Jun 2026: 46,264 stars11 Jun 2026: 46,429 stars18 Jun 2026: 46,631 stars25 Jun 2026: 46,817 stars2 Jul 2026: 46,980 stars9 Jul 2026: 47,163 stars16 Jul 2026: 47,310 stars23 Jul 2026: 47,528 stars30 Jul 2026: 47,814 stars6 Aug 2026: 48,082 stars13 Aug 2026: 48,249 stars20 Aug 2026: 48,422 stars27 Aug 2026: 48,561 stars3 Sept 2026: 48,714 stars10 Sept 2026: 48,932 stars17 Sept 2026: 49,055 stars24 Sept 2026: 49,181 stars1 Oct 2026: 49,312 stars8 Oct 2026: 49,421 stars15 Oct 2026: 49,573 stars22 Oct 2026: 49,902 stars

43,793 on 26 Mar 202649,902 on 22 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LocalAI serves LLMs, vision, speech, image and video models behind OpenAI, Anthropic, ElevenLabs and Ollama-compatible APIs. Each backend (llama.cpp, vLLM, whisper.cpp, diffusers, MLX and others) is a separate OCI image pulled on demand. It also ships a web UI, API-key auth with quotas, built-in agents with MCP, and a distributed mode using PostgreSQL and NATS.

Who it is for: Self-hosters wanting a local, OpenAI-compatible server for many model types

Ranked among open-source alternatives to LM Studio (#4 of 10) and OpenAI API (#3 of 10).

Strengths

  • Covers text, vision, speech, image and video models behind one API
  • Runs on CPU, CUDA 12/13, ROCm, Intel oneAPI, Vulkan, Apple Silicon and Jetson
  • Backends install on demand, so only the engines a model needs are pulled
  • Includes API-key auth, user quotas and a distributed mode for horizontal scaling

Weaknesses

  • Distributed mode requires PostgreSQL and NATS
  • macOS DMG is not signed by Apple and needs a manual xattr command
  • Wide scope (agents, fine-tuning, UI) makes the feature surface large to evaluate
  • vllm.cpp backend is described as alpha development builds

What it needs

  • GPU optional
  • Docker + Compose
  • Needs PostgreSQL (distributed mode), NATS (distributed mode)
  • Models: GGUF, llama.cpp, vLLM, SGLang, transformers
  • port 8080

Quick answers

Is LocalAI open source?

Yes. Its code is on GitHub under the MIT license.

Can you run LocalAI with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Does LocalAI need a GPU?

No. It runs on a CPU and can use a GPU when you have one.

Head to head

Also in Model serving

See all 55
Also in Model serving
RankProjectScore
1llama.cppC/C++ inference engine serving GGUF models over an OpenAI-compatible API132.2k starsMIT93 out of 100
2OllamaLocal model runner with CLI and REST API for open-weight LLMs184.6k starsMIT92 out of 100
#4vLLMInference engine for Hugging Face LLMs with PagedAttention and continuous batching95.3k starsApache-2.088 out of 100
#5colibriC inference engine that streams MoE experts from disk to run huge models43.7k starsApache-2.085 out of 100
#6strataRuns a 125B-parameter MoE model on one consumer GPU plus system RAM31.4k starsMIT85 out of 100