llama.cpp is the high-performance C/C++ inference engine that underpins most local LLM tools, supporting GGUF models with aggressive quantization across CPUs and GPUs.
| Category | Run LLMs locally |
| Type | Inference library (C/C++) |
| License | MIT |
| Runs locally | Yes |
| Built with | C/C++ |
| Skill level | Advanced |
| Best for | developers who want maximum control and portability |
Other open-source run llms locally tools worth comparing:
OllamaRun open LLMs locally from one command
JanOpen-source, offline ChatGPT-style desktop app
GPT4AllPrivate local AI that runs on CPU
LocalAIA drop-in OpenAI API you self-host
Text Generation WebUIFeature-rich web UI for local models
KoboldCppSingle-file local model runner
MLC LLMRun LLMs on any device, even phones
llamafileOne executable file = model + runtime
exoRun big models across your everyday devices
CortexOllama-style runtime from the Jan team
Nexa SDKRun any model on any device — CPU, GPU, NPU
RamaLamaRun models as OCI containers
GPUStackManage GPU clusters for running modelsllama.cpp is free and open-source (MIT license), so you can use, self-host and modify it at no cost.
Yes. llama.cpp is designed to run on your own machine or server, keeping your data private.
Popular open-source alternatives include Ollama, LM Studio, Jan. See the comparisons above to choose.
Browse the full directory of open-source AI tools, models and projects — updated daily.
Browse all tools →