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

Can Codex run on a Mac mini?

Yes. A Mac mini on macOS 12 or later meets Codex’s requirements, with memory to spare.

What Codex needs

From Codex’s own documentation, checked 28 October 2026.

Operating systemmacOS 12+, Ubuntu 20.04+ or Debian 10+, or Windows 11 via WSL2
Memory4 GB minimum, 8 GB recommended
ProcessorThe requirements table does not name a processor architecture

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 Codex?

Yes. A Mac mini on macOS 12 or later meets Codex’s requirements, with memory to spare.

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

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 Codex 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

Codex 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 · Claude Code. See every agent and computer.

Sources