AI for Developers
llama.cpp logo

llama.cpp

Visit Website

C/C++ LLM inference engine and GGUF format that runs quantized models efficiently on CPUs, Apple Silicon and GPUs, with an OpenAI-compatible server.

llama.cpp is an open-source inference engine in C/C++, built on the ggml library. It aims to run LLMs and multimodal models locally and in the cloud with minimal setup, and it is the project behind the GGUF model format.

llama cli runs a model directly, including ones pulled from Hugging Face, and llama serve starts an OpenAI-compatible API server. GBNF grammars constrain output, and it supports multimodal input, text-to-speech models and multi-GPU use. Docker images and Android builds are available.

Install with the shell or PowerShell script, Docker, prebuilt release binaries, or build from source. It is MIT licensed. Many other tools, including Ollama and LM Studio, build on it.

llama.cpp reviews

  • No reviews yet.
See something outdated? Suggest an update