Self-Hosted AI Agent
A silver Mac mini on a wooden table

Can Claude Code run on a Mac mini?

Yes. A Mac mini on macOS 13 or later meets Claude Code’s requirements, with memory to spare.

What Claude Code needs

From Claude Code’s own documentation, checked 28 October 2026.

Operating systemmacOS 13.0+, Windows 10 1809+ or Windows Server 2019+, Ubuntu 20.04+, Debian 10+ or Alpine Linux 3.19+
Hardware4 GB+ RAM and an x64 or ARM64 processor
AccountA Pro, Max, Team, Enterprise or Console account; the free Claude plan does not include Claude Code
NetworkAn internet connection; the model runs in Anthropic’s cloud

What a Mac mini brings

Power and running costAbout 4 W at idle, so roughly $0.53 a month left on all day at the US average electricity price
Good to knowApple lists 4 W idle for the current Mac mini (M6, 16 GB); its CPU and GPU share one pool of unified memory, and Hermes' docs say 27–35B local models need 32 GB or more of it.
Left on all dayVery low idle power, and it runs macOS, which OpenClaw's docs say you need for iMessage.

Local models on a Mac mini

Apple silicon shares one pool of memory between processor and graphics, so total memory decides model size: 16 GB for a 14B model, and Hermes’ docs say 32 GB or more for 27–35B models. The memory table shows what each model size needs.

Questions

Is a Mac mini enough for Claude Code?

Yes. A Mac mini on macOS 13 or later meets Claude Code’s requirements, with memory to spare.

What does it cost to keep a Mac mini running for Claude Code?

About 4 W at idle, so roughly $0.53 a month left on all day at the US average electricity price. The AI model is usually the bigger monthly cost.

Can Claude Code use a local model on a Mac mini?

Apple silicon shares one pool of memory between processor and graphics, so total memory decides model size: 16 GB for a 14B model, and Hermes’ docs say 32 GB or more for 27–35B models.

Other combinations

Claude Code on An old laptop · An old office PC · An N100 mini PC · A Raspberry Pi 5 · A VPS.

On a Mac mini: OpenClaw · Hermes Agent · Codex. See every agent and computer.

Sources