Skip to content
FindOpenSource

llama.cpp

High-performance C/C++ implementation for running LLM inference locally on consumer hardware, including CPUs, with minimal dependencies.

Overview

llama.cpp runs large language models efficiently on ordinary hardware - including plain CPUs, not just GPUs - using quantization techniques that shrink model size and memory requirements with minimal quality loss, all in a dependency-light C/C++ codebase that's easy to embed or cross-compile. It's the inference engine that many higher-level local-LLM tools are built on top of.

llama.cpp is a fit for developers who want direct, low-level control over local LLM inference performance and hardware targeting, the underlying engine that Ollama (also in this catalog) wraps with a friendlier setup experience - power users often reach for llama.cpp directly when they need more control.

Categories
AI & Machine Learning
Keywords
llm-inferencelocal-inferencequantizationmodel-serving
Languages
C++, C
License
MIT

Spotted an error? Suggest an edit on GitHub.