llama.cppLLM inference engine in C/C++ for local and cloud hardware
vllm-mlxLocal OpenAI and Anthropic compatible MLX inference server
llama.cpp vs vllm-mlx
How llama.cpp and vllm-mlx compare on popularity, activity, license and platforms: two open-source Machine Learning Infrastructure projects, both alternatives to LM Studio.
At a glance
- llama.cpp has more GitHub stars (137.2k vs 1.7k, about 82× as many).
- Both are actively maintained (last commits today and 3 days ago).
- llama.cpp uses MIT; vllm-mlx uses Apache-2.0 (both permissive).
- vllm-mlx can be self-hosted.
- llama.cpp is the older project (repository started 2023; vllm-mlx in 2025).
Side by side
| llama.cpp | vllm-mlx | |
|---|---|---|
| GitHub stars | ★ 137,232 +1122 in 10 days | ★ 1,665 +3 in 7 days |
| Forks | 26,504 | 239 |
| Last commit | today | 3 days ago |
| Latest version | v1.1.1 | v0.6.0 |
| Repository started | March 2023 | December 2025 |
| 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 | 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
vllm-mlx
vllm-mlx serves LLMs and multimodal models on Apple Silicon with continuous batching, shared KV cache, and dual OpenAI and Anthropic HTTP APIs.
Key features
- OpenAI compatible HTTP API
- Anthropic messages API
- Continuous request batching
- Paged prefix KV cache
- Multimodal chat inputs
- Whisper STT and local TTS