AI Expertise
Open Models / llama.cpp
L

llama.cpp

Visit website

Description

llama.cpp is an open source engine for running language models, including models that understand images, on your own hardware. It is written in plain C/C++ without dependencies and builds on the ggml library. Many other local AI programs are built on it, including Ollama and LM Studio.

You download a model in GGUF format, for example straight from Hugging Face, and chat with it in the terminal, or start a local server with an OpenAI-compatible API and a built-in web chat. The llama.cpp team and Hugging Face also make Llama, a small companion app: a menu bar app on Mac and a system tray app on Windows 11 that suggests models for your hardware and opens a chat in the browser; on Linux it installs as a command.

It runs on macOS, Windows and Linux and in Docker. It works on the CPU alone and speeds up on NVIDIA, AMD, Intel and Apple Silicon graphics through CUDA, HIP, Vulkan, SYCL and Metal; quantized models from 1.5 to 8 bits use less memory, and a model larger than video memory can be split between the CPU and GPU. The code is published under the MIT license.

Pros and cons

Pros

  • Free and open source (MIT)
  • Works on the CPU alone, speeds up on NVIDIA, AMD, Intel and Apple graphics
  • Local server with an OpenAI-compatible API and a web chat
  • macOS, Windows, Linux and Docker

Cons

  • The main way to work is the terminal and the local server; the companion app is only for Mac and Windows 11
  • Only models in GGUF format

Key facts

Free access
Yes Free and open source
Developer
ggml-org
Checked on
Nov 9, 2026

Editorial score

How strongly the AI Expertise editors recommend this tool for each of its categories right now, on a 0–10 scale. The score combines output quality, features, beginner friendliness and freshness.

Run AI Locally

8.7 / 10
Output quality 9.0
Low High
Features 9.0
Basic Rich
Beginner friendliness 6.5
Hard Easy
Freshness 10.0
Outdated Fresh