llama.app Goes Live: llama.cpp Finally Has a Home
llama.cpp is the foundation of local inference but the setup path scares people off. llama.app collapses install, model discovery and running into one entry point; here is how to choose a path, tune the four parameters that matter, and pick a quant level.
📜 Table of Contents
📖 Keep reading
llama.app Launches: llama.cpp Finally Has a Home
llama.cpp is the base layer of local inference, but its user path was rough: compile it yourself, hunt for GGUF files, memorize a wall of flags. llama.app gives the project a front door.
What it is
Not a new engine — an official entry point for llama.cpp with an installer, a verified model catalog and a single llama command. Performance, VRAM use and supported quant formats are identical to a hand-built binary.
Three install paths
- Official script — shell script on macOS/Linux, PowerShell on Windows. Use the current command from the site.
- Package manager — easiest upgrades, but often a few versions behind on new model architectures.
- Build from source — the only path if you need a specific backend or want to tune for your GPU.
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j
Two binaries
| Binary | Use |
|---|---|
llama-cli |
Interactive chat, prompt testing |
llama-server |
OpenAI-compatible HTTP endpoint |
llama-server -m model-q4_k_m.gguf -c 8192 -ngl 99 --port 8080
The four parameters that matter
-ngl (layers offloaded to GPU, raise until VRAM is nearly full), -c (context size, set to real need), -t (CPU threads, physical cores only), --flash-attn (worth it for long context). When a model won't fit, lower -c first, then -ngl, then step down the quant.
Quant levels
| Level | Size | Quality | When |
|---|---|---|---|
| Q8_0 | Largest | Near-lossless | Plenty of VRAM |
| Q5_K_M | Medium | Very slight loss | Sweet spot |
| Q4_K_M | Smaller | Noticeable but fine | Default under pressure |
| Q2_K | Smallest | Obvious | Toy tests only |
llama.cpp vs Ollama
Ollama wins on onboarding and model management; llama.cpp wins on parameter control, memory tuning and embedding inference in your own service. Rule of thumb: quick use → Ollama, squeeze performance → llama.cpp.
FAQ
- Command not found after install: the bin directory is not on PATH.
- Slow with CPU pegged and GPU idle:
-nglis too low. - Same model, wildly different speeds: memory bandwidth and quant format, not the software.
Install commands and supported backends change; check llama.app and the official repo.
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.