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

Can Claude Code run on an old laptop?

Yes, if it has 4 GB of memory or more and runs Windows 10 1809+, macOS 13+, Ubuntu 20.04+ or Debian 10+.

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 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 Claude Code?

Yes, if it has 4 GB of memory or more and runs Windows 10 1809+, macOS 13+, Ubuntu 20.04+ or Debian 10+.

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

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 Claude Code 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

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

Sources