llama.cpp
by ggml-org
LLM inference in C/C++ with quantization — runs models on CPU, GPU, and edge devices.
Stars
133,692
Forks
25,250
Language
C++
Category
Inference & Serving
Get the code
# Clone the repositorygit clone https://github.com/ggml-org/llama.cpp
Frequently asked questions
What is llama.cpp?
LLM inference in C/C++ with quantization — runs models on CPU, GPU, and edge devices.
Is llama.cpp safe to use?
llama.cpp is an open-source project by ggml-org on GitHub. Review the source code and license before using it in production.
How do I get started with llama.cpp?
git clone https://github.com/ggml-org/llama.cpp
What language is llama.cpp written in?
openSource.faqWhatLanguageAnswer
Related projects
Ollama
ollamaRun large models locally with a single command — LLMs, vision, and embeddings on any machine.
186k19.0k
vLLM
vllm-projectHigh-throughput, memory-efficient inference and serving engine for LLMs with PagedAttention.
96.5k24.5k
LiteLLM
BerriAIAI gateway to call 100+ LLM APIs in OpenAI format with cost tracking, guardrails, and load balancing.
62.9k13.1k
