local-ai

Running Local LLMs on Unraid

The first local model I ran took about 45 seconds to respond to a simple question. I almost gave up right there. The model was too big for my VRAM, the quantization was wrong, and I hadn’t understood yet that “running a local LLM” and “running a usable local LLM” are meaningfully different things.

I run Ollama inside a Docker container on Unraid. The container gets passed through to an NVIDIA GPU, which handles all the inference. The host is a Ryzen 9 5900X on an ASUS TUF Gaming X570-Plus (Wi-Fi) board. Getting GPU passthrough working was the first real obstacle. Unraid handles it through its Docker GPU assignment settings, but you have to make sure the NVIDIA container toolkit is installed and the container is configured to use it. There are Unraid forum threads on this; I won’t reproduce the whole process here, but it took me longer than I expected because the error messages weren’t obvious about what was actually wrong.

The hardware question matters more than the model question, at first. Most consumer GPUs in the 8-12GB VRAM range can run 7B or 8B parameter models fully in memory and respond in a few seconds. That’s where I’d start. The models in that range, Llama 3, Mistral, Gemma, Qwen, have gotten good enough over the past year that the quality is genuinely useful for most everyday tasks. Quantized versions, typically Q4 or Q5, cut memory requirements significantly with a modest quality tradeoff. For anything that’s not critical reasoning, the tradeoff is worth it.

What I actually run daily is a quantized Llama 3 8B for quick, low-stakes queries and a mid-size model in the 13-20B range for tasks where quality matters more than speed. The 8B model responds in 2-4 seconds on my hardware, which feels fast enough to be comfortable. The larger model takes 15-25 seconds per response, which I find acceptable for deliberate tasks but too slow for conversational back-and-forth.

The models I don’t run locally are the ones where I genuinely need top-tier reasoning or writing quality. For those I send API calls to Anthropic. The local models are good for information retrieval, summarization, drafting, code explanation, and routine agent tasks. They’re not good enough to replace a frontier model for complex multi-step reasoning or polished writing that goes on the internet. Knowing that line has saved me a lot of frustration.

Unraid’s container management makes it fairly easy to keep Ollama updated and to pull new models. The Ollama API makes it straightforward to switch which model a request goes to. The practical challenge is storage: model weights pile up fast. A handful of models can eat 50-100GB without trying hard. I keep the ones I actually use and delete the rest. The Unraid array handles the storage; I’ve dedicated a Samsung 860 EVO 1TB as a cache SSD specifically for models so loading times stay fast.

One thing I wish I’d known earlier: the model name matters, but the quantization label matters almost as much. “Llama 3 8B” can mean very different performance depending on whether it’s Q2, Q4, Q5, or Q8. I run Q4 as a default, Q5 when I want a bit more quality on a task that warrants it. Q8 is overkill for most things and Q2 degrades quality more than I find acceptable.

If you’re curious about specific model recommendations for your VRAM budget, feel free to drop the specs in a comment and I’ll give you my current take.

Hardware linked in this post:


Affiliate disclosure: Some links in this post are Amazon affiliate links. If you buy through them, I get a small commission at no cost to you. It helps keep the lights on here.

2026-06-25T14:29:17-07:00July 9th, 2026|Categories: Blog|Tags: , , , , , , , , , |0 Comments

Unraid as an AI Homelab Platform

Unraid wasn’t designed for AI workloads. It was designed for flexible storage, a simple container interface, and not requiring matching drives in your array. That’s still what it does well. But over the past year it’s become the platform I run my entire AI stack on, and the fit is better than I expected in some ways and worse in others.

The biggest win is container management. Ollama, the OpenWebUI frontend, my OpenClaw gateway, three WordPress instances, and a handful of other services all run as Docker containers managed through Unraid’s interface. Adding a new model backend or a new agent service is a few clicks and a docker-compose file. Unraid keeps them running, handles restart policies, and gives me a clean way to see resource usage across all of them. For someone who doesn’t want to maintain a full Kubernetes cluster, it’s a reasonable middle ground.

GPU passthrough is where things get more complicated. I’m running a Ryzen 9 5900X on an ASUS TUF Gaming X570-Plus (Wi-Fi) board, with an NVIDIA GPU passed through to an Ollama container for local model inference. The passthrough works, but Unraid’s VM/container GPU assignment can be finicky when you’re also trying to use that GPU for other things. I had to be deliberate about which containers got GPU access and accept that gaming on the same machine would require careful scheduling. Not a dealbreaker, but worth knowing going in.

The storage story is actually solid. I can dedicate a fast SSD cache for model weights and keep larger, less frequently accessed files on the array. I’m using a Samsung 860 EVO 1TB as the cache drive, and it keeps model load times fast. Unraid handles the tiering automatically once you set the cache rules. Model weights are big; an LLM with decent reasoning capability can be 15-40GB. Having flexible storage without needing to rethink my whole array setup was a real convenience.

Community support is a mixed bag. Unraid has an active forum and a decent app ecosystem through Community Applications. But AI-specific homelab content on Unraid is still pretty thin compared to what exists for plain Ubuntu or Proxmox. When I ran into edge cases with GPU driver versions inside containers, I was mostly on my own piecing together solutions from Ollama’s docs and Unraid threads that were only tangentially related to my problem.

Stability has been good in practice. I’ve had this stack running for months with minimal intervention. Unraid’s approach of keeping things simple, one box, one UI, no orchestration overhead, matches how I want to run this. I don’t want to spend weekends maintaining infrastructure. I want the infrastructure to run and get out of my way.

If I were advising someone choosing a platform for a first AI homelab, I’d say Unraid is a solid choice if you’re already on it or if you also want a NAS alongside your AI workload. The integrated storage and container UI are genuinely useful. If you only want AI workloads and nothing else, plain Ubuntu with Docker might be simpler to troubleshoot when things go sideways. Proxmox gives you more VM flexibility if you need it.

None of these platforms solve the fundamental challenge of home AI: the hardware has to be powerful enough to run something worth running, and that still costs real money. Unraid doesn’t change that calculus. But for managing what you already have, it handles the complexity well enough that I spend my time on the AI problems rather than the infrastructure problems.

Happy to answer questions about specific container setups or the GPU configuration if anyone’s working through the same thing.

Hardware linked in this post:


Affiliate disclosure: Some links in this post are Amazon affiliate links. If you buy through them, I get a small commission at no cost to you. It helps keep the lights on here.

2026-06-25T14:28:48-07:00June 27th, 2026|Categories: Blog|Tags: , , , , , , , , , |0 Comments