Your graphics card's VRAM gets all the attention, but system RAM decides what runs once a model is bigger than the card. We sized ten popular models on our VRAM engine, with no GPU, a 12GB card and a 24GB card, and priced every RAM kit size on Nov 17, 2026.
How much RAM do you need for local AI? 16GB to run 8B models, 32GB for most people (14B to 35B models, even without a graphics card), and 64GB for a 70B model or a big mixture-of-experts model like gpt-oss-120b offloaded from a smaller GPU. If your graphics card holds the whole model, system RAM matters much less. Those tiers come from our VRAM engine, model by model, in the table below.
Updated Nov 18, 2026: we re-sized every model on our VRAM engine at 16K context (the old table showed weights only, so the 70B row rises from about 40 GB to 45.6 GB in total, and gpt-oss-120b is now sized from OpenAI's own 65.25 GB MXFP4 release, about 62.7 GB with context instead of "about 66 GB"). New: the RAM you need with a 12GB or 24GB card, a chart, today's price for every RAM kit size, a section on mixture-of-experts models, why RAM speed sets offload speed, Microsoft's 16GB minimum for Copilot+ laptops, and four new questions below. Our Nov 15 note still holds: TrendForce forecast another 13-18% rise in PC DRAM contract prices this quarter.
Everyone obsesses over VRAM, but your system RAM matters too, and it's the number people forget. RAM matters most when you don't have a big graphics card: for CPU-only inference, for offloading part of a model when it doesn't fit in VRAM, and for the RAG pipelines, Docker stacks and tools around your model. If you have a big GPU, VRAM does the heavy lifting; if you don't, RAM is what decides what you can run. New to running models at home? Start with how to run a local LLM on your PC, then come back here to size the RAM.
RAM vs VRAM, why both matter
This trips a lot of people up, so let's be clear. VRAM is the memory on your graphics card. It's fast and it's where a model runs when you have a GPU; that's why VRAM is king for GPU inference. System RAM is your computer's main memory, feeding the CPU. They're different pools. Where RAM becomes the deciding factor: (1) no GPU, the whole model runs in RAM on the CPU; (2) model bigger than your VRAM, tools like Ollamaoffload the overflow to system RAM, so more RAM lets you run larger models than your card alone could (slower, but it runs); and (3) everything around the model, a RAG vector database, a browser, your IDE and Docker all want RAM too. If RAM runs out as well, the system starts swapping to disk and speed collapses. That's the real cost of too little RAM. So if you have a strong GPU, prioritise VRAM; if you're on CPU or a modest card, RAM is what unlocks bigger models.
How much RAM does each model need?
We ran ten popular open models through our VRAM engine, the same math as the VRAM calculator (how we calculate it): weights at Q4_K_M or the model's own release, an fp16 KV cache for 16K tokens of context and about 0.8 GB for the runtime. "Needs in total" is that sum. The RAM columns add our 8 GB allowance for Windows, a browser and your apps (Microsoft's Windows 11 minimum is 4 GB, which leaves nothing for anything else), then round up to a kit size you can buy. With a graphics card, the card holds up to 90% of its VRAM, our engine's comfort line, and only the rest of the model goes to RAM.
Qwen3.5 9B (Q4_K_M)
Type
dense, 9.7B
Needs in total
~6.7 GB
RAM, no GPU
16GB
RAM with a 12GB card
16GB (fits the card)
RAM with a 24GB card
16GB (fits the card)
Qwen3 14B (Q4_K_M)
Type
dense, 14.8B
Needs in total
~11.6 GB
RAM, no GPU
32GB
RAM with a 12GB card
16GB (0.8 GB in RAM)
RAM with a 24GB card
16GB (fits the card)
gpt-oss-20b (MXFP4)
Type
MoE, 21B, 3.6B active
Needs in total
~14.3 GB
RAM, no GPU
32GB
RAM with a 12GB card
16GB (3.5 GB in RAM)
RAM with a 24GB card
16GB (fits the card)
Qwen3.8 27B (Q4_K_M)
Type
dense, 27.8B
Needs in total
~17.5 GB
RAM, no GPU
32GB
RAM with a 12GB card
16GB tight, 32GB safe (6.7 GB in RAM)
RAM with a 24GB card
16GB (fits the card)
Qwen3.6 35B-A3B (Q4_K_M)
Type
MoE, 36B, 3B active
Needs in total
~21.4 GB
RAM, no GPU
32GB
RAM with a 12GB card
32GB (10.6 GB in RAM)
RAM with a 24GB card
16GB (fits the card)
Qwen3 32B (Q4_K_M)
Type
dense, 32.8B
Needs in total
~23.3 GB
RAM, no GPU
32GB tight
RAM with a 12GB card
32GB (12.5 GB in RAM)
RAM with a 24GB card
16GB (1.7 GB in RAM)
Llama 3.3 70B (Q4_K_M)
Type
dense, 70.6B
Needs in total
~45.6 GB
RAM, no GPU
64GB
RAM with a 12GB card
48GB (34.8 GB in RAM)
RAM with a 24GB card
32GB tight, 48GB safe (24.0 GB in RAM)
gpt-oss-120b (MXFP4)
Type
MoE, 117B, 5.1B active
Needs in total
~62.7 GB
RAM, no GPU
96GB
RAM with a 12GB card
64GB (51.9 GB in RAM)
RAM with a 24GB card
64GB (41.1 GB in RAM)
GLM-4.5-Air (Q4_K_M)
Type
MoE, 106B, ~12B active
Needs in total
~63.5 GB
RAM, no GPU
96GB
RAM with a 12GB card
64GB (52.7 GB in RAM)
RAM with a 24GB card
64GB (41.9 GB in RAM)
Qwen3.8 Flash Next (Q4_K_M)
Type
MoE, ~180B file, 6B active
Needs in total
~102.8 GB
RAM, no GPU
128GB
RAM with a 12GB card
128GB (92.0 GB in RAM)
RAM with a 24GB card
96GB (81.2 GB in RAM)
Type
Needs in total
RAM, no GPU
RAM with a 12GB card
RAM with a 24GB card
Qwen3.5 9B (Q4_K_M)
dense, 9.7B
~6.7 GB
16GB
16GB (fits the card)
16GB (fits the card)
Qwen3 14B (Q4_K_M)
dense, 14.8B
~11.6 GB
32GB
16GB (0.8 GB in RAM)
16GB (fits the card)
gpt-oss-20b (MXFP4)
MoE, 21B, 3.6B active
~14.3 GB
32GB
16GB (3.5 GB in RAM)
16GB (fits the card)
Qwen3.8 27B (Q4_K_M)
dense, 27.8B
~17.5 GB
32GB
16GB tight, 32GB safe (6.7 GB in RAM)
16GB (fits the card)
Qwen3.6 35B-A3B (Q4_K_M)
MoE, 36B, 3B active
~21.4 GB
32GB
32GB (10.6 GB in RAM)
16GB (fits the card)
Qwen3 32B (Q4_K_M)
dense, 32.8B
~23.3 GB
32GB tight
32GB (12.5 GB in RAM)
16GB (1.7 GB in RAM)
Llama 3.3 70B (Q4_K_M)
dense, 70.6B
~45.6 GB
64GB
48GB (34.8 GB in RAM)
32GB tight, 48GB safe (24.0 GB in RAM)
gpt-oss-120b (MXFP4)
MoE, 117B, 5.1B active
~62.7 GB
96GB
64GB (51.9 GB in RAM)
64GB (41.1 GB in RAM)
GLM-4.5-Air (Q4_K_M)
MoE, 106B, ~12B active
~63.5 GB
96GB
64GB (52.7 GB in RAM)
64GB (41.9 GB in RAM)
Qwen3.8 Flash Next (Q4_K_M)
MoE, ~180B file, 6B active
~102.8 GB
128GB
128GB (92.0 GB in RAM)
96GB (81.2 GB in RAM)
Sources: model sizes and shapes from each model's Hugging Face card and config.json, via our llm_models table (read Nov 18, 2026); gpt-oss sizes from OpenAI's own MXFP4 releases (13.76 GB and 65.25 GB). Memory is in GB of 1,024³ bytes. "Tight" means less than about 2 GB to spare. These are our engine's estimates, not measurements. Ollama's default context is 4,096 tokens, per its FAQ, so at its defaults each model needs a little less (Llama 3.3 70B about 41.9 GB instead of 45.6 GB); a long context pushes the other way. Your model, quant or context not listed? The VRAM calculator runs the same math for any combination, and our best local LLM for each VRAM tier picks one model per card size.
The system RAM to plan for beside a 12GB card, and what each kit size cost on Nov 17, 2026. Model memory derived from each model's published config on our VRAM engine, not measured; prices from Tom's Hardware's RAM price index. · aliteq research
So how much RAM should you buy?
For most people getting into local AI, 32GB is the target. It runs every model in the table up to Qwen3.6 35B-A3B on the CPU alone, everything up to Qwen3 32B beside a 12GB card, and leaves room for your OS, browser and a RAG or Docker setup alongside. 16GB is a fine starting point if you're running 8B to 9B models, or if a 12GB to 16GB graphics card holds most of the model; on a desktop you can add more later. Go to 64GB if you specifically want a 70B model with offload or a 120B-class mixture-of-experts model beside your GPU. 96GB to 128GB only makes sense for running those big models with no GPU, or on a unified-memory box where RAM is your GPU memory.
Price is part of the decision this year. On Nov 17, 2026, Tom's Hardware's price index had the cheapest DDR5-6000 kits at $239 for 16GB, $474 for 32GB, $739 for 48GB, $949 for 64GB and $2,049 for 96GB. That makes the step from 32GB to 64GB a $475 decision. Why RAM and SSD prices doubled explains why, and why they are unlikely to fall soon. And remember the golden rule: never size a model to your total RAM. A 14 GB model on a 16GB machine leaves Windows almost nothing, and everything slows down. Our best local AI PC under $1,000 shows how much RAM fits a tight budget, and does your CPU matter for local AI covers the other half of a CPU-offload build.
System RAM tiers for local AI
16GB
RAM
Up to ~9B models on the CPU; up to gpt-oss-20b beside a 12GB card
Runs comfortably
Starter / casual local AI
32GB
RAM
14B to 35B models on the CPU; up to Qwen3 32B beside a 12GB card
Runs comfortably
The sweet spot for most
64GB
RAM
70B or gpt-oss-120b beside a GPU
Runs comfortably
Power users, big MoE offload
128GB
RAM
120B-class MoE with no GPU
Runs comfortably
Enthusiast headroom
RAM
Runs comfortably
Best for
16GB
Up to ~9B models on the CPU; up to gpt-oss-20b beside a 12GB card
Starter / casual local AI
32GB
14B to 35B models on the CPU; up to Qwen3 32B beside a 12GB card
The sweet spot for most
64GB
70B or gpt-oss-120b beside a GPU
Power users, big MoE offload
128GB
120B-class MoE with no GPU
Enthusiast headroom
How much RAM does a laptop need for AI?
32GB, if you can. Most thin laptops solder their RAM to the board, so what you buy is what you keep. Microsoft sets 16 GB of DDR5 or LPDDR5 as the minimum for a Copilot+ PC, alongside an NPU that does 40+ TOPS, so 16GB is the floor for Windows' own AI features, not a target for running models. Without a strong graphics card, a laptop runs the whole model from RAM: 16GB covers 8B to 9B models next to a browser, and 32GB covers the 14B to 35B models in the table above. On a MacBook the RAM is unified memory shared with the GPU, so the same numbers apply to what the GPU can use; see our Mac mini buying guide for how Apple's memory tiers map to models. TrendForce wrote on Nov 11, 2026 that some PC makers are planning 2027 models with lower-specification memory, so read the RAM line on the spec sheet before you buy.
32GB is the practical sweet spot, enough for a 14B to 35B model plus the tools and pipelines around it. · Unsplash
How much RAM do you need when a model exceeds your VRAM?
Enough for the part that doesn't fit, plus what Windows and your apps already use. Ollama and llama.cpp split a model between the GPU and system RAM on their own when it doesn't fit; nothing crashes, it just runs slower. The part that sits in VRAM doesn't need a second copy in RAM, so a 24GB card plus 32GB to 48GB of RAM holds a 4-bit Llama 3.3 70B between them (about 24.0 GB goes to RAM at 16K context). Read the 12GB and 24GB columns in the table above for your model, or check one card at a time in the spill-to-RAM table in our VRAM tiers guide, which uses the same engine.
Which model you spill matters more than how much. A dense model like Llama 3.3 70B reads every weight for every token, so every gigabyte in RAM slows every token. A mixture-of-experts model only uses a few experts per token, so you can park the experts in RAM and keep the rest on the GPU. That's what llama.cpp's `--n-cpu-moe` setting does, and the commands for small cards are in running gpt-oss-20b on an 8GB or 12GB GPU.
How much RAM does a big mixture-of-experts (MoE) model need?
RAM is set by total parameters, speed by active parameters. Every expert has to be stored somewhere, so a MoE model needs as much memory as a dense model of the same total size; it just reads far less of it per token. On our engine at 16K context, gpt-oss-120b (117B total, 5.1B active, per OpenAI's model card) needs about 62.7 GB, and GLM-4.5-Air (106B) about 63.5 GB at Q4_K_M. Beside an 8 to 24GB card, that means 64GB of RAM; 32GB is not enough. With no GPU at all, plan 96GB. The --n-cpu-moe guide has the same 62.7 GB figure and the flag settings, and the gpt-oss-120b hardware requirements page goes card by card.
Yes, once part of the model lives in RAM. Weights in VRAM never touch system RAM, but every offloaded weight is read from it again for each token, so memory bandwidth sets the ceiling. Our arithmetic, theoretical ceilings rather than benchmarks: dual-channel DDR5-6000 moves about 96 GB/s (6,000 MT/s × 8 bytes × 2 channels). Llama 3.3 70B with 24 GiB (about 25.8 GB) of its weights in RAM can't beat roughly 3.7 tokens per second from that part alone. gpt-oss-120b reads only its 5.1B active parameters per token, about 2.9 GB at MXFP4, so even with every expert in RAM its ceiling is about 33 tokens per second. That gap is why MoE models are the best case for RAM offload and dense 70B models the worst. Fill both memory channels, buy the faster kit if the price gap is small, and see how to speed up local LLM inference for the other fixes. It's also why unified-memory machines do well here: their "system RAM" is fast enough to work as AI memory. A smaller quant also shrinks the RAM a model needs; what quantization is explains the trade.
How to check if your model is running from RAM
Ollama tells you. Its FAQ says ollama ps shows 100% CPU when a model is loaded entirely in system memory and a split such as 48%/52% CPU/GPU when part of it was offloaded to RAM because it didn't fit in VRAM. 100% GPU means RAM isn't the limit. Ollama's FAQ also notes that the memory a model needs grows with the number of parallel requests times the context length (OLLAMA_NUM_PARALLEL x OLLAMA_CONTEXT_LENGTH), so a long context window can push a model that used to fit out into RAM. To free memory, unload or delete Ollama models you don't use. On Windows, Task Manager's Performance tab shows how much RAM is in use before you load anything; that number is your real allowance for Windows and apps.
For most people, 32GB of system RAM is the sweet spot. On our VRAM engine it runs 14B to 35B models on the CPU alone and anything up to Qwen3 32B beside a 12GB card, with room for the OS, browser and tools. 16GB is a fine start for 8B to 9B models. 64GB is worth it for a 70B model or gpt-oss-120b beside a graphics card. Never size a model to your total RAM; leave about 8 GB for Windows and your apps.
What are the RAM requirements for AI applications on a desktop?
It depends on the model and on your graphics card. With no GPU, plan 16GB for 8B to 9B models, 32GB for 14B to 35B models, 64GB for a 70B model and 96GB or more for gpt-oss-120b. With a 12GB card, 16GB of RAM covers models up to gpt-oss-20b and 32GB covers up to Qwen3 32B. These are our VRAM engine's figures at 16K context, plus 8 GB for Windows and apps.
How much RAM is recommended for AI tasks on a laptop?
32GB, because most laptops can't be upgraded later. Microsoft's minimum for a Copilot+ PC is 16 GB of DDR5 or LPDDR5, which covers Windows' built-in AI features and 8B to 9B local models, but 32GB covers the 14B to 35B models most people end up wanting. On a MacBook, unified memory works as both RAM and GPU memory, so the same tiers apply.
How much system RAM do I need if the model exceeds my VRAM?
Enough for the part that doesn't fit, plus about 8 GB for Windows and your apps. On our engine at 16K context, Qwen3.6 35B-A3B puts about 10.6 GB in RAM on a 12GB card (buy 32GB), Llama 3.3 70B about 24.0 GB on a 24GB card (32GB tight, 48GB safe), and gpt-oss-120b about 41.1 to 51.9 GB on a 24GB or 12GB card (buy 64GB). It runs, but slower than a model that fits in VRAM.
Why does RAM size matter for AI applications on a desktop?
Because RAM decides what you can run once a model is bigger than your graphics card, or when you have no graphics card at all. Too little RAM and the system swaps to disk, and speed collapses. RAM also holds everything around the model: vector databases for RAG, Docker containers, your browser and IDE. If the GPU holds the whole model, extra RAM doesn't make it faster.
How much RAM does a large mixture-of-experts (MoE) model need?
As much as its total size, because every expert has to be stored somewhere. gpt-oss-120b needs about 62.7 GB on our engine at 16K context, so 64GB of RAM beside an 8 to 24GB card, or 96GB with no GPU. GLM-4.5-Air needs about 63.5 GB at Q4_K_M. MoE models tolerate RAM well because each token reads only the active experts, about 5.1B parameters for gpt-oss-120b.
Is 16GB of RAM enough for local AI?
For 7B to 9B models, yes, as long as you close heavy apps; Qwen3.5 9B needs about 6.7 GB at 16K context. With a 12GB graphics card, 16GB of RAM also handles models up to gpt-oss-20b. For 14B models on the CPU alone it's too tight; buy 32GB.
Is RAM or VRAM more important for local AI?
If you have a strong GPU, VRAM matters most, because it's the fast memory where the model runs. If you don't, system RAM is the deciding factor: it runs the model on the CPU and holds the overflow when a model is bigger than your VRAM. Prioritise VRAM when buying a GPU, and RAM when you run on the CPU or a modest card.
Does more RAM make local AI faster?
More RAM lets you run bigger models without swapping to disk; it doesn't speed up a model that already fits in VRAM. Faster RAM does help once part of a model is offloaded, because every offloaded weight is read from RAM for each token. Dual-channel DDR5-6000 moves about 96 GB/s in theory, which caps a 70B model with 24 GiB in RAM near 3.7 tokens per second, while gpt-oss-120b's small active set allows far more.
Is 64GB of RAM worth it for local AI at today's prices?
Only if you'll run 70B or 120B-class MoE models. On Nov 17, 2026 the cheapest 64GB DDR5-6000 kit was $949 against $474 for 32GB (Tom's Hardware). If you need a 70B model only now and then, renting a 48GB card by the hour can cost less than the $475 upgrade.