llama.cpp Documentation
Official llama.cpp docs (sourced from github.com/ggml-org/llama.cpp/docs).
CRITICAL: grep references/ for keywords before answering.
Topic Index
Build & Install
build.md— Building from source (CMake)install.md— Installation guidedocker.md— Docker setupandroid.md— Android deploymentbuild-riscv64-spacemit.md— RISC-V 64-bit buildbuild-s390x.md— s390x architecture build
Features
function-calling.md— Function calling / tool usespeculative.md— Speculative decodingmultimodal.md— Multimodal model support (overview)preset.md— Preset configurationsllguidance.md— LLGuidance grammar integrationautoparser.md— Auto-parser for structured outputops.md— Supported operations reference
GPU Backends
backend/CUDA-FEDORA.md— CUDA on Fedorabackend/SYCL.md— Intel SYCL backendbackend/OPENCL.md— OpenCL backendbackend/BLIS.md— BLIS backendbackend/CANN.md— Huawei Ascend CANN backendbackend/VirtGPU.md— Virtual GPU backendbackend/VirtGPU/— VirtGPU configuration & developmentbackend/ZenDNN.md— AMD ZenDNN backendbackend/zDNN.md— IBM zDNN backendbackend/snapdragon/— Qualcomm Snapdragon NPU
Multimodal Models
multimodal/llava.md— LLaVA vision-language modelmultimodal/gemma3.md— Gemma 3 multimodalmultimodal/glmedge.md— GLM Edge modelmultimodal/granitevision.md— Granite Visionmultimodal/MobileVLM.md— Mobile VLMmultimodal/minicpm*.md— MiniCPM series (v2.5, v2.6, v4.0, v4.5, o2.6, o4.0)
Development
development/HOWTO-add-model.md— Adding new model architecturesdevelopment/token_generation_performance_tips.md— Performance optimizationdevelopment/debugging-tests.md— Debugging testsdevelopment/parsing.md— Parsing internals