make open-server
llama-cpp Is the Engine Under Everything.
This llama-cpp guide is for the layer beneath the friendly tools: the C++ engine that loads quantised models on CPUs and graphics cards, and that most local runners wrap.

Almost every tool on these pages, the desktop apps included, is a wrapper around one engine. It began as a weekend project to run a large model on a laptop processor and became the common runtime for local inference, with its own quantised file format. Knowing it directly gives you every setting the wrappers hide. This is its entry in back to command line tools for local ai.
What It Is

A C++ library plus a set of small command line programs: one to run a prompt, one to chat, one to serve a model over HTTP in the common API format, one to quantise a model, one to measure speed. It runs on CPU alone, on consumer graphics cards from the main vendors, and on laptops with unified memory, and it can split a model between card and system memory when the whole thing does not fit on the card. That last trick is why it runs models other engines refuse.
Building It
Pre-built binaries exist and are fine to start. Building from source takes a compiler and a few minutes, and it lets you turn on support for your exact hardware, which is often the difference between a usable speed and a sluggish one. Build once, note the flags, keep them with the project. We rebuild on every machine we deploy rather than copy a binary, because a build tuned for the wrong processor silently runs slower.
Running and Serving

Point the run program at a quantised model file and a prompt and it answers. Point the server program at the same file and it listens on a port, speaking the API that editors and scripts expect. The flags that matter most: how many layers to put on the graphics card, the context length, the number of threads on CPU, and the batch size. Set the card layers too high and the load fails; too low and the card sits idle. The server also reports the memory it used, which is the most honest sizing tool you will find.
When to Use Something Else
If you want model management and one-line setup, the runner described in ollama local llm guide, explained wraps this engine and is faster to get going. If you are serving many simultaneous users from data-centre cards, the throughput server in our guide to vllm production deployment batches far better. For one machine, one or a few users, or an appliance like ours, the engine itself is the right size of tool.
We use it on our appliances because we can read the build, pin the version, and know exactly what runs on a customer's LAN. That auditability is worth more to a firm bound by secrecy than any convenience.

Prove it on your documents.
Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.