Picture published by the creator on GitHub.
llama.cpp: Run AI language models locally on almost any computer
Added · Updated
Made by ggml
View profile on GitHub (opens in a new tab)llama.cpp is a C/C++ program with no external dependencies for running language models, including models that read images, on hardware such as laptop CPUs, GPUs and phones.
It supports Apple Silicon, AMD, Intel and RISC-V chips, and uses quantization (storing each number in fewer bits) at several levels so larger models fit in less memory. It includes a web interface and command-line chat mode. Ollama, LM Studio and other local-AI apps use it as their engine.
What it does
The project reimplements language-model inference from scratch in C/C++ on top of its own ggml math library, hand-tuned for each hardware backend it supports (ARM NEON and Metal on Apple Silicon, AVX/AVX2/AVX512 on x86, custom CUDA kernels on NVIDIA GPUs, and more), rather than depending on the large Python machine-learning stack most research code uses. That focus on minimal dependencies and hardware-specific tuning is why so many other local-AI tools — Ollama and LM Studio among them — build their own products on top of it rather than reimplementing inference themselves.
You could use it to…
- Chat with a downloaded AI model entirely on your own computer
- Run a model on almost any hardware, from a phone to a GPU
- Feed it a photo through its built-in web interface
Can I use this?
You'll need A computer and a downloaded model file · Setup needed
Worth knowing Getting a good result still depends on which model you download and how heavily you compress it — more compression means a smaller file but a less accurate model, and there is no single answer for the right tradeoff. This project runs models; it does not provide its own model weights, safety filtering, or any hosted service. MIT licence.
Why it's here
Not trending this week
Last seen on the GitHub trending list on 7 November 2026. It stays on BuildTube so you can still find it.
- 133,717 people have starred it on GitHub.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View setup guideBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is llama.cpp?
- The project reimplements language-model inference from scratch in C/C++ on top of its own ggml math library, hand-tuned for each hardware backend it supports (ARM NEON and Metal on Apple Silicon, AVX/AVX2/AVX512 on x86, custom CUDA kernels on NVIDIA GPUs, and more), rather than depending on the large Python machine-learning stack most research code uses.
- What can I use llama.cpp for?
- Chat with a downloaded AI model entirely on your own computer; Run a model on almost any hardware, from a phone to a GPU; Feed it a photo through its built-in web interface
- Can I run llama.cpp on my computer?
- It runs from a terminal on your own computer.
- What do I need to use llama.cpp?
- A computer to build or download a release for (pre-built binaries and Docker images are both offered), and a GGUF model file, which can be downloaded separately or via the built-in downloader.
- What license does llama.cpp use?
- MIT licence.
More from this week
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
- Spec Kit Turn a written spec into plans, tasks and code
Spec Kit gives your AI coding agent a step-by-step process to build a feature, fix a bug or assess an idea.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-ggml-org-llama-cpp/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-ggml-org-llama-cpp/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="llama.cpp on BuildTube"></iframe>