What Machine Do You Need to Code with AI? A Hardware Guide for Cursor and Copilot
The most common mistake when buying a machine for AI coding is overspending on the GPU. The real bottleneck is usually RAM and CPU. This guide works backwards from what you actually run.
What AI coding actually loads
When you code with Cursor or Copilot, three things run on your machine: the editor and language server (CPU and memory), the project you are working on (memory and disk), and the model itself — which is not on your machine at all. Only the third one is what most people assume matters, and it is the one that does not.
The short version: AI coding is a memory and CPU job, not a graphics job. Unless you also run local models on the same machine, the GPU barely affects your experience.
- The bigger the project and the more dependencies, the more memory the language server takes
- Cloud model inference happens on Amazon or OpenAI servers
- Locally, only the editor, indexer, Git and build tools consume resources
RAM: the one spec you cannot skip
When RAM runs out the machine does not get slower, it stops: the editor freezes while the system pages to disk, and you mistake the hang for the AI thinking.
The tiers: 16GB handles a single front-end project; 32GB is the real starting point for AI coding — editor, browser and a backend service open at once; 64GB is for large codebases or running local models.
- Check the slot count, not just the total
- A machine with replaceable memory ages better
- Thin laptops often have soldered memory that cannot be upgraded — check this first
CPU: compilation and indexing are the real load
While AI writes your code, the CPU does three things: type checking on TypeScript projects, bundling, and dependency indexing. The first two are bursty — full speed for a few seconds on save, then idle.
Practical answer: a current mainstream six- or eight-core chip is enough. Chasing the newest flagship buys you nothing. What you feel is single-core speed and whether the machine throttles under sustained load.
- Laptop throttling under sustained load is normal — thermals matter more than benchmark scores
- Fan noise in a quiet room affects daily use more than benchmark gaps
The GPU: one case where it matters
Unless you run local models on the same machine, the GPU barely affects AI coding. Cursor, Copilot and Claude Code all run inference in the cloud — your graphics card has never executed a single token.
Where a GPU genuinely matters: running models locally. If you want to run a 7B–13B open model on your own machine for code completion or offline questions, VRAM is a hard wall — and 24GB of it is worth more than any flagship CPU.
- If you only call APIs — do not budget for a GPU
- If you run local models — VRAM capacity first, then raw compute
Storage: capacity is easy, type is not
AI coding eats more disk than people expect: node_modules runs to hundreds of megabytes, Docker images reach several gigabytes, and the AI tools keep their own index and cache on top.
The answer: a 1TB NVMe SSD as the floor. Do not buy a SATA SSD or a spinning disk by mistake — the difference during dependency installs and indexing is obvious. Spinning storage only makes sense for large cold archives.
- Separate a big slow drive for cold data from a fast one for projects
- Docker images are the usual runaway — prune them regularly
Three honest tiers
These three tiers are not spec sheets. They are derived from what you will actually run. If you only use cloud models, the money you would spend upgrading from tier one to tier two is largely wasted.
If you want to go straight to shopping, here are the spec-filtered entry points.
64GB RAM laptopsWhat not to buy
A few recurring wastes, each happening at the moment people believe they are spending money on AI.
- Upgrading the GPU for cloud models — paying for something that does not compute
- Buying far more cores than you need, then running at 20% load plugged in
- Buying big VRAM 'in case you run models later' — the most expensive guess
The pre-purchase checklist
Run through these before comparing a single benchmark score.
- Can the memory be upgraded, and to how much? Soldered is a dead end.
- Can the cooling hold up under sustained compilation?
- Will you actually run local models? If not, the GPU budget is zero.
- Are your peripherals tied to this machine or shared across devices?