Articles / Mac Mini for OpenClaw: Which One to Buy and How to Keep It On

openclaw

Mac Mini for OpenClaw: Which One to Buy and How to Keep It On

Finn ·

A Mac mini is a good OpenClaw host when you need macOS itself, mainly the iMessage channel, or when you want a local model on hardware you own. With a cloud model, the base M6 with 16GB, $899 at Apple's US store on September 24, 2026, covers the runtime. Without either need, a $12 a month server runs the same gateway.

Decide with three questions

Do you need macOS? The clearest case is iMessage. OpenClaw's iMessage page says to "run the Gateway and imsg on the same signed-in macOS Messages host", with Full Disk Access and Automation granted. A Linux server cannot do that. Telegram, by contrast, only needs a bot token from BotFather, according to its channel page.

Does the model run in the cloud or on the Mac? If your config points at an API model, the Mac only runs the gateway: it holds credentials, schedules jobs and calls tools. That layer is light; OpenClaw's server page lists a Raspberry Pi among suitable hosts. The split between runtime, model and tools is laid out in what self-hosted AI agents really keep on your machine. If the model must stay local, memory decides. Ollama lists gpt-oss:20b as a 14GB download that runs "with as little as 16GB memory", which leaves nothing for macOS on a 16GB Mac. OpenHands recommends a Mac with at least 64GB for its first-choice local model, and warns that when a local model refuses tools, "the issue may be with the model itself rather than your setup."

Is buying cheaper than renting? DigitalOcean's 2GB droplet costs $12 a month. The $899 Mac equals 75 months of it, before electricity. Apple measures the M6 Mac mini at 4 W idle and 70 W maximum; 4 W around the clock is about 35 kWh a year, so multiply by your own rate. The Mac wins on control and macOS features, not on price.

A LaunchAgent runs only while its user is logged in, so a FileVault Mac that restarts on its own leaves the gateway down.

Which Mac mini to buy

Apple's US store listed these on September 24, 2026, before tax:

  • M6, 16GB, 256GB, from $899. Enough for OpenClaw with a cloud model, iMessage included.
  • M6 with 24GB or 32GB. Buy these if you want to try a small local model next to the gateway.
  • M5 Pro, 24GB, from $1,699, configurable to 64GB. This is the only Mac mini that reaches the 64GB OpenHands recommends.

Memory is picked in Apple's configurator when you order, so settle the model question first.

A fictional example shows the check. A freelance designer wants to text the agent from an iPhone, uses a Claude API key, and wants the agent to answer while the laptop is closed. iMessage needs macOS, so the answer is yes. The model is in the cloud, so 16GB is enough. The pick is the $899 M6. If the same designer used Telegram instead, the $12 server would do the job and the Mac would be optional.

Set it up so it survives a restart

A Mac mini on a shelf is only useful if the agent comes back after a power cut or an update. Work through these steps in order.

  1. Create a separate macOS user for the agent. The iMessage docs describe a dedicated bot user for a separate iMessage identity. It also keeps your personal files out of the agent's reach.

  2. Install the gateway as a service. The install page uses openclaw onboard --install-daemon or openclaw gateway install, which creates a macOS LaunchAgent. The macOS app does the same from its menu bar and needs macOS 15 or later.

  3. Stop the Mac from sleeping. In System Settings, open Energy and turn on "Prevent automatic sleeping when the display is off", as Apple's sleep settings guide describes. Then run the restart-on-power-loss setting from man pmset:

    sudo pmset -a sleep 0 autorestart 1
    pmset -g | grep -E "^ *(sleep|autorestart)"
    

    The second command should print autorestart followed by 1 and sleep followed by 0.

  4. Plan for FileVault. This is the step that is easy to miss. Apple's launchd guide says a user agent "executes only while that user is logged in", and Apple's automatic login page says automatic login is unavailable when FileVault is on. After a power cut, the Mac restarts and waits at the unlock screen, and the gateway stays down. On Apple silicon with macOS 26, FileVault can be unlocked over ssh if Remote Login is on. Turn on Remote Login in System Settings under General, then Sharing, before you need it. I would keep FileVault on a machine that holds the agent's API keys and use the remote unlock rather than disable encryption.

  5. Keep the gateway private. OpenClaw's remote access page advises: "Keep the Gateway loopback-only unless you are sure you need a bind." Reach it from your laptop with Tailscale Serve or an SSH tunnel:

    ssh -N -L 18789:127.0.0.1:18789 agent@mac-mini.local
    

    Replace agent with the macOS user from step 1 and mac-mini.local with the Mac's address. What a login to that gateway allows is covered in the security boundary between Hermes and OpenClaw.

Test the restart before you rely on it

Run one real failure once. Unplug the Mac for ten seconds and plug it back in. From your laptop, SSH in; if FileVault asks, unlock it with the agent user's password (that account must be allowed to unlock the disk), then connect again and run:

openclaw gateway status

If the gateway is not running, log in to that user once through Screen Sharing and check again; the LaunchAgent starts with the session. Then send a harmless message through the channel you use, such as "reply with today's date", and confirm the answer arrives. Test the unlock over the network you will actually use, Wi-Fi or Ethernet, because it happens before macOS finishes starting.

Updates are the other thing that stops an always-on agent. Before each one, note the version and your scheduled tasks, as described in what a month of OpenClaw threads on Reddit is really about, and repeat this test afterward. If the restart test passes and iMessage or a local model is on your list, the Mac mini is the right box.

Did this article help?

Get the best articles, carefully selected to save you time.

Read next

OpenClaw connects to MCP servers as a client: each server exposes tools, and OpenClaw hands those tools to your agents. You add one from Settings, from the chat composer, or from the command line. Connecting a server does not bypass your tool policy, and saving a definition proves nothing about reachability. Only a probe does.

Featured

A pivot is often just the polite word we use with investors when the first company is dead and we have decided to build another one. And that is fine. Not because failure is noble, but because luck needs exposure: every market you enter, every product you ship and every channel you test is one more surface where something unexpected can land.

Marketing articles

A bad news email subject line should identify the affected service, order or request. For an operational change, include the change and date: "Your Pro plan rises to $29/month at your 12 November renewal". For a sensitive personal decision, a neutral subject naming the request can be more appropriate. Put the explanation and next steps in the body.

Projects

Brands

The essentials, by email.

What works, what does not, what I would do differently. Sent when I have something useful to say.