Self-Hosted AI Agent
A small black Dell OptiPlex Micro desktop

Can Codex run on an old laptop?

Yes, with 4 GB of memory (8 GB recommended) on macOS 12+, Ubuntu 20.04+ or Debian 10+. On Windows, Codex needs Windows 11 with WSL2.

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 an old laptop brings

Power and running costAbout 6.4 W at idle, so roughly $0.86 a month left on all day at the US average electricity price
Good to knowFine for an agent whose model runs in the cloud if it has at least 4 GB of RAM (8 GB is more comfortable); Notebookcheck measured a 2018 ThinkPad T480s at 3.1–9.4 W idle with the screen on.
Left on all dayCosts nothing extra if you already own it, but you must set it never to sleep, including with the lid closed, and it stops when it loses power or Wi-Fi.

Local models on an old laptop

Most old laptops have 4 to 8 GB of memory and no graphics card worth using. On the memory table, 8 GB is the floor for a 3–8B model and a cloud model will be faster and more capable. The memory table shows what each model size needs.

Questions

Is an old laptop enough for Codex?

Yes, with 4 GB of memory (8 GB recommended) on macOS 12+, Ubuntu 20.04+ or Debian 10+. On Windows, Codex needs Windows 11 with WSL2.

What does it cost to keep an old laptop running for Codex?

About 6.4 W at idle, so roughly $0.86 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 an old laptop?

Most old laptops have 4 to 8 GB of memory and no graphics card worth using. On the memory table, 8 GB is the floor for a 3–8B model and a cloud model will be faster and more capable.

Other combinations

Codex on An old office PC · An N100 mini PC · A Mac mini · A Raspberry Pi 5 · A VPS.

On an old laptop: OpenClaw · Hermes Agent · Claude Code. See every agent and computer.

Sources