Run language and multimodal models on your own computer or server through a command line and API.

Description

llama.cpp is a C/C++ engine for running language and multimodal models on different hardware platforms. Built on the ggml library, it is not itself a language model. To get started, select a compatible model in GGUF format. The engine accepts text prompts and, with a suitable multimodal model, images, and returns model responses. It provides command-line tools and an HTTP server with an OpenAI-compatible API. A typical use is to host a local model for a chat interface, code editor or custom application. Prebuilt binaries, Docker and source builds are available. The code is released under the MIT license. Memory requirements, speed, accelerator support and response quality depend on the model and hardware; model weight licenses must be checked separately.