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
Last tested: August 2026 · Ollama 0.33.2

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:

16GB RAM minimum Runs 7-8B models comfortably for everyday use.
32GB RAM, practical baseline Model sizes have grown - 32GB is the safer default now, not just headroom.
6+ CPU cores A recent Ryzen or Intel Core chip, nothing exotic.
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.
Ignore the NPU marketing. A lot of current mini PCs advertise a built-in NPU (neural processing unit) as an AI selling point. As of now, Ollama and the other tools this site covers don't offload model inference to the NPU - it helps with things like video call background blur, not with running Ollama faster. Buy for CPU and RAM; treat the NPU as a feature you're not using for this.

Installing Ollama

This guide assumes a Linux mini PC, which is genuinely the least-friction choice for the always-on, headless setup this site walks through - see Choosing Your OS for Local AI if you're not sure that's the right call for you before buying anything.

Ollama is the easiest way to run local models. It handles downloading, quantization, and serving a simple API - no manual model wrangling required. It's not the only option - see Ollama vs. llama.cpp if you want the honest tradeoff before committing - but it's the right default for getting a working setup today.

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.

Terminal window showing ollama run llama3.2 with a real question and the model's response

A real first run - no interface yet, just the model responding directly in the terminal.

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
Terminal showing ollama ps output with a loaded model, its size, and the PROCESSOR column reading 100% CPU

A healthy result - a model actively loaded, running on CPU since this build has no dedicated GPU.

That 100% CPU reading is expected here, not a warning sign - see Is 100% CPU Usage Normal for Ollama? if it looks alarming.

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. Here's what a normal, healthy download actually looks like - a live percentage, transfer speed, and time remaining, all updating in place:

Terminal showing an Ollama model download in progress with a percentage, transfer speed, and time remaining

A healthy pull in progress - if yours looks like this but isn't moving for several minutes, that's when it's actually stalled.

If a pull genuinely does stall, just re-run the same command:

ollama run llama3.2

Ollama resumes the download where it left off instead of starting over. If a pull keeps failing at the same spot or the model behaves strangely after finishing, Model Downloads Keep Failing or Coming Out Corrupted covers what to check next.

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. If your specific mini PC supports it, see the RAM pick for what to check before buying a kit - not every mini PC has upgradeable memory. If it's outright crashing rather than just slow, see Ollama Says "Out of Memory".

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.

Your model is running Turn it into a real ChatGPT-style interface

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