llama.cpp
LLM inference in C/C++ on everyday hardware
llama.cpp is an open-source C/C++ engine for running LLMs in GGUF format on CPUs and GPUs, with a built-in server.
llama.cpp compared with similar tools
| Product | Price | Open source | Self-host | Platforms |
|---|---|---|---|---|
| llama.cpp | Free | Yes | Yes | Mac, Windows, Linux |
| vLLM | Free | Yes | Yes | Linux, Self-hosted |
| LocalAI | Free | Yes | Yes | Self-hosted, Linux, Mac |
| Ollama | Free plan | – | Yes | Mac, Windows, Linux |
| Open WebUI | Free plan | Yes | Yes | Self-hosted, Web |
| LiteLLM | Free plan | Yes | Yes | Self-hosted, API |
| Dify | Free plan | Yes | Yes | Web, Self-hosted |
Similar to llama.cpp
Open WebUI
Self-hosted chat interface for local and cloud LLMs
Open WebUI is an extensible web UI for Ollama and OpenAI-compatible APIs with RAG, multi-user accounts and tools.
Free plan · Self-hosted, Web · Website ↗
AnythingLLM
All-in-one AI app for chatting with your documents
AnythingLLM is a desktop and self-hosted app for RAG over documents, AI agents and multi-user chat with local or cloud models.
Free plan · Mac, Windows, Linux, Self-hosted · Website ↗
Questions
Is llama.cpp free?
llama.cpp is free.
Is llama.cpp open source?
Yes, llama.cpp is open source.
Can llama.cpp be self-hosted?
Yes, you can run llama.cpp on your own server.
What platforms does llama.cpp run on?
llama.cpp is available for Mac, Windows, Linux.
What are some alternatives to llama.cpp?
Similar indie products include vLLM, LocalAI, Ollama, Open WebUI and 4 more.
Is this your product? Submit an update.