llama.cpp
C/C++ inference engine for GGUF models on CPUs and GPUs; many local tools use it.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
llama.cpp runs LLM inference in C/C++ on CPUs, Apple Silicon and GPUs, using the GGUF file format and aggressive quantisation. Ollama, LM Studio and many other tools build on it, and it includes its own server.
Best for
Running models on modest hardware or inside your own software.
Skills it helps with
Learn llama.cpp by doing
- Local model servers cheat sheet
Start commands, default ports and OpenAI-compatible base URLs for Ollama, LM Studio, llama.cpp, MLX LM, vLLM and SGLang, checked against each project's docs.
Related tools
DeepSeek
Chat app and API for DeepSeek's open-weight models.
vLLM
High-throughput inference and serving engine for LLMs with an OpenAI-compatible server.
LM Studio
Desktop app for finding, downloading and running local models, with a local server.
MLX LM
Runs and fine-tunes LLMs on Apple silicon with MLX.
Groq
Fast inference API on Groq's own LPU chips.
Hugging Face
Hub for models, datasets and Spaces, plus open-source ML libraries.