33rd of 117 in Model serving
LocalAI
Self-hosted model server with OpenAI, Anthropic and ElevenLabs-compatible APIs
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 50.6k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Go
43,793 on 28 Mar 202650,551 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
LocalAI is a Go server that runs LLMs, vision, speech, image and video models behind OpenAI-, Anthropic- and ElevenLabs-compatible HTTP APIs. Each of its 60+ backends (llama.cpp, vLLM, whisper.cpp, diffusers, MLX and others) ships as a separate OCI image, pulled when a model needs it. It also has a web UI, API key auth with quotas, MCP support and an optional distributed mode on PostgreSQL and NATS.
Who it is for: Self-hosters wanting a local drop-in replacement for OpenAI-style APIs
Ranked among open-source alternatives to LM Studio (#6 of 10) and OpenAI API (#3 of 10).
Strengths
- Covers text, vision, speech, image and video models behind one API
- Backends install on demand as OCI images, so unused engines are not pulled
- Runs on CPU, NVIDIA CUDA 12/13, AMD ROCm, Intel oneAPI, Vulkan, Apple Silicon
- Multi-user auth with API keys, quotas and roles; distributed mode for scaling out
Weaknesses
- Distributed mode requires running PostgreSQL and NATS alongside the server
- Broad scope: 60+ backends and frequent releases to keep up with
- macOS DMG is not signed by Apple and needs a manual quarantine removal
- vllm.cpp backend is described as alpha development builds
What it needs
- GPU optional
- Docker + Compose
- Needs PostgreSQL and NATS (distributed mode only)
- Models: GGUF, safetensors, Hugging Face, Ollama OCI registry, OCI images
- port 8080
What changed
- v5.0.0 ↗ (opens in a new tab)Breaking
“5.0 replaces the chat page and the agent runtime, and moves Studio and Talk to add-ons. Read this before you upgrade a server that other people use.”
- v4.12.1 ↗ (opens in a new tab)Security fix
“Patch release v4.12.1. Security fix only.”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- `response_format` with thinking on returns an empty `content` on llama-cpp ↗ (opens in a new tab)1 reactions
- localai cannot run the recommended model ↗ (opens in a new tab)1 reactions
Reported, then fixed by a linked change
- OpenAI API implementation is broken - shows up only for agentic coding ↗ (opens in a new tab)1 reactions · closed 14 May 2026Fixed by feat: support streaming mode for tool calls in agent mode, fix interleaved thinking stream ↗ (opens in a new tab)
- gemma-4-26b-a4b-it fails to download / typo in dl link ↗ (opens in a new tab)1 reactions · closed 16 Apr 2026Fixed by fix(gallery): correct gemma-4 model URIs returning 404 ↗ (opens in a new tab)
- Handling of models pulled from HF does not properly handle thinking ↗ (opens in a new tab)1 reactions · closed 10 Jan 2026Fixed by feat(api): support 'reasoning' api field ↗ (opens in a new tab)
- Qwen-Image-Edit fails to download ↗ (opens in a new tab)1 reactions · closed 30 Dec 2025Fixed by fix: add nil checks before mergo.Merge to prevent panic in gallery model installation ↗ (opens in a new tab)
- [v3.8.0] /readyz URL not working anymore ↗ (opens in a new tab)1 reactions · closed 1 Dec 2025Fixed by fix: do not require auth for readyz/healthz endpoints ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Head to head
Also in Model serving
See all 117| Rank | Project | Score |
|---|---|---|
| 1 | llama.cppC/C++ inference engine for GGUF LLMs and VLMs with an OpenAI-compatible server | 94 out of 100 |
| 2 | OllamaRuns open models locally through a CLI and REST API | 91 out of 100 |
| #4 | strataDesktop and terminal app that runs GGUF models locally with OpenAI-compatible APIs | 89 out of 100 |
| #5 | modularMojo language and MAX inference framework with an OpenAI-compatible server | 89 out of 100 |
| #6 | vLLMInference engine serving LLMs with PagedAttention and an OpenAI-compatible API | 88 out of 100 |