llama.cpp
LLM inference in C/C++ with minimal setup
Visit websiteOverview
A Python environment to wrangle, a framework stack to install, hardware it refuses to run on — most local LLM tooling puts at least one obstacle between you and the first token.
llama.cpp is LLM inference in plain C/C++, built for strong performance with minimal setup across a wide range of hardware. It runs models locally or in the cloud, supports quantization to shrink models onto smaller machines, and can serve them through an OpenAI-compatible API.
What it does
- Runs LLM inference in C/C++ with minimal setup
- Performs across a wide range of hardware, not just datacenter GPUs
- Supports quantization to fit models into less memory
- Serves models with an OpenAI-compatible API
How it runs
A native inference engine you run yourself — on a laptop, a workstation or a cloud box — with your models under your control.
Who it's for
Anyone running open models on their own hardware, from tinkerers with a laptop to teams self-hosting inference behind an API their apps already speak.