llama.cpp does not only run models in the terminal. Its server turns a model into a small website on your own computer: a chat page in the browser, plus an OpenAI-compatible API for other apps. The llama.cpp README describes llama-server as a lightweight, OpenAI API compatible, HTTP server for serving LLMs, and gives the built-in web UI at http://localhost:8080 when the server is started on port 8080.
Install llama.cpp first
Install llama.cpp the way the README shows, then use the same small example model as the command-line guide:
curl -LsSf https://llama.app/install.sh | sh
That install step is shared with the terminal guide. The difference here is what you run next: instead of a terminal chat, you start the server.
Start the server and open the chat page
Start the server with the model and an explicit port, so you always know where to find it:
llama-server -hf ggml-org/Qwen3.5-0.8B-GGUF --port 8080
Wait for the server to say it is listening, then open http://localhost:8080 in your browser. You get a chat page — Llama Chat, the built-in chat app — served from your own computer. Type the same test question as the terminal guide: Why is the sky blue?
| Step | What you do | What you should see |
|---|---|---|
| 1. Install | curl -LsSf https://llama.app/install.sh | sh |
llama.cpp is installed |
| 2. Serve | llama-server -hf ggml-org/Qwen3.5-0.8B-GGUF --port 8080 |
The server is listening on port 8080 |
| 3. Chat | Open http://localhost:8080 and ask Why is the sky blue? |
A reply in the browser chat page |
If the browser page loads and the model answers, the server works. If the page does not load, the server is not listening yet — check the terminal, not the browser. The same server also answers API requests: the chat completion endpoint is http://localhost:8080/v1/chat/completions. Expected result. We checked the llama.cpp README. We did not run llama-server on a sample model.
Limits
The server listens on your own computer by default; if you change the host so other computers can reach it, anyone on that network can use it unless you set a key — the server supports an --api-key option for exactly that. The 0.8B example model is small and fast, which is good for a first test, but it is much weaker than larger models, so a poor answer says more about the model than about the server. The browser chat page is a simple built-in page, not a full chat app with saved conversations. We did not run llama-server, so no reply text here is a recorded result.
