Large LLMs; Small Hardware
Serving outrageously large mixture-of-experts models on the smallest hardware possible.
Carmen Lok · December 2026
The problem
The best open models are 170–850 GB, built for $100k+ GPU servers. But an MoE model only uses about 8 of its hundreds of experts per token, so can we keep only the experts that matter in fast memory, put the rest somewhere cheap, and still get fast, accurate answers?
Four case studies
- GLM-5.3-Flash on one DGX Spark · 175 GB on 128 GB · 1.4×
- DeepSeek-V4-Pro on two RTX PRO 6000 Max-Q · 852 GB on 448 GB · 1.9×
- gpt-oss-120b on an RTX 2080 · 63 GB on 20 GB · 3.2×
- Kimi K3 on a MacBook Air planned · 1.56 TB on 32 GB · 49×
How we score
We score each trick by speed and accuracy. A trick is kept only if it raises tok/s without pushing KL past the release limit.
The four levers
1. Where to run what?
- Tiering: keep the busiest experts (~115 of 288 per layer) in GPU memory, the rest in RAM.[1][2]
- Compute where the data lives: the CPU runs RAM-resident experts and returns kilobytes, not megabytes; a balance rule splits work so GPU and CPU finish together.[3][4]
- Direct I/O: 58% of CPU time was a page-cache lock. Bypassing it took DeepSeek-V4-Pro from 1.29 → 3.26 tok/s (llama.cpp #33490).
2. How small to store it?
- Shrink the critical path: 4-bit attention saved 12–13 ms on every step (27.3 → 31.3 tok/s with shared expert & dense layers).
- Not the idle lane: 3.5-bit EXL3 GPU experts cut that lane 40% but the step only 3.8%, because the CPU lane sets the pace.[5]
3. Which experts to compute?
- Skip weak, far picks: low gate weight and on a slow tier.[6] Filling the gap with the expert's average output μi recovers 34% of the loss on GLM, none on Qwen, so it is tested per model.
- Experts in pairs: a co-selection eviction rule (keep experts the next 4 tokens will likely need) cuts bytes 13–16% and GPU waiting 21–22% on 3 of 6 models vs SGLang's design, in trace replay.[8]
4. When to compute it?
- Late experts: compute the 4th–5th picks one layer late on the CPU: +7.6%.
- Speculative decoding[9]: 4 drafted positions share experts (23.3 of 32), so it stays ≈ 8 experts per accepted token.
The correctness gate
Every setting passes a 4-stage gate (repeatability → quick → full 41,943-token KL → behaviour). Tested by fault injection: it caught 17 of 24 deliberate faults with 0 of 8 false alarms. It rejected the fastest setting (44.1 tok/s, KL 0.0996, within noise of the 0.10 limit), so 38.9 tok/s ships.
Results
- 4.5× faster: GLM-5.3-Flash 6.5 → 29.4 tok/s on one $4,000 DGX Spark plus a workstation, with KL 0.036 (better than a two-GPU server's 0.042).
- 1.6T on two RTX PRO 6000 Max-Q: DeepSeek-V4-Pro at 5.2 tok/s lossless, 8.8 with gated shortcuts.
About
Data scientist at Meta in Monetization, running Ads Revenue experiments. Same rule here: a speed-up counts only once a calibrated test shows the answers did not get worse. · Upstream work: llama.cpp #33490, SGLang #46520 and 6 fixes in vLLM, vLLM-Omni, FlashInfer and SGLang (list) · Technical report · GitHub · Hugging Face · Home
References
- Fast Inference of Mixture-of-Experts Language Models with Offloading
- Paged Experts in SGLang (LMSYS blog, 2026)
- Fiddler: CPU-GPU orchestration for MoE models
- KTransformers
- ExLlamaV3 (EXL3 format)
- Lynx: dynamic expert reduction for MoE inference
- HOBBIT: mixed-precision expert offloading
- Patterns behind Chaos (ISCA 2026)
- Fast Inference from Transformers via Speculative Decoding