RAM holds everything your PC is working on right now: the operating system, open apps and browser tabs, and, for local AI, often the model itself. When RAM runs out, the system swaps to the SSD, which is much slower. Here is a practical starting point by use.
RAM by use case
| Use | Practical starting point | Why |
|---|---|---|
| Web, office | 16 GB | Modern browsers and OS use several GB on their own |
| Gaming | 32 GB | Headroom for the game plus background apps |
| Photo/video, dev work | 32–64 GB | Large projects, VMs, containers |
| Local AI with a GPU | At least the model size, ideally more | Models load through RAM; overflow layers run from RAM |
| Local AI on CPU or unified memory | Model size + context + OS | RAM is the model memory |
These are general guidelines, not measurements. Check each application's published requirements.
RAM for local AI
For running language models, the question is how big the model is. At 4-bit quantization (Q4_K_M), an 8B model needs about 6–7 GB including an 8k context, a 32B model about 21 GB and a 70B model over 40 GB (full table). With a graphics card, aim for system RAM at least as large as the model file so it loads smoothly. Without one, or on a unified-memory machine such as a Ryzen AI Max mini PC or a Mac, RAM must hold the model, its context and the OS together.
Speed, channels and upgrades
- Two matched sticks beat one: desktop platforms run memory in dual channel, doubling bandwidth over a single stick.
- Soldered memory can't be upgraded: on many laptops and all unified-memory mini PCs, buy the capacity you will need up front.
- Capacity before speed: running out of RAM costs far more performance than a slower memory kit.
Current memory prices: RAM prices. AI-specific detail: how much RAM for local AI. Difference from GPU memory: VRAM vs RAM.
Recommended hardware
| Pick | Hardware | Why | Link |
|---|---|---|---|
| Budget | DDR5 32GB kit (2×16GB)Desktop memory | Enough for everyday use and gaming, and to load models up to the 32B class (≈21 GB at Q4) onto a GPU. | Check price on Amazon |
| Mid-range | DDR5 64GB kit (2×32GB)Desktop memory | Holds 70B-class model files (over 40 GB at Q4) with room for the OS and some CPU offload. | Check price on Amazon |
| Best | DDR5 128GB kit (2×64GB)Desktop memory | Lets large models such as gpt-oss-120b run from system RAM (slowly) on CPU or with partial GPU offload. | Check price on Amazon |
Affiliate link: we may earn a commission.
Buying for a team or spending $3,000+?
Get quotes from up to 3 AI workstation builders
Tell us what you want to run and your budget. Builders quote you directly, so you can compare before you buy. Free, no obligation.
