The Mac Mini is the most cost-effective hardware for local AI. Starting at $599 with 16GB of unified memory, it runs 7B-14B models comfortably. Stack three Mac Minis for the cost of one month of cloud GPU rental — and they run forever with zero ongoing costs.
This skill turns one Mac Mini into an AI server and multiple Mac Minis into a fleet.
ConfigChipUnified MemoryPriceLLM Sweet SpotMac Mini M4 (16GB)M416GB$5993B-7B models ( phi4-mini, llama3.2:3b)Mac Mini M4 (24GB)M424GB$7997B-14B models ( phi4, gemma3:12b)Mac Mini M4 (32GB)M432GB$99914B-22B models ( qwen3:14b, codestral)Mac Mini M4 Pro (48GB)M4 Pro48GB$1,39922B-32B models ( qwen3:32b)Mac Mini M4 Pro (64GB)M4 Pro64GB$1,79932B-70B models ( llama3.3:70b quantized)
Three Mac Minis (32GB each) for $3,000 give you:
text
Mac Mini #1 (32GB) — llama3.3:70b (quantized) ─┐
Mac Mini #2 (32GB) — codestral + phi4 ├──→ Router ←── Your apps
Mac Mini #3 (32GB) — qwen3:14b + embeddings ─┘
bash
pip install ollama-herd # PyPI: https://pypi.org/project/ollama-herd/
On one Mac Mini (the router):
bash
herd
On every other Mac Mini:
bash
herd-node
Devices discover each other automatically. No IP configuration, no Docker, no Kubernetes.
python
from openai import OpenAI
client = OpenAI(base_url="http://localhost:11435/v1", api_key="not-needed")
response = client.chat.completions.create(
model="phi4",
messages=[{"role": "user", "content": "Write a Python web scraper"}],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.content or "", end="")
bash
curl http://localhost:11435/api/chat -d '{
"model": "gemma3:12b",
"messages": [{"role": "user", "content": "Explain recursion simply"}],
"stream": false
}'
bash
uv tool install mflux # Install on any Mac Mini
curl -o art.png http://localhost:11435/api/generate-image \
-H "Content-Type: application/json" \
-d '{"model": "z-image-turbo", "prompt": "a stack of Mac Minis glowing", "width": 512, "height": 512}'
bash
curl http://localhost:11435/api/transcribe -F "file=@meeting.wav" -F "model=qwen3-asr"
bash
curl http://localhost:11435/api/embed \
-d '{"model": "nomic-embed-text", "input": "Mac Mini home server local AI"}'
RAMBest modelsWhy16GBphi4-mini (3.8B), gemma3:4b, nomic-embed-textSmall but capable, leaves room for OS24GBphi4 (14B), gemma3:12b, codestralSweet spot for single-model use32GBqwen3:14b, deepseek-r1:14b, codestral + phi4-miniTwo models simultaneously48GBqwen3:32b, deepseek-r1:32bLarger models, great quality64GBllama3.3:70b (quantized)Near-frontier quality on a Mac Mini
Dashboard at http://localhost:11435/dashboard — see every Mac Mini's status, loaded models, and queue depths.
bash
# Fleet overview
curl -s http://localhost:11435/fleet/status | python3 -m json.tool
# Model recommendations for your hardware
curl -s http://localhost:11435/dashboard/api/recommendations | python3 -m json.tool
ToolConnectionOpen WebUIOllama URL: http://mac-mini-ip:11435Aideraider --openai-api-base http://mac-mini-ip:11435/v1Continue.devBase URL: http://mac-mini-ip:11435/v1LangChainChatOpenAI(base_url="http://mac-mini-ip:11435/v1")
Ollama Herd is open source (MIT). Built for the Mac Mini fleet community:
CLAUDE.md gives full context.~/.fleet-manager/.