LocalAISelf-hosted OpenAI-compatible server for running open AI models locally
vLLMHigh-throughput, memory-efficient inference and serving engine for LLMs
LocalAI vs vLLM
How LocalAI and vLLM compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to OpenAI API.
At a glance
- vLLM has more GitHub stars (97.7k vs 50.6k).
- Both are actively maintained (last commits today and today).
- LocalAI uses MIT; vLLM uses Apache-2.0 (both permissive).
- Both can be self-hosted.
Side by side
| LocalAI | vLLM | |
|---|---|---|
| GitHub stars | ★ 50,586 | ★ 97,706 |
| Forks | 4,654 | 25,373 |
| Last commit | today | today |
| Latest version | v5.0.1 | v0.34.0 |
| Repository started | March 2023 | February 2023 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, Docker, CLI, Web | Docker |
| Main language | Go | Python |
| Alternative to | Anthropic API, ChatGPT, Gemini, OpenAI API | OpenAI API |
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
vLLM
vLLM is a library and server for running and serving large language models. It uses PagedAttention and continuous batching for throughput, offers an OpenAI-compatible API, and runs on many GPU, CPU and accelerator types.
Key features
- PagedAttention memory management
- Continuous batching and chunked prefill
- Prefix caching
- Speculative decoding
- Quantization (FP8, NVFP4, INT4, GPTQ, AWQ, GGUF)
- OpenAI-compatible API server