Purpose: The main goal of llama.cpp is to enable LLM (and VLM) inference with minimal setup on a wide range of hardware and achieve state-of-the-art performance, running locally or in the cloud.
Key capabilities: Pure C/C++ implementation with no dependencies; optimized for Apple chips (ARM NEON, Accelerate, Metal); x86 support for AVX, AVX2, AVX512, AMX; RISC-V support for RVV, ZVFH, ZFH, ZICBOP, ZIHINTPAUSE; provides 1.5-bit to 8-bit integer quantization to speed up inference and reduce memory usage; provides custom CUDA kernels for NVIDIA GPUs, and supports AMD GPUs via HIP and Moore Threads GPUs via MUSA; supports Vulkan and SYCL backends; supports CPU+GPU hybrid inference, which can partially accelerate models that exceed total VRAM capacity. The project is built on the ggml library.
Usage: You can visit https://llama.app to install according to the instructions; use Docker (see the Docker documentation); download precompiled binaries from the releases page; or clone the repository and build from source (see the build guide). The repository also provides interfaces such as the llama-server REST API.
Use cases: Scenarios where you need to run LLM/VLM inference locally or in the cloud on a variety of hardware (including Apple chips, x86, RISC-V, NVIDIA/AMD/Moore Threads GPUs) and want to reduce dependencies and memory usage.
Limitations: The materials do not provide specific performance data, a list of supported models, license details, or pricing information, so none is provided for now.