Home Server for Local AI: NAS vs Mini-PC vs Tower Build
Running local AI 24/7 requires dedicated hardware that is always on and accessible from anywhere in your home. This guide compares three approaches — NAS with AI acceleration, a dedicated mini-PC, and a full tower build — with real cost and performance trade-offs.
Three Architectures Compared
Option 1: Beelink Mini PC (Low Power Always-On)
The Beelink SER8 with AMD Ryzen 9 8945H and 32GB RAM runs Llama 3.1 8B at 12-18 tokens/second via CPU inference. It costs $500 and draws only 8-15W idle — about $10-15/year in electricity.
# On the mini PC (Ubuntu 24.04)
curl -fsSL https://ollama.com/install.sh | sh
OLLAMA_HOST=0.0.0.0 ollama serve &
ollama pull llama3.1:8b
# From other devices on your network:
OLLAMA_HOST=http://192.168.1.100:11434 ollama run llama3.1:8b
Option 2: Tower with RTX 4090 (Maximum Performance)
A tower build with an RTX 4090 delivers 120+ tokens/second on 8B models and 30 tokens/second on 32B models. The trade-off is 80-150W constant power draw and higher noise. For recommended component combinations, check LLMHardware.io's server build guide.
Exposing Your Server Safely
# Add basic auth with nginx reverse proxy
# /etc/nginx/sites-available/ollama-proxy
server {
listen 443 ssl;
server_name llm.yourdomain.com;
location / {
auth_basic "AI Server";
auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://localhost:11434;
proxy_set_header Host $host;
}
}
Comments
Post a Comment