11st of 117 in Model serving
llama.cpp
C/C++ inference engine for GGUF LLMs and VLMs with an OpenAI-compatible server
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 136.3k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- C++
98,040 on 28 Mar 2026136,307 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
- LLama.cpp Got Screwd (opens in a new tab) (11 points, Jul 2026)
- Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI (opens in a new tab) (839 points, Feb 2026)
- Mistral Integration Improved in Llama.cpp (opens in a new tab) (95 points, Aug 2025)
Overview
llama.cpp runs quantized LLMs and vision-language models on CPUs and GPUs from a plain C/C++ codebase built on ggml. It ships a CLI (`llama cli`) and an OpenAI-compatible HTTP server (`llama serve`) with a built-in web UI, and can pull models directly from Hugging Face. Backends cover CUDA, HIP, Metal, Vulkan, SYCL, CANN, OpenCL and others, with CPU+GPU hybrid offload for models larger than VRAM.
Who it is for: Self-hosters and developers running local LLMs on varied hardware
Ranked among open-source alternatives to LM Studio (#1 of 10) and OpenAI API (#1 of 10).
Strengths
- Many backends: CUDA, HIP, Metal, Vulkan, SYCL, CANN, MUSA, OpenCL, RPC, WebGPU
- 1.5-bit to 8-bit integer quantization reduces memory use
- CPU+GPU hybrid inference for models larger than VRAM
- No dependencies in the core; prebuilt binaries, Docker and winget available
Weaknesses
- OpenVINO backend is marked in progress
- Building from source needs backend-specific toolchains such as CUDA or Vulkan SDKs
- Built-in web UI is minimal next to dedicated chat front-ends
- Interfaces are CLI and C API; no managed model library in the README
What it needs
- GPU optional
- Docker
- Models: GGUF, LLM, VLM, Hugging Face download
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Open now, reported in the last 90 days
- Misc. bug: /slots restore yields no KV reuse on hybrid/recurrent and SWA models (context checkpoints are not persisted) ↗ (opens in a new tab)9 reactions
- Research: FreeToken is faster than llama.cpp ↗ (opens in a new tab)8 reactions
- Eval bug: Regression in #30257: Gemma 4 with --mmproj and MTP (-md) aborts on startup with GGML_ASSERT(ubatch->embd_state) ↗ (opens in a new tab)5 reactions
- Compile bug: NixOS build from flake.nix fails on building webui ↗ (opens in a new tab)4 reactions
- Eval bug: Vulkan draft-mtp decode ~4x slower and prefill ~6x slower since #30020 (target compute buffer re-allocated into GTT) ↗ (opens in a new tab)3 reactions
Reported, then fixed by a linked change
- Eval bug: Qwen 3.6 27B forcing full prompt re-processing due to lack of cache data ↗ (opens in a new tab)33 reactions · closed 4 Aug 2026Fixed by Exp gpu sampling mirrored ↗ (opens in a new tab)
- cache reuse is not supported for Gemma 4 models despite -fa enabled and --swa-full ↗ (opens in a new tab)21 reactions · closed 24 Apr 2026Fixed by server : fix swa-full logic ↗ (opens in a new tab)
- Misc. bug: GPU detection bug: The Docker version of llama.cpp did not detect the GPU. Vulkan Backend, AMD RX7900XTX (ROCm is fine) ↗ (opens in a new tab)17 reactions · closed 17 Jun 2026Fixed by ci: fix vulkan docker images ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Head to head
Also in Model serving
See all 117| Rank | Project | Score |
|---|---|---|
| 2 | OllamaRuns open models locally through a CLI and REST API | 91 out of 100 |
| 3 | LocalAISelf-hosted model server with OpenAI, Anthropic and ElevenLabs-compatible APIs | 91 out of 100 |
| #4 | strataDesktop and terminal app that runs GGUF models locally with OpenAI-compatible APIs | 89 out of 100 |
| #5 | modularMojo language and MAX inference framework with an OpenAI-compatible server | 89 out of 100 |
| #6 | vLLMInference engine serving LLMs with PagedAttention and an OpenAI-compatible API | 88 out of 100 |