Giant AI models on machines too small for them

Running 320B–1.6T-parameter mixture-of-experts (MoE) models on hardware 1.4–49× too small, without losing accuracy.

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?

Word 1
computed on the GPUcomputed by the CPU, where it sitsread from SSD, then computedweak pick, skipped
Figure: Each square is one expert. For every word the router picks 8; the animation shows where each pick lives and what happens to it. Busy experts sit on the GPU, the rest are computed in place by the CPU next to them, and a weak pick stuck on the SSD is skipped.

Four case studies

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.

1 · Speed
tok/s ≈ memory bandwidthbytes read per token
Decode is memory-bound. Higher is better.
2 · Accuracy (KL)
KL = Σwords Poriginal model × log(Poriginal modelPours)
Gap from the original model. 0 = identical.

The four levers

1. Where to run what?

2. How small to store it?

Tstep = Tattention + max(TGPU experts, TCPU experts)

3. Which experts to compute?

y ≈ Σkept gi · Ei(x) + Σskipped gi · μi

4. When to compute it?

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

Decode speed for one user, tokens per second
GLM-5.3-Flash (320B)1 DGX Spark + a workstation CPU
Stock
27.5 · KL 0.239
All experts
29.4 · KL 0.036
Fewer experts
44.1 · KL 0.0996
DeepSeek-V4-Pro (1.6T)2 RTX PRO 6000 GPUs + 256 GB RAM + SSDs
Stock
1.1 · reference
All experts
5.2 · KL 0
Fewer experts
8.8 · KL 0.023
Qwen3-30B-A3BRTX 2080 (8 GB) + 12 GB of RAM
Stock
30.6 · KL 0.035
All experts
36.7 · KL 0.035
Fewer experts
70.6 · KL 0.147
gpt-oss-120bsame RTX 2080 machine
Stock
1.78 · reference
All experts
no faster setting
Fewer experts
3.73 · KL 0.947*
Figure: The same tricks on four model and machine pairs. Bars are scaled within each model. "All experts" computes every pick (nothing skipped); "Fewer experts" uses the gated shortcuts. KL is the quality drift from each model's reference (lower is better). *gpt-oss KL is measured against its own stock output and inflated on raw text.

Upstream PRs

About me

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. · Technical report · GitHub · Hugging Face · Home

References

  1. Fast Inference of Mixture-of-Experts Language Models with Offloading
  2. Paged Experts in SGLang (LMSYS blog, 2026)
  3. Fiddler: CPU-GPU orchestration for MoE models
  4. KTransformers
  5. ExLlamaV3 (EXL3 format)
  6. Lynx: dynamic expert reduction for MoE inference
  7. HOBBIT: mixed-precision expert offloading
  8. Patterns behind Chaos (ISCA 2026)
  9. Fast Inference from Transformers via Speculative Decoding