llama.cppLLM inference engine in C/C++ for local and cloud hardware
llama.cpp vs oMLX
How llama.cpp and oMLX compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to Anthropic API and LM Studio.
At a glance
- llama.cpp has more GitHub stars (137.2k vs 24.2k, about 6× as many).
- Both are actively maintained (last commits today and today).
- llama.cpp uses MIT; oMLX uses Apache-2.0 (both permissive).
- oMLX can be self-hosted.
- llama.cpp is the older project (repository started 2023; oMLX in 2026).
Side by side
| llama.cpp | oMLX | |
|---|---|---|
| GitHub stars | ★ 137,232 +1122 in 10 days | ★ 24,232 +281 in 9 days |
| Forks | 26,504 | 2,267 |
| Last commit | today | today |
| Latest version | v1.1.1 | v0.8.5 |
| Repository started | March 2023 | February 2026 |
| License | MIT · permissive | Apache-2.0 · permissive |
| Self-hosted | Desktop/CLI app | Yes |
| Platforms | macOS, Windows, Android, Docker, CLI | macOS, CLI |
| Main language | C++ | Python |
| Alternative to | Anthropic API, ChatGPT, ChatGPT Plus, Gemini, LM Studio, Microsoft Copilot +1 | Anthropic API, LM Studio |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
llama.cpp
llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.
Key features
- Local and cloud LLM inference on many hardware types
- Command-line chat tool with vision model support
- Built-in server with REST API and browser chat app
- OpenAI- and Anthropic-compatible endpoints
- Streaming, tool calling and structured output
- GBNF grammars for constrained output
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