llama.cpp
Minimal C++ inference for quantised models on any device.
Open-Source Self-Host Has API Open-Source Editorial Pick 136.5k GitHub Stars
Overview
llama.cpp is a plain C++ implementation of LLM inference with GGUF quantisation, running on CPUs, Apple Silicon, GPUs and even embedded devices, and it ships the reference GGUF format.
MIT licensed and free. Any cost is the hardware you run it on, and the GGUF quantisation format it defines is now the community default.
Capability Matrix
Pricing, Free Tier, Open-Source, Self-Host, API Access and Privacy Summary for llama.cpp.
| Pricing | Free and unlimited under MIT |
|---|---|
| Free Tier | Fully open source with no usage cost |
| Open-Source | Yes |
| Self-Host | Yes |
| API Access | Yes |
| Privacy | Fully local inference with no network calls |
Strengths & Caveats
Strengths
- Runs on almost any hardware including phones and embedded boards
- Defines the GGUF quantised model format the ecosystem standardised on
- Very fast CPU and Apple Silicon performance with Metal and Vulkan backends
Caveats
- Low-level tooling: you manage model files, quantisation and server flags
- No built-in observability or multi-tenant serving features
Verified links
- llama.cpp website — HTTPS link verified by the liveness checker.
- llama.cpp source repository — 136.5k GitHub Stars