HardwareAgent on a machine

OpenClaw on a Mac mini: which M4, how much memory, local models

The Mac mini is the most common desk machine for OpenClaw after the Raspberry Pi: quiet, 4 W at idle by Apple's measure, and fast enough to run a local model beside the agent. The choice that matters is the memory, because it cannot be added after you order.

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.

For OpenClaw on a desk: the Mac mini M4, 16 GB with a cloud model, 24 GB with a local one.
Buy the Mac Mini M4 on Amazon
At a glance
OpenClaw on macOSCLI on macOS 13.5 or later; the OpenClaw.app needs macOS 26.2 (Tahoe) or later
Servicea LaunchAgent (ai.openclaw.gateway), installed by openclaw onboard --install-daemon
Mac mini M4 memory16, 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 setupMac mini to order
OpenClaw, cloud model, Docker sandboxM4, 16 GB
Plus the browser image (Chromium) and several sandboxesM4, 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-daemon

The 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

The machine for this setup: the Mac Mini M4 / M4 Pro.
Buy the Mac Mini M4 on Amazon

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?
Yes. It runs macOS, which OpenClaw supports with a CLI, a LaunchAgent service and a desktop app, it is quiet, Apple measures the M4 at 4 W idle, and it can run a local model beside the agent.
Is 16 GB enough for OpenClaw on a Mac mini?
With a cloud model, yes, sandbox included. With a local model, order 24 GB or more: memory cannot be added later.
Does OpenClaw run on a Mac mini M1?
With a cloud model, yes, on macOS 13.5 or later for the CLI. The OpenClaw.app needs macOS 26.2. For local models the M1 is about 40% slower than the M4 per llama.cpp's figures (14.19 against 24.11 tokens per second).
Should Ollama run in Docker on the Mac?
No. Run Ollama on macOS itself, where it uses the GPU through Metal, and keep Docker for OpenClaw's sandbox.
M4 or M4 Pro for OpenClaw?
The M4, unless you want a large local model or speed: the M4 Pro has 273 GB/s and up to 64 GB. M4 vs M4 Pro.

Sources