Run LLMs locally · ggml-org
llama.cpp
In short
Open-source C/C++ inference engine that powers many local LLM apps
llama.cpp is the MIT-licensed inference engine for LLMs and multimodal models, with a CLI, an OpenAI-compatible server and a built-in chat app. It aims for minimal setup and strong performance across hardware, and is built on ggml. It suits technical users who want maximum control.
Best for: Technical users and builders who want the underlying engine
Key facts
How it scores
Scores come from the sources below. How we rate tools
Good
- MIT licence
- Runs a wide range of hardware
- Used by many apps
- Scriptable CLI and server
Watch out for
- Command line first
- You manage models and settings
- Setup is more manual than app-based tools
What llama.cpp does
- llama cli and llama serve with Hugging Face model download
- OpenAI-compatible API server
- Multimodal support including vision and TTS models
- GBNF grammars for constrained output
- Docker images and pre-built releases
- Built-in Llama Chat app
llama.cpp pricing
- Open source (MIT)$0Install script, Docker, binaries or build from source
Checked 19 November 2026 on llama.cpp's pricing page. Prices change; confirm before you buy.
Privacy
Open-source software you run on your own machine, with no vendor account; the README does not describe any data collection, and what leaves your device depends on how you deploy it.
Alternatives to llama.cpp
- OllamaRun open models locally with one command, plus optional paid cloud models4.8 / 5 · $0
- LM StudioDesktop app for running local LLMs, now with the Bionic agent4.6 / 5 · $0
- JanOpen-source desktop chat app for local and cloud models4.0 / 5 · $0
- Open WebUISelf-hosted chat interface for Ollama and OpenAI-compatible models4.2 / 5 · $0