Search iThub

Search tools, categories and collections. Type at least two characters.

Explore all tools
↑ ↓ to explore resultsEnter to open · Esc to close
L

llama.cpp

Open-source C/C++ LLM inference for CPUs and GPUs

Visit website Save

llama.cpp is an MIT-licensed C/C++ library, with CLI tools and an OpenAI-compatible server, for running language and vision-language models on CPU or GPU.

Pricing
Open source
Deployment
Self-hosted
Platforms
Web, Android, Windows, macOS, Linux
133,572stars25,217forks
0views
Updated

What is llama.cpp?

llama.cpp is an open-source inference project built on the ggml library and distributed under the MIT license. Its main product is a library with a C-style interface, accompanied by command-line tools and an OpenAI-compatible HTTP server with a built-in web interface. It is intended for developers and technical teams running language and vision-language models locally or in the cloud.

Deployment options include prebuilt binaries, Docker and compilation from source with CMake. The project supports CPU execution, hardware-specific GPU backends and hybrid CPU/GPU inference. Quantization can reduce model memory use, while deployment requirements depend on the selected model, hardware and backend.

Key capabilities

  • Inference library A C/C++ implementation built on ggml with no dependencies.
  • CLI and server Command-line tools and an OpenAI-compatible API server with a built-in web UI.
  • Hardware backends CPU, Metal, CUDA, HIP, Vulkan, SYCL and others.
  • Quantization 1.5-bit to 8-bit integer formats.
  • Hybrid inference CPU and GPU together for models larger than VRAM.
  • Install options Install script, Docker, pre-built binaries or source builds.
Advertisements

Where llama.cpp fits

  • Local LLM and VLM inference
  • Quantized models
  • OpenAI-compatible serving
  • Apple silicon, NVIDIA, AMD and Vulkan acceleration
  • Hybrid CPU and GPU execution
  • Embedding in C/C++ applications

Install

curl -LsSf https://llama.app/install.sh | sh

Reviews of llama.cpp

No reviews yet

Be the first to share your experience with llama.cpp.

Loading review form…

Alternatives to llama.cpp

Compare llama.cpp with these tools →