Run LLMs locally · ggml-org

llama.cpp

In short

Open-source C/C++ inference engine that powers many local LLM apps

llama.cpp is the MIT-licensed inference engine for LLMs and multimodal models, with a CLI, an OpenAI-compatible server and a built-in chat app. It aims for minimal setup and strong performance across hardware, and is built on ggml. It suits technical users who want maximum control.

Best for: Technical users and builders who want the underlying engine

Key facts

Editor's score4.4 / 5
Price from$0Free plan
Category rank#3of 6 run llms locally
PlatformsMac, Windows, Linux, API

How it scores

  • Capability 40% 5/5 Reference engine with multimodal and grammars
  • Value for money 25% 5/5 Free and open source
  • Ease of use 20% 2/5 Command line and build options
  • Privacy 15% 5/5 Runs on your own machine with no vendor account

Scores come from the sources below. How we rate tools

Good

  • MIT licence
  • Runs a wide range of hardware
  • Used by many apps
  • Scriptable CLI and server

Watch out for

  • Command line first
  • You manage models and settings
  • Setup is more manual than app-based tools

What llama.cpp does

  • llama cli and llama serve with Hugging Face model download
  • OpenAI-compatible API server
  • Multimodal support including vision and TTS models
  • GBNF grammars for constrained output
  • Docker images and pre-built releases
  • Built-in Llama Chat app

llama.cpp pricing

  • Open source (MIT)$0Install script, Docker, binaries or build from source

Checked 19 November 2026 on llama.cpp's pricing page. Prices change; confirm before you buy.

Privacy

Open-source software you run on your own machine, with no vendor account; the README does not describe any data collection, and what leaves your device depends on how you deploy it.

Read the policy

Alternatives to llama.cpp

All run llms locally
  • Run open models locally with one command, plus optional paid cloud models4.8 / 5 · $0
  • Desktop app for running local LLMs, now with the Bionic agent4.6 / 5 · $0
  • Open-source desktop chat app for local and cloud models4.0 / 5 · $0
  • Self-hosted chat interface for Ollama and OpenAI-compatible models4.2 / 5 · $0

Sources

  1. llama.cpp README

Questions

Is llama.cpp free?
Yes, llama.cpp has a free plan. Paid plans start at $0.
How much does llama.cpp cost?
Open source (MIT): $0 (Install script, Docker, binaries or build from source). Checked 19 November 2026.
What is a good alternative to llama.cpp?

Sign in to vote as verified

Signed-in votes count once per account and show as verified. You can still vote without an account.

We use your email only to run your account. No marketing, no sharing, no passwords. Delete your account any time. Privacy

Delete your account?

This removes your account, your email and every vote you made while signed in. It cannot be undone.