AIAny
AI Infra2023
Icon for item

llama.cpp

Runs large language models entirely in C/C++ with no external dependencies, using 1.5-to-8-bit integer quantization and CPU+GPU hybrid inference to fit models larger than available VRAM. Backs Ollama, LM Studio, and most local-inference tooling.

Introduction

When local LLM inference works on a Raspberry Pi or an old laptop, llama.cpp is usually the reason. It collapsed the gap between research-grade models and consumer hardware by treating quantization as a first-class concern rather than an afterthought, and that one decision quietly made it the engine inside almost every local-AI app people actually use.

What Sets It Apart
  • Quantization as the core, not a bolt-on: 1.5-, 2-, 3-, 4-, 5-, 6-, and 8-bit integer formats let a model that needs 16GB in full precision run in 4-5GB — the difference between "server only" and "runs on my laptop."
  • CPU+GPU hybrid offload: layers split across VRAM and system RAM, so a model larger than your GPU still runs instead of failing to load.
  • Reach over hype: hand-tuned backends for Apple Silicon (Metal), CUDA, Vulkan, HIP, SYCL, and CPU SIMD (AVX/AVX512/NEON) mean it runs almost anywhere, which is why Ollama and LM Studio build on it rather than rolling their own.
Who It's For

Great fit if you want to run or embed LLM inference on your own hardware, ship an offline AI feature, or understand inference internals down to the kernel. Look elsewhere if you want a polished chat UI out of the box — that's what the tools built on top of it provide; here you work closer to the metal with GGUF model files and command-line tooling.

Information

  • Websitegithub.com
  • Organizationsggml.ai, Hugging Face
  • Authorsggml-org
  • Published date2023/03/10

Categories

More Items

GitHub
AI Infra2026

Adds keyless model channels to DeepSeek Harness and brings multiple providers into one model picker and local compatible gateway. Availability is checked dynamically; free quotas, regional access, and data handling remain controlled by upstream services.

GitHub
AI Infra2026

Connects coding agents to one local model gateway, making providers and subscriptions available across agents and routing requests to another account or model when quotas run out.

GitHub
AI Agent2026

Lets AI agents read and operate real phones through a shared set of controls for tapping, typing, scrolling, and screenshots. Supports personal iPhones, Android devices, and hosted cloud phones, with different connection and screen-reading methods for each.