LocalAISelf-hosted OpenAI-compatible server for running open AI models locally
LocalAI vs oMLX
How LocalAI and oMLX compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to Anthropic API.
At a glance
- LocalAI has more GitHub stars (50.6k vs 24k, about 2× as many).
- Both are actively maintained (last commits today and yesterday).
- LocalAI uses MIT; oMLX uses Apache-2.0 (both permissive).
- Both can be self-hosted.
- LocalAI is the older project (repository started 2023; oMLX in 2026).
Side by side
| LocalAI | oMLX | |
|---|---|---|
| GitHub stars | ★ 50,586 | ★ 24,038 |
| Forks | 4,654 | 2,226 |
| Last commit | today | yesterday |
| Latest version | v5.0.1 | v0.8.4 |
| Repository started | March 2023 | February 2026 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Yes | Yes |
| Platforms | Linux, macOS, Windows, Docker, CLI, Web | macOS, CLI, Web |
| Main language | Go | Python |
| Alternative to | Anthropic API, ChatGPT, Gemini, OpenAI API | Anthropic 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
oMLX
oMLX serves text, vision, embedding, and rerank models on Mac hardware with continuous batching and tiered KV caching. It exposes OpenAI- and Anthropic-compatible APIs and a local admin dashboard.
Key features
- MLX inference on Apple Silicon Macs
- Hot RAM and cold SSD KV cache tiers
- Continuous request batching
- OpenAI and Anthropic compatible APIs
- Admin dashboard with chat and downloads
- Multi-model load, pin, and eviction