My Adventures Running Large Language Models Locally
A couple of years ago, all my AI experiments ran through hosted APIs: fast, easy, and entirely out of my control on privacy, cost, and availability. Now the heavy lifting happens on hardware in my own house, my “cloud bill” is a power meter, and this is a tour of what running a 27-billion-parameter language model at home actually involves.
The model was too big, so I made it smaller
Full-precision copies of modern open-weight models don’t fit on consumer GPUs — not close. The answer is quantization: compress the weights to lower precision. The GGUF format is the de facto standard and its filenames are their own cryptic language: Qwen3.6-27B-UD-Q5_K_XL means 27 billion parameters, 5-bit K-quant, an “extra large” variant that keeps sensitive layers at higher precision to protect quality. The sweet spot on my hardware landed right around 5-bit: output quality that’s genuinely impressive, and the model actually loads.
Ollama’s good, but it has quirks
I serve models with Ollama — downloads, quantization, and inference behind a clean local API. Mostly great, but one quirk cost me real debugging hours: pulling a fresh GGUF triggers a materialization step — fetching, verifying, and unpacking multi-gigabyte files — and during that window, which can run hours, every request for the model returns a dead 404: model does not exist. It’s not a typo; the model is mid-flight. The correct response, learned the hard way, is to leave it alone and come back later — killing and restarting the pull just resets the clock and burns another hour of bandwidth. When in doubt, wait. Impatience is exactly what made this lesson expensive.
A front end worth having
A raw API endpoint is not a product. Open WebUI sits in front of the model — proper chat, document upload, retrieval — paired with a small local embedding model so documents get chunked, indexed, and searched on the same box. “Ask your documents” that never leaves the machine is a satisfyingly self-contained stack.
The patience tax
Honest accounting: a local 27B is slower than a frontier API. First tokens take seconds, not milliseconds, and long documents take their time. What you get back is sovereignty — no per-token meter, no data leaving the building, no provider outage between you and your own words, identical behaviour at 2 a.m. and noon. My advice for anyone going local: pick the middle quantization, serve with Ollama, put a UI on it, and budget your patience in hours. The payoff is a system that is entirely yours.
— Kris