Build It

Setting Up a Mini PC for Local AI

A practical guide to picking and setting up a mini PC that can run local AI models at home, no GPU required.

20 minute read

Why a mini PC, not a cloud subscription or a bigger rig

The obvious alternative is just paying for a cloud AI subscription instead of setting any of this up. That's a fair question, and the honest answer is it depends what you're optimizing for.

A cloud subscription is faster to start and skips picking hardware entirely. But the monthly cost keeps going whether you use it or not, and every prompt you send leaves your machine and lives on someone else's server. A mini PC costs more upfront and effectively nothing after that, and nothing you type ever leaves the room.

The other alternative is a full desktop with a dedicated GPU. That's genuinely faster for larger models, but it costs three to four times as much, draws a lot more power, and most people running 7-8B models for everyday tasks won't notice the difference in practice. A mini PC is where cost, noise, and capability actually line up for a first setup.

Picking hardware

You don't need a gaming rig. A mini PC with a modern CPU and enough RAM will run 7-8B parameter models at a comfortable speed for everyday use - chatting, coding help, summarizing documents.

The two numbers that matter most:

  • RAM: 16GB minimum, 32GB if you want headroom
  • CPU: a recent Ryzen or Intel Core chip with at least 6 cores
Good starting point: a Ryzen 7 mini PC with 32GB RAM handles most local models without breaking a sweat, and costs less than a mid-range GPU alone.

Installing Ollama

Ollama is the easiest way to run local models. It handles downloading, quantization, and serving a simple API - no manual model wrangling required.

curl -fsSL https://ollama.com/install.sh | sh

Once installed, confirm it's running:

ollama --version
Heads up: on first install, Ollama runs as a background service. If a command hangs, check that the service actually started before troubleshooting further.

Running your first model

Pull and run a small model to confirm everything works end to end:

ollama run llama3.2

If you get a response, your mini PC is now a private AI server. No cloud, no API key, no monthly bill.

You're done: from here, the Run It section covers connecting a proper chat interface instead of the bare terminal.
One more thing: this machine is now effectively an always-on server on your network, even if it doesn't feel like one. Keep its OS updated the same way you would any other device, and once it's running day to day, see Locking Down Your Local AI Setup for what else is worth checking.

What actually goes wrong

Every guide shows the happy path. Here's what actually trips people up, based on running this exact setup.

Ollama isn't responding

Check whether the background service is actually running:

ollama ps

If that comes back empty when you know a model should be loaded, the service likely didn't start. On Linux:

sudo systemctl status ollama
sudo systemctl restart ollama

On Mac, quit and reopen the Ollama app from the menu bar - it runs the background service for you.

A model download stalls partway through

Models run several gigabytes, and a slow or unstable connection can stall the pull. Just re-run the same command:

ollama run llama3.2

Ollama resumes the download where it left off instead of starting over.

Responses are painfully slow

This is almost never a CPU problem. It's almost always RAM. If the system is swapping to disk because the model doesn't fit in memory, every response crawls no matter how fast the processor is. Check memory usage (Activity Monitor on Mac, htop on Linux) while a model is running - if it's maxed out with swap climbing, the fix is more RAM or a smaller, more quantized model, not a faster chip.

Common questions

How much RAM do I actually need?
16GB is the practical minimum for running 7-8B parameter models comfortably. 32GB gives you room to run larger models or keep multiple models loaded.
Do I need a GPU for this build?
No. This guide is CPU-only by design. A GPU helps, but a mini PC with a modern CPU handles 7-8B models at usable speeds without one.

Go deeper

This guide covers one solid path. Here's where to go if you want something different.

Written from hands-on security operations experience. More about this site →