Running Ollama and Local LLMs on a Hosted Mac Mini
Unified memory turns a hosted Mac mini into a capable local LLM inference box. Model sizes by memory tier, Ollama on Apple Silicon, and always-on agent setups.

Short answer: yes, a Mac mini makes a genuinely good always-on server for local LLMs — and the reason is architectural rather than clever tuning. Apple's unified memory lets even mid-range configurations load models that would not fit on a typical desktop GPU, while the machine's low idle draw suits a box that spends most of its day waiting for prompts. Here is what actually runs on 16 to 64 GB, and how to set one up as a headless AI server.
Why Unified Memory Changes the Local LLM Equation
On a conventional PC, local inference lives and dies by GPU VRAM. Model weights must fit in the card's dedicated memory, and mainstream cards offer 8 to 16 GB — tight for anything ambitious. Apple Silicon shares one pool of unified memory between CPU and GPU on the same package. A 32 GB Mac mini can hand most of that pool to the GPU for weights and KV cache, with no PCIe copies in between.
Two consequences follow:
- Capacity scales with the machine, not a graphics card. A 64 GB Mac mini gives you workstation-class model headroom in a five-inch chassis.
- Bandwidth sits where inference needs it. Token generation is largely memory-bandwidth-bound, and on-package memory keeps quantized models responding at interactive rates.
The practical upshot: model classes that are out of reach for most desktop GPUs run comfortably on a mid-tier mini.
Model Sizes That Fit: 7B to 70B by Memory Tier
For 4-bit quantized models — the sweet spot for local inference — budget roughly 0.5 to 0.6 GB per billion parameters, then leave headroom for the KV cache, macOS itself, and anything else the machine runs.
| Unified memory | Comfortable model class | Typical examples (Q4) | What it feels like |
|---|---|---|---|
| 16 GB | 7B–8B | Llama 3.1 8B, Mistral 7B | Solid chat and agent tier |
| 24 GB | 12B–14B | Qwen 14B, 12B-class models | Noticeably stronger reasoning |
| 32 GB | 27B–32B | Gemma 27B, Qwen 32B | Serious daily-driver assistant |
| 64 GB | 70B | Llama 3.3 70B | Frontier-adjacent quality, deliberate pace |
Three practical notes:
- Long contexts eat memory. The KV cache grows with context length, so a 32B model with a 32k-token window wants meaningfully more headroom than the weights alone suggest.
- Quantization is your friend. Q4-class formats lose little quality for chat and agent work while roughly halving memory needs versus 8-bit.
- Leave macOS room to breathe. Reserve several GB for the OS and background services; pushing a model to the absolute limit invites swapping, which ruins latency.
Ollama, MLX, and the Apple Silicon Toolchain
Ollama is the shortest path from a fresh macOS install to a working model server. One installer, then ollama pull llama3.1 and ollama run — the Metal backend engages automatically, and every model is exposed through a local REST API on port 11434 that speaks an OpenAI-compatible dialect. That API turns the mini into infrastructure: anything that can call an HTTP endpoint can use it.
MLX, Apple's open-source array framework, is the other pillar. The mlx-lm package runs many models with lower memory overhead than the llama.cpp path and is where Apple-specific optimizations tend to land first. A sensible split: Ollama as the always-on service for its convenience and API, MLX for experiments and for squeezing more out of larger models.
All of this is macOS-native, so it maps directly onto Apple Silicon hosting: Sayob's hosted Mac mini M4 plans (EUR 119 to EUR 399 per month) run the toolchain above exactly as a mini on your desk would.
Always-On Agents: Idle Draw and Thermals
A personal AI agent spends most of its life idle — exactly where the Mac mini's desktop heritage becomes a server-room asset. Idle draw sits in the single-digit-watt range, the machine is near-silent, and its thermal design assumes a sealed office corner rather than a wind tunnel. Inference pushes the SoC hard for seconds to minutes, then everything drops back to idle.
That duty cycle — long idle, short bursts — is exactly what a personal agent produces: a scheduled morning summary, a RAG query against your notes, an inbox triage run, a chat session. No discrete GPU idles at high wattage waiting for work, which keeps the economics of a 24/7 box sane — a big part of why the mini has become a favorite for self-hosted AI.
Remote Access Patterns for a Headless AI Box
A hosted mini runs headless, so plan access deliberately. Never expose Ollama's port 11434 raw to the internet — it has no authentication of its own. Instead:
- SSH tunnel —
ssh -L 11434:localhost:11434 you@your-minigives your laptop a local endpoint with no open ports. - Mesh VPN (Tailscale or WireGuard) — the cleanest daily setup; the mini joins your private network and every device reaches the API directly.
- Reverse proxy with auth — Caddy or nginx in front of Ollama, TLS plus an API key, for when other services need access.
- Screen Sharing — macOS's built-in remote desktop over the VPN for the occasional GUI task.
Hosting the machine in the Equinix FR5 data center in Frankfurt keeps it on a stable datacenter uplink under German and EU (GDPR) jurisdiction, while your prompts and documents stay on hardware dedicated to you rather than in a multi-tenant cloud API.
When You Need More Than One Mini
One mini comfortably serves a person or a small team plus a handful of agents. When you outgrow it, two paths open:
- Scale out with Thunderbolt 5 clusters. Sayob's Apple Silicon plans support Thunderbolt 5 cluster configurations, so you can dedicate one node to a large chat model, another to embeddings and background agents, or experiment with distributed inference frameworks that split a single large model across nodes.
- Scale up on x86. Some workloads want Linux, more cores, or a bigger software ecosystem. Dedicated AMD servers with EPYC processors, DDR5 ECC memory, and full root access cover CPU-based inference, vector databases, and the orchestration layer around your agents, from EUR 99 per month.
A common end state pairs the two: minis serve inference behind the API, and a Linux box runs the app, queue, and database.
FAQ
Can a Mac mini really run a 70B model? Yes — with 64 GB of unified memory and 4-bit quantization. Expect deliberate rather than snappy generation: fine for asynchronous agent tasks, slower than the 7B–32B classes for live chat.
Does Ollama use the GPU on Apple Silicon? Yes, automatically, via the Metal backend. No drivers or extra setup required.
Is it safe to leave one running 24/7? That is what the hardware is built for. Low idle draw and conservative thermals make continuous operation unremarkable, and a hosted mini adds clean power and a proper facility environment on top.
What about fine-tuning? Light LoRA fine-tunes of small models are feasible with MLX on higher-memory machines. Heavy training wants other hardware — but for inference-first agent use, the mini is the right shape. If you want help planning a setup, get in touch.
Related articles

Xcode Cloud Alternatives: When 25 Hours Isn't Enough
Hitting Xcode Cloud's 25-hour ceiling? See managed iOS CI platforms and the self-hosted lane: a dedicated Mac mini runner for Xcode builds in Europe.

Using Xcode Without a Mac: Remote macOS for Windows and Linux
Run Xcode from Windows or Linux on a hosted Mac mini M4: dedicated remote macOS with SSH and Screen Sharing for Flutter, React Native and native iOS teams.
Mac Mini Hosting for iOS CI/CD: Why Teams Use Dedicated macOS Infrastructure
Dedicated Mac Mini hosting can help teams run persistent macOS build environments for iOS, macOS and Apple ecosystem development.
Want help planning your hosting setup?
Talk to our team about configurations, locations and the right infrastructure for your workload.