LocalAISelf-hosted OpenAI-compatible server for running open AI models locally
MLX ServeNative local LLM server and Mac AI studio
LocalAI vs MLX Serve
How LocalAI and MLX Serve compare on popularity, activity, license and platforms: two open-source AI Interaction & Interfaces projects, both alternatives to ChatGPT.
At a glance
- LocalAI has more GitHub stars (50.6k vs 2.6k, about 19× as many).
- Both are actively maintained (last commits today and today).
- Both use the MIT license.
- LocalAI can be self-hosted; MLX Serve is not listed as self-hostable.
- LocalAI is the older project (repository started 2023; MLX Serve in 2026).
Side by side
| LocalAI | MLX Serve | |
|---|---|---|
| GitHub stars | ★ 50,586 | ★ 2,644 |
| Forks | 4,654 | 286 |
| Last commit | today | today |
| Latest version | v5.0.1 | v26.11.4 |
| Repository started | March 2023 | February 2026 |
| License | MIT · permissive | MIT · permissive |
| Self-hosted | Yes | Desktop/CLI app |
| Platforms | Linux, macOS, Windows, Docker, CLI, Web | macOS, iOS, Linux, Windows, CLI, Web |
| Main language | Go | Zig |
| Alternative to | Anthropic API, ChatGPT, Gemini, OpenAI API | ChatGPT, 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
MLX Serve
MLX Serve runs open models on your own hardware through a native app and local inference server. It speaks OpenAI, Anthropic, and Ollama-compatible APIs without Python.
Key features
- OpenAI and Anthropic compatible APIs
- MLX and GGUF model support
- Native macOS app with media generation
- Coding agent integrations
- Offline operation without Python
- Built-in web API console