In short: With a cloud model, the base Mac mini M4 with 16 GB runs OpenClaw and its Docker sandbox with room to spare. With a local model through Ollama, order 24 GB (a 7-8B model) or 32 GB (up to 14B comfortably). For 70B models, only the M4 Pro with 64 GB will do. An M1 Mac mini you already own works with a cloud model.
| OpenClaw on macOS | CLI on macOS 13.5 or later; the OpenClaw.app needs macOS 26.2 (Tahoe) or later |
|---|---|
| Service | a LaunchAgent (ai.openclaw.gateway), installed by openclaw onboard --install-daemon |
| Mac mini M4 memory | 16, 24 or 32 GB, 120 GB/s; M4 Pro: 24, 48 or 64 GB, 273 GB/s |
| Power at the wall (Apple) | M4: 4 W idle, 65 W maximum; M4 Pro: 5 W idle, 140 W maximum |
| 7B model speed (llama.cpp, Q4_0) | 24.11 tokens/s on M4, 50.74 on M4 Pro (20-core GPU) |
How much memory to order
| Your setup | Mac mini to order |
|---|---|
| OpenClaw, cloud model, Docker sandbox | M4, 16 GB |
| Plus the browser image (Chromium) and several sandboxes | M4, 16 GB, or 24 GB for headroom |
| Plus a 7-8B local model (4.4 to 5.2 GB in Ollama) | M4, 24 GB |
| Plus a 12-14B local model (8.2 to 9.3 GB) | M4, 32 GB |
| Plus a 70B local model (43 GB) | M4 Pro, 64 GB |
Our estimate: model download sizes from the Ollama library plus room for the context, the agent and macOS. The detail is on Mac mini M4 16 GB vs 24 GB.
Install on macOS
OpenClaw's installer detects macOS, installs Node if needed (Node 26 on macOS) and launches the onboarding; onboarding with --install-daemon registers the gateway as a LaunchAgent so it starts with your session:
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemonThe desktop app, OpenClaw.app, is a separate download for Apple Silicon, Intel or both, and requires macOS 26.2 or later. The command line runs on macOS 13.5 or later, the oldest release current Node supports.
The sandbox on a Mac
OpenClaw runs tools on the host until you configure a sandbox, and on a Mac the host is your user account, with your documents and your keychain. Install Docker Desktop and set the Docker backend before the agent gets its first channel. OpenClaw's official images exist for linux/arm64, which is what an Apple Silicon Mac runs in Docker. Docker's own Linux VM takes memory of its own: one more reason the 8 GB M1 or M2 base models feel tight.
A local model next to OpenClaw
On a Mac the GPU reads the model straight from unified memory, which is why the Mac mini is the usual pick for a local model. Install Ollama on macOS itself (not in Docker, where it would have no Metal GPU) and point OpenClaw at it. On llama.cpp's Apple Silicon scoreboard, a 7B model at Q4_0 writes 24.11 tokens per second on the M4 and 50.74 on the M4 Pro: speed follows memory bandwidth, 120 GB/s against 273 GB/s. Set the context Ollama uses to what an agent needs; Ollama's docs suggest at least 64000 tokens for agents, and that costs memory (Ollama out of memory).
Keeping it on all year
In System Settings, Energy, macOS offers "Start up automatically after a power failure" (on newer releases, "Start up when power is connected") and "Wake for network access": turn both on for a machine that must answer messages. A small UPS covers short cuts (UPS for an agent host). At 4 W idle, Apple's figure for the M4, the running cost is small; the arithmetic for your tariff is on the power cost page.
An older Mac mini
A Mac mini M1 (8 or 16 GB) runs OpenClaw with a cloud model. For local models it is slower: llama.cpp lists the M1 at 68 GB/s and 14.19 tokens per second on the same 7B test. Apple measures the M1 model at 6.8 W idle. Check that its macOS release meets the CLI's 13.5 minimum, and the app's 26.2 if you want the app.
What to buy
- Mac mini M4: check the memory on the listing; 24 and 32 GB builds are often Apple-only orders.
- Mac mini M4 Pro: for 48 or 64 GB and twice the bandwidth.
- Line-interactive UPS: rides out short power cuts.
Shop links go through /go/ and open Amazon (amazon.fr in the EU and Switzerland, amazon.com elsewhere). As an Amazon Associate we earn from qualifying purchases. Your price does not change and no brand pays for a place on this page (disclosure). We write no price down: it moves, the shop shows today's.
Questions
Is a Mac mini good for OpenClaw?
Is 16 GB enough for OpenClaw on a Mac mini?
Does OpenClaw run on a Mac mini M1?
Should Ollama run in Docker on the Mac?
M4 or M4 Pro for OpenClaw?
Sources
- OpenClaw docs, macOS (app and CLI requirements), read on 21 November 2026.
- OpenClaw docs, install, read on 21 November 2026.
- OpenClaw docs, platforms (service targets), read on 21 November 2026.
- Apple, Mac mini (2024) technical specifications, read on 21 November 2026.
- Apple, Mac mini (M1, 2020) technical specifications, read on 21 November 2026.
- Apple, Mac mini power consumption, read on 21 November 2026.
- Apple, change Energy settings on Mac, read on 21 November 2026.
- llama.cpp, Apple Silicon performance, discussion #4167, read on 21 November 2026.
- Ollama docs, context length, read on 21 November 2026.