llama.cpp

Fast C/C++ engine for running language models locally, with an OpenAI-compatible server

Free tier

Free plan
Open source
Card required
No
Sign-up needed
No
Watermark on free output
No
Commercial use allowed
Yes

Free under the MIT license; you supply the computer.

Checked 9 Nov 2026 against github.com

What it does

llama.cpp is an open-source engine, written in C and C++, for running large language models on your own hardware. It works on ordinary CPUs as well as graphics cards, and it uses the GGUF file format, so many open models on Hugging Face can be downloaded and run with one command. Besides a command-line chat, it includes a server with an OpenAI-compatible API and a built-in web interface, so existing apps can talk to a local model instead of a paid cloud service. You can install pre-built binaries, use Docker, or build it from source. Many other local AI apps use it under the hood.

Best for

  • Local OpenAI-compatible server
  • Running models on a CPU

Run a chatbot on your computerCall a language model API

Platforms and access

WindowsmacOSLinuxCommand lineAPISelf-hosted

Open source under the MIT licence: github.com/ggml-org/llama.cpp.

Alternatives

Change log

  • 9 Nov 2026 Listed in the directory