You don't need a server to run some of the biggest open AI models at home. Current AMD Ryzen 9000 desktop processors officially support up to 256GB of DDR5, and with four 64GB modules and a graphics card, an ordinary AM5 desktop can hold a mixture-of-experts (MoE) model such as Qwen3 235B in memory and split the work between the GPU and the CPU with llama.cpp.
It's based on AMD's specifications, the llama.cpp documentation, Ollama's model library and the official model cards, all read on 2 December 2026. If you want the background first, see how much RAM you need for local AI.
Why 256GB on a desktop?
A graphics card's VRAM is the fastest place to keep a model, but even a 32GB card can't hold a 140GB model. System RAM is much slower, yet it's cheap enough per gigabyte to hold the whole thing. MoE models make that trade-off workable because only a small part of the model is used for each token: Qwen's model card describes Qwen3-235B-A22B as having 235B parameters in total and 22B activated, and OpenAI's card lists gpt-oss-120b at 117B parameters with 5.1B active. Our MoE vs dense explainer goes into more detail.
The catch is memory bandwidth. A desktop has two memory channels, so the RAM half of the work is limited by how fast those two channels run, and that's where the number of modules matters.
Step 1: Check what your processor officially supports
AMD's specification pages for the Ryzen 9 9950X and Ryzen 7 9700X list:
Memory channels: 2
Maximum memory: 256GB
Memory subtype: UDIMM
Maximum memory speed: DDR5-5600 with two modules (single- or dual-rank), DDR5-3600 with four modules (single- or dual-rank)
ECC: supported, but it requires motherboard support
So 256GB means four 64GB unbuffered desktop modules, one in every slot, and AMD's official speed for four modules is DDR5-3600. On our own theoretical calculation (2 channels x 8 bytes x transfer rate), that's about 57.6GB/s of peak bandwidth at DDR5-3600, against about 89.6GB/s for two modules at DDR5-5600. Real-world bandwidth is always lower than the theoretical peak. See how memory bandwidth affects local LLM speed.
If you use an Intel desktop processor, check the maximum memory and four-module speeds on Intel's specification page for your exact chip, and in every case check your motherboard's maximum memory and memory support list before buying.
Step 2: Choose the RAM
Look for 64GB DDR5 UDIMMs. Crucial, for example, sells the Crucial Pro 64GB DDR5-5600 UDIMM (CP64G56C46U5) as a single module. You can buy four individual modules or two 2x64GB (128GB) kits. Our advice is to buy all four modules at the same time, ideally as one matched set of the same model, rather than mixing different kits, and to check the exact part numbers against your motherboard's memory support list.
AMD lists EXPO overclocking support for Ryzen 9000, but speeds above AMD's official DDR5-3600 four-module figure count as memory overclocking and aren't guaranteed. If the PC is unstable after enabling a profile, drop back to the default speed; our guide to fixing crashes after enabling XMP or EXPO covers this. The first boot after fitting new memory can take a while as the board trains it; see how to fix a slow first boot with DDR5 memory training.
Step 3: Pick a model that fits
Ollama's library lists these download sizes for its default 4-bit (Q4_K_M) builds:
Model | Ollama tag | Download size | Fits in 256GB RAM plus a GPU? |
|---|
gpt-oss 120B | gpt-oss:120b | 65GB | Yes, with lots of room |
Llama 4 Scout | llama4:scout | 67GB | Yes |
Qwen3-Next 80B-A3B | qwen3-next:80b | 50GB | Yes |
Qwen3 235B-A22B | qwen3:235b | 142GB | Yes |
Qwen3-VL 235B | qwen3-vl:235b | 143GB | Yes |
Llama 4 Maverick | llama4:maverick | 245GB | Very tight; not realistic once Windows and the context cache need memory |
Qwen3-Coder 480B | qwen3-coder:480b | 290GB | No |
DeepSeek V3.1 | deepseek-v3.1 | 404GB | No |
The 8-bit build of Qwen3 235B is listed at 250GB, which is too close to 256GB to be practical. As our own rule of thumb, leave at least 10-20% of RAM free for the operating system, the context (KV) cache and other apps; longer context needs more, as explained in our context length and VRAM guide.
Storage matters too: a 142GB model is a big download and loads from your SSD every time. See best SSDs for local AI models.
Step 4: Split the model between GPU and CPU with llama.cpp
The llama.cpp server documentation includes two options made for MoE models on machines with limited VRAM:
Combined with -ngl / --n-gpu-layers (which llama.cpp describes as the maximum number of layers to store in VRAM, set to a number, auto or all), the usual approach is to put the shared, always-used parts of the model on the graphics card and leave the large expert weights in RAM. A starting command looks like this:
llama-server -m Qwen3-235B-A22B-Q4_K_M.gguf -ngl all --cpu-moe -c 16384
If you have VRAM to spare, swap --cpu-moe for --n-cpu-moe with a number and lower it step by step to move more expert layers onto the GPU, watching VRAM use as you go. You can also set -t / --threads (CPU threads used during generation); we'd start with the number of physical cores and experiment from there. Our step-by-step guides to running MoE models on low VRAM with llama.cpp and running llama.cpp on Windows cover installation.
If you prefer something simpler, Ollama can download all of the models in the table above straight from its library, but llama.cpp gives you the most direct control over what goes where. See llama.cpp vs LM Studio.
Step 5: Set realistic expectations
A desktop running a 235B-parameter model from dual-channel RAM will be noticeably slower than the same model on a machine with far more memory bandwidth, and slower than a smaller model that fits completely in VRAM. It's a way to run models you otherwise couldn't, not a way to make them fast. If speed matters more than model size, consider 128GB at full speed (see our 128GB vs 256GB comparison), or a many-channel platform as covered in how to run big local LLMs on a CPU-only workstation. For which models to try first, see our best local LLMs for 256GB of RAM.