llama.cpp

Plain C/C++ LLM inference built on the ggml library and the GGUF format; runs quantised models on CPUs, Apple silicon and many GPUs.

llama.cpp runs open-weight language and multimodal models with minimal dependencies, using aggressive quantisation to fit them on laptops, phones and small servers. It ships a CLI and an OpenAI-compatible HTTP server, and its GGUF file format is used by many local-AI tools, including Ollama and LM Studio. The ggml team joined Hugging Face in February 2026; the projects remain MIT-licensed and community-driven.

Type
AI framework
Category
AI & ML
Maintainer
ggml-org (team now at Hugging Face)
First released
2023
License
Open source (MIT)
Pricing
Open source
Level
Intermediate
Technologies
cpp, c, llm, inference, quantization
GitHub stars
137,682
Latest release
[object Object]
Last verified
26 Nov 2026

What llama.cpp is used for

  • Local, offline LLM inference
  • Edge and mobile deployment
  • Private OpenAI-compatible server

Strengths

  • Runs on modest hardware
  • Very wide backend support (Metal, CUDA, Vulkan, ROCm, CPU)
  • GGUF ecosystem

Limitations

  • Lower throughput than GPU servers for many concurrent users
  • Quantisation reduces quality somewhat

llama.cpp alternatives

How it relates to other tools

Built with the same technologies

Official links

Sources

Explore