128 GB DDR4-2400, no GPU: GPT-OSS 120B on CPU at 11 tokens/s

You can run large MoE models without any graphics card at all — if you have plenty of RAM. A build with two Xeon E5-2680v4 CPUs and 128 GB of DDR4-2400 for ~70,000 RUB delivers 11 tokens/s of generation on GPT-OSS 120B — comfortable for reading. We break down what such a CPU server can actually handle, where its bottleneck is, why hyper-threading is nearly useless, and how this path differs from the classic build with a discrete card.

A 70,000 RUB build: two Xeons and 128 GB of RAM

The foundation is a Chinese Kllisre board with two LGA 2011-3 sockets, two Xeon E5-2680v4 (28 cores and 56 threads combined) and eight 16 GB DDR4-2400 ECC REG sticks — 128 GB total. The build cost about 60,000–70,000 RUB, and the main expense is memory: the same kit (a dual-socket board, two CPUs, 128 GB) costs around 70,000 RUB as of fall 2026. The graphics card takes no part in computation: the slot holds a placeholder for remote management, because the Chinese board has no remote-management facilities of its own.

The key architectural point: models load entirely into RAM. NVMe affects only load speed, not generation — the drive here is not part of the compute system, just a warehouse. The abundance of threads is needed not so much for inference itself as for the services around the model.

PP/TG numbers: what the server can handle

The measurements were made in llama.cpp; PP is prompt processing, TG is token generation, both metrics in tokens/s. The synthetic scenario is 512 prompt tokens and 128 expected generation tokens, with results reported as the average of three runs. Results (as of fall 2026):

ModelActive parametersPP, tokens/sTG, tokens/s
GPT-OSS 120B~5 billion83almost 11
Qwen 3.5 122B~10 billion40.5almost 4
GLM 4.5 Air 106B~12 billion33just over 5
Qwen 235B (Q2 quant)—214

GPT-OSS 120B is an open MoE model with ~5 billion active parameters per token; what else this family can do and how to run it is covered in the GPT-OSS open-models review. GLM 4.5 Air is a member of the lineup reviewed in the GLM family guide.

For a realistic 64 GB of RAM there is a class of small MoE models: Qwen 3.5 35B and Qwen 3 Coder 30B with ~3 billion active, and Gemma 4 26B with ~4 billion. With the second socket enabled, PP for the small models almost doubles; a tangible generation gain (over 30%) came only from Qwen Coder — with the same ~3 billion active parameters, its generation is twice that of stock Qwen 3.5 35B: just over 20 versus 9.5 tokens/s. Architecture matters no less than hardware.

For reference: an RTX 3090 with 24 GB delivers about 3400 PP and ~130 tokens/s TG on Qwen 3.5 35B — the CPU build is more than 10 times slower. That is the price of the “either big models or fast ones” trade-off: the CPU server wins on memory volume, the GPU on speed. Which path is yours — the open-model decision tree will tell you.

Qwen 235B in Q2: it launched but does not work

The 235B model fits into 128 GB only in a harsh Q2 quant: in Q4 the size far exceeds all RAM, and Q2 “squeezes” it into memory — 21 tokens/s of prompt processing and 4 of generation. But quality is wrecked by quantization — the model confused facts; using it as an encyclopedia is not advisable. In a live task — Snake in JavaScript — it started at 1 token/s and finished in 16 minutes 18 seconds.

For comparison on the same task: GPT-OSS 120B solved it in 5 minutes 46 seconds (9.9 tokens/s), everything passing on the first attempt, including the restart; Qwen Coder 30B — in 4 minutes 21 seconds (16.7 tokens/s); GLM 4.5 Air — in 15 minutes 17 seconds. The moral: “it fits in memory” and “it works” are different statements; a harsh quant launches the model but does not preserve its quality.

The bottleneck is the RAM bus: ~120 GB/s in practice

Generation speed is limited not by the processor but by memory bandwidth: DDR4-2400 gives ~135 GB/s on paper and about 120 in practice — that is the main bottleneck. Every token requires reading the active weights from RAM, and while the data travels along the bus the cores sit idle. A stronger CPU will mostly raise prompt processing; token generation will stay at the same level — this is a limit of the hardware itself, not the software.

NUMA is enabled in the BIOS (it is off by default): each processor is responsible for its own memory channels, access to “foreign” memory is slower — data between sockets travels over a separate bus. It is best to run the model on a single socket if RAM suffices, and to spread multiple models across different sockets. A starter launch template (schematic; substitute your own file name and thread count):

llama-server -m gpt-oss-120b-q4.gguf --threads 28 --numa distribute

The thread count in the template is the physical cores of one socket: hyper-threading barely helps generation, details below. Another surprise awaits in monitoring: when an 80 GB model loads, top shows only 13–15 GB occupied — the rest sits in buffers and is effectively reserved; that is normal.

How much memory should you reserve for a model? Estimate the maximum with the formula (RAM − 25%) / 0.6: first a quarter of the nominal RAM is subtracted as a system reserve, then the remainder is divided by 0.6 GB per billion parameters. 32 GB yields 24 GB available and a model of up to 40 billion parameters. Do not fill all RAM with the model — speed drops as chat context accumulates, so headroom for context is mandatory.

llama.cpp directly, and why all this matters

The author ran the models through llama.cpp directly (cloning the repository and building from source on a clean Ubuntu Server), not through Ollama: the wrapper hides settings that matter for testing, and is itself a layer on top of llama.cpp. For measurements this is essential — with the wrapper you cannot see how many threads and which NUMA scheme are in effect at the moment.

Why a CPU server at all, if it is several times slower than a GPU? The scenarios: privacy — data never leaves your home or office (which tasks to keep local is covered in the piece on local models for sensitive data); home infrastructure without internet and encrypted tunnels; bulk automation — processing one database through a cheap API cost the author about 100 dollars, and it is exactly such tasks that local inference makes free. Small MoE models with ~3 billion active parameters fit even in 64 GB of RAM — the entry into this class is noticeably cheaper.

The rule for choosing between a CPU build and a GPU reads “either big models or fast ones”: the same 60,000–70,000 RUB budget goes to a 16 GB card (20,000–30,000 RUB) plus a cheap CPU kit and a motherboard — but then the huge models on 128 GB of memory can no longer be run.

Frequently asked questions

Should hyper-threading be enabled? It is nearly useless: PP rises slightly (about 90 versus 83 for GPT-OSS), generation stays the same or dips; for Qwen Coder 30B generation got worse with it. Start with the physical core count.

Is 64 GB of RAM enough? For MoE models up to ~30 billion parameters with ~3 billion active — yes; GPT-OSS 120B also needs headroom for context.

Why is generation so slow? Every token requires reading the active weights from RAM; at an effective ~120 GB/s the ceiling is set by memory, not by core count.

Is it worth assembling 235B in Q2? It technically runs (21 tokens/s prompt, 4 generation), but quality is wrecked by quantization, and speed on live tasks drops to hours of waiting. The author “sees almost no point in it” unless you are ready to wait.

MoE architectures made CPU inference meaningful: almost 11 tokens/s of generation on decade-old hardware for ~70,000 RUB is a workable option for privacy and home automation, but not for speed. Figures are as of fall 2026. Action: use the formula (RAM − 25%) / 0.6 to estimate which model fits your memory, build llama.cpp from source, and take your own PP/TG measurements before buying components. For starting with a discrete graphics card, read the piece on the RTX 3060 12 GB.

Like this post? Please share to your friends:
11AI - Your Free LLM
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: