← All guides

Run an LLM Locally Without a GPU (2026): RAM Channels Win

Yes, you can run a local LLM with no graphics card at all. The question people actually need answered is how fast, and the usual advice — get more RAM, get more CPU cores — points at the wrong number. CPU inference is limited by memory bandwidth, and memory bandwidth is set by how many memory channels your board has, not by how much RAM you install or how fast it is rated. Get the channel count right and pick a mixture-of-experts model, and an ordinary desktop reaches usable speed.

Bottom Line (September 2026)

  • Yes, it works. llama.cpp, Ollama, and LM Studio all run models on the CPU with no graphics card.
  • Memory bandwidth sets your speed, not CPU cores. The CPU reads the active weights from RAM for every token.
  • Channels set bandwidth, not RAM speed. Eight channels of DDR4-2400 (~154 GB/s) beats two channels of DDR5-6000 (~96 GB/s).
  • A typical desktop is dual-channel and caps near 90–100 GB/s, no matter how much RAM you add.
  • Use a mixture-of-experts model. gpt-oss 20B activates only 3.6B of 20.9B parameters per token, so it runs faster than a dense 7B.
  • Quantize to Q4_K_M. It cuts the bytes read per token, which raises the speed ceiling directly.
  • Realistic speeds: 7B–8B dense at Q4 → 10–15 tok/s on a desktop, 15–25 tok/s on server CPUs. Small models (2B–4B) → 12–15 tok/s.

Ready to buy? See the tested hardware list with current prices.

The One Formula That Answers Everything

Rough ceiling in tokens/sec = memory bandwidth ÷ bytes read per token.

To write one token, the machine reads every active weight out of RAM. That read is the work. Everything else — cores, clock speed, cache — arrives after this ceiling is already set.

Expect 60% to 70% of the ceiling in real use, because attention, the KV cache, and sampling all cost time on top.

This formula is why more cores do not help. A 16-core CPU and a 6-core CPU on the same dual-channel board read from RAM at the same speed. Cores help with prompt processing, which is compute-bound, and that is a different problem covered in why CPU prompt processing is slow.

Channels, Not Capacity, Not Speed

This is the part most guides get wrong. Memory bandwidth scales with channel count.

SetupChannelsApproximate bandwidth
Typical desktop, DDR5-60002~96 GB/s
Typical desktop, DDR5-64002~50–100 GB/s by kit and board
Older server, DDR4-24008~154 GB/s
GPU with HBM1,000–3,000 GB/s

Read the first and third rows together. The eight-channel DDR4 machine from years ago is about 60% faster at this job than a new DDR5-6000 desktop, because it reads from eight lanes instead of two. The DDR5 sticks are faster individually and it does not matter.

That also explains the honest gap to a GPU: 10x to 30x. A CPU is not going to feel like a graphics card. It is going to feel like a usable assistant, which is a different and achievable goal.

The practical consequence for a normal buyer: adding more RAM to a dual-channel desktop does not make your model faster. It lets you load a bigger model, which then runs slower, because bigger models read more bytes per token. Capacity and speed pull against each other on CPU.

The MoE Trick That Changes the Answer

Here is the thing almost no CPU-inference guide says plainly.

A mixture-of-experts model does not read all of its weights for each token. It routes each token to a small subset of experts and reads only those.

gpt-oss 20B has 20.9B total parameters and activates 3.6B per token — about 17% of the model, using top-4 routing across 32 experts. Its checkpoint is 12.8 GiB.

Now put both facts into the formula, on an ordinary dual-channel desktop at ~96 GB/s:

ModelBytes read per token (Q4)CeilingRealistic
Dense 7B~4.4GB~22 tok/s13–15 tok/s
gpt-oss 20B (MoE)~2.2GB active~43 tok/s26–30 tok/s

The 20B model is about twice as fast as the 7B model on the same CPU. It is three times the size on disk and it generates quicker, because it reads less per token.

The check that this is sound: the dense 7B row predicts 13–15 tok/s, and measured desktop results for dense 7B at Q4 land at 10–15 tok/s. The formula agrees with the measurements, so the MoE row is trustworthy for the same reason.

The trade you are making is capacity for speed. gpt-oss 20B needs about 13GB resident — the RAM footprint of a 20B model — while delivering the token rate of a small one. On a CPU box, where RAM is cheap and bandwidth is not, that is the right trade almost every time.

What to Actually Run

ModelQuantSizeSpeed on a desktop CPUUse it for
gpt-oss 20B (MoE)Q4_K_M~13GB~26–30 tok/s (derived)Best overall. Real capability at real speed.
Llama 3.x 8BQ4_K_M~4.7GB10–15 tok/sDense fallback, wide tool support
Phi-4 Mini 3.8BQ4_K_M~2.3GB~12 tok/sLow RAM, quick replies
Gemma 4 E2BQ4_K_M~1.5GB~15 tok/sFastest option, smallest quality
Llama 3.2 3BQ4_K_M~2GB~10 tok/sOld or low-power hardware

Always use Q4_K_M, or Q4_K_S when memory is tight. On CPU, quantization is not only a memory saving — it cuts the bytes read per token, so it raises the speed ceiling in direct proportion.

What to Buy, If You Are Buying

You do not need a graphics card. You do need enough RAM to hold the model you want plus its context.

32GB is the target. It holds gpt-oss 20B at ~13GB with a long context window and leaves your desktop usable. 16GB works if you stay at 8B and below. Start here: Crucial DDR5 32GB kit (2x16) — and note that installing two sticks rather than one is what gives you both channels. A single stick halves your bandwidth and therefore halves your token rate.

64GB only if you plan to run larger MoE models or keep several loaded at once: Crucial DDR5 64GB kit. It will not make any single model faster.

The CPU matters least. A current mid-range chip is fine. If you are building the machine anyway, the AMD Ryzen 9 9950X gives you strong prompt-processing speed — but understand that it is still a dual-channel platform, so your ~96 GB/s ceiling does not move.

One warning before you spend. DRAM prices roughly doubled through the 2026 shortage. Check current listings rather than any price you remember, and buy the kit rather than two separate sticks so the pair is matched.

If you want to break the dual-channel ceiling, you have to leave the desktop platform. That means a used many-channel server, which is a genuinely different build with different tradeoffs — see used EPYC servers for CPU-only MoE inference.

See Also

Need OpenClaw fixed live?

Remote rescue sessions for gateway, auth, tunnel, VPS, and model access problems.

See Rescue Session

Read next

Dual-Socket vs Single-Socket EPYC for LLM Inference: The Second CPU Pays 1.83x on a Dense Model and 1.02x on DeepSeek R1
Does a second CPU socket speed up local LLM inference? A controlled same-machine A/B says yes for dense models and almost not at all for DeepSeek R1. Here are the measured numbers, the NUMA fix that recovers 80%, and a correction to our own earlier page.
Used EPYC Servers for CPU-Only MoE Inference in 2026
Can a used 8-channel EPYC server run a 400GB MoE model on CPU alone? Yes, at 4-6 tokens per second. Here are the measured numbers, the real 2026 cost of used DDR4, and why the cheap-RAM premise is weaker than it looks.
Two Used RTX 3090s or One RTX 5090? 48GB Slow vs 32GB Fast
Dual used RTX 3090s cost $2,000-2,600 for 48GB of VRAM. One RTX 5090 costs $4,300-5,000 for 32GB. The 2026 price spike flipped this comparison: the dual build is now half the price AND holds a 70B. Here is the honest tradeoff, including the 700W problem.
Best Models for the Biggest Mac Studio: 96GB New, 256GB Used
Apple pulled the 512GB M3 Ultra in March 2026 and the 256GB in May, then reversed it on August 25 with the M5 Ultra — 256GB is orderable again at $9,499, and the used M3 Ultra is now the value play. Best models for each tier: gpt-oss 120B (23-60 tok/s), Qwen3-VL 235B Q4 (~30 tok/s), GLM-4.7 358B Q3 (~15 tok/s), Llama 4 Maverick, and why DeepSeek V4 Flash finally runs local.