Paged Experts Runs a 167 GB Model on a 16 GB Card

A 167 GB model ran on a 16 GB graphics card this week. Not a distilled copy, not a 4-bit slice of a smaller model: DeepSeek-V4-Flash-0731 at its full 167 GB, decoding at 13.0 tok/s on an RTX 5070 Ti with 62 GB of system RAM and an NVMe drive. LMSYS published the numbers on 2 December, and the method is called Paged Experts.

The figure that decides whether this is useful to you is not 13.0. It is 62 GB of RAM, and the 8.88 s it took to read a prompt of about 1,470 tokens before the first output token. On the same card, a 17 GB model with its experts in RAM decodes at 241.5 tok/s, and the 167 GB model with its experts on RAM and NVMe decodes at 13.0 tok/s. Those are different models, different quants and different tiers, so the gap between them is not paging's price alone. The point is not that it is fast. The point is that it runs at all, on hardware a reader can own.

What Paged Experts does

MoE models route each token to a few experts out of many. Qwen3-Next-80B-A3B has 512 experts per layer and uses 10 of them per token. The experts are most of the weights, and the old choices were to keep them all in VRAM, stream every offloaded weight on every token, or compute some of them on the CPU.

Paged Experts takes a fourth road. Each layer keeps K experts in slots on the GPU and all E experts in pinned host RAM. Before the layer runs, a small kernel checks the routed experts against the slots. A resident expert stays where it is. A missing one is copied over PCIe into the least recently used slot. Then the layer's own fused MoE kernel runs as if the layer had only K experts. The copying happens inside the decode step's CUDA graph, so the CPU never launches it one expert at a time.

The idea is virtual memory, and the authors say so. An expert is a fixed-size block that a token reads whole or not at all, which makes it a page. A miss is a page fault. The difference is that the GPU handles its own faults, and the expert is always computed on the GPU.

It ships in SGLang main behind one flag, --enable-paged-experts.

The measurements, on two machines

The test desktop is an RTX 5070 Ti 16 GB on PCIe 5.0 x16, a Ryzen 7 9800X3D, 62 GB of DDR5-6000 and a PCIe 5.0 NVMe drive, on Ubuntu 26.04 with driver 595.91.07 and CUDA 13.2. The laptop is a Dell XPS 16 with an 8 GB RTX 4070 Laptop at a 60 W limit, on PCIe 4.0 x8, 54 GB of RAM visible to WSL2 on Windows 11. Decode is one request at a time after warm-up, and K is chosen automatically. Where the source reports two runs for a row, both agreed and the table shows that value.

Model (size) Card Experts on the GPU Host RAM for experts Decode, one request First token, about 1,470 tokens
Qwen3-30B-A3B GPTQ-Int4 (17 GB) 16 GB desktop 91 of 128 13.9 GiB 241.5 tok/s 259 ms
gpt-oss-20b MXFP4 (14 GB) 16 GB desktop 28 of 32 10.3 GiB 173.5 tok/s 200 ms
Qwen3-Next-80B-A3B NVFP4 (48 GB) 16 GB desktop 99 of 512 40.5 GiB 116.2 tok/s 687 ms
Qwen3-30B-A3B FP8 (31 GB) 16 GB desktop 44 of 128 27.0 GiB 113.0 tok/s 398 ms
DeepSeek-V4-Flash-0731 (167 GB) 16 GB desktop 8 of 256 45 GiB plus NVMe 13.0 tok/s 8.88 s
Qwen3.8-Flash-Next-FP8 (186 GB) 16 GB desktop 10 of 512 36 GiB plus NVMe 14.9 tok/s 7.40 s
Qwen3-Next-80B-A3B NVFP4 (48 GB) 8 GB laptop 17 of 512 18 GiB plus NVMe 16.2 tok/s 4.56 s

Those are the authors' figures, measured on their machines. They are not my runs, and my calculators do not model this engine.

The 167 GB result, read properly

DeepSeek-V4-Flash keeps 8 of its 256 experts per layer on the card. The rest sit in 45 GiB of host RAM and on the NVMe drive. With one request at a 4,096-token context, it decoded at 13.0 tok/s in two runs. The first token took 8.88 s on a prompt of about 1,470 tokens.

That is a batch job, not a conversation; the tokens per second page explains what those speeds feel like in use. The Qwen3.8-Flash-Next row is the same shape at 186 GB: 14.9 tok/s, 7.40 s to first token, with the experts and a 51 GB embedding table on the drive.

The row that matters for most readers is the 80B at 116.2 tok/s. A 48 GB model on a 16 GB card, at a speed that feels like a small local model, with 40.5 GiB of system RAM held aside for the experts. That is the case where the trade pays.

Why it works, in three numbers

At K = 91 of 128 experts, only 0.8% of routed experts were missing when the layer needed them. Uniform routing would miss 28.9% at that K. The measured concentration factor is 36x, because consecutive tokens return to the same experts. On the 80B the miss rate is 12.4% against 80.7% uniform.

The second number is the link. VRAM on the test card reads at 843 GB/s; PCIe 5.0 reads at 52.8 GB/s, 16x slower. A weight that every token reads would cross that link on every token, which is why copying a dense model's weights cannot work. An expert that a token does not read costs nothing. Paging moves only the misses.

The third number is the copy cost. On Qwen3-30B GPTQ at K = 91, the token copies 3.06 experts, 7.4 MB, a 0.195 ms copy in a 4.376 ms step. On the FP8 version at K = 44, the miss rate rises to 9.9%, the copy becomes 179 MB and 3.525 ms of a 9.824 ms step. That is why the higher-precision quant is not free on the same card: its experts are twice the bytes, so the same KV cache leaves 44 slots instead of 91, the miss rate climbs from 0.8% to 9.9%, the copies jump from 0.195 ms to 3.525 ms of the step, and decode falls from 241.5 to 113.0 tok/s.

The 8 GB laptop is the surprising row

An 8 GB RTX 4070 Laptop, with 54 GB of RAM visible to WSL2, ran the 48 GB Qwen3-Next-80B at 16.2 tok/s. It kept 17 of 512 experts on the GPU and 18 GiB in host RAM plus the NVMe tier. First token was 1.35 s on a short prompt and 4.56 s at about 1,470 tokens.

Read that against the usual advice. Most advice treats an 8 GB card as a small dense model box. Here it ran an 80B MoE, slowly, with the disk helping. The blog flags the row as a slower-link data point: PCIe 4.0 x8 through WSL2, with the 8 GB card holding 17 experts instead of 99. Several things are slower at once; the link is only the named one.

What it changes for a sizing question

My Strata calculator and Project Maya calculator answer a placement question: how much of the model fits in VRAM, what spills to RAM, and what the engine's own planner will do. Paged Experts answers a different question, and one my pages do not cover: how much host RAM and SSD does the engine need, and what decode speed comes back.

Two things follow.

First, a "does it fit" verdict on VRAM alone is now incomplete for this engine. The 167 GB model does not fit any consumer card. It runs because 45 GiB of RAM and an NVMe drive are part of the machine. The DeepSeek-V4-Flash sizing page still describes the weight files correctly, but a reader who owns a 16 GB card and 64 GB of RAM has a path it does not mention.

Second, the context trade is explicit. On Qwen3-30B GPTQ, a 10,240-token KV cache leaves 91 of 128 experts resident at 241.5 tok/s. The model's full 40,960-token context leaves 62 experts at 218.3 tok/s. Four requests of 16,384 tokens leave 44 at 183.1 tok/s. You choose between context, concurrency and resident experts, and the log names the K it picked.

What it does not do

The launch runs one GPU. There is no speculative decoding and no tensor or expert parallelism yet. The disk tier needs an x86-64 host and safetensors checkpoints with one tensor per expert.

The tables are one request at a time. The authors say a batch is a different regime, and a result from one rarely transfers to the other.

Short prompts are the weak spot. A prefill routes to nearly every expert, so paging copies every non-resident expert once per prefill chunk. CPU offload computes its experts where they are, and the authors say CPU offload has the edge there. On the 167 GB row the first token took 8.88 s; that is the prefill cost, not the decode cost.

Quality is unchanged in the narrow sense. Paged layers are bit-identical to unpaged ones for bf16, FP8 and INT8 experts with --enable-deterministic-inference. Marlin's MoE kernel is not reproducible run to run on SM90 and newer, paged or not, so the authors checked every slot against the host store after every step (0 mismatches in 83,850 checks) and ran GSM8K. Scores were 0.938 for Qwen3-30B GPTQ, 0.951 for its FP8 version, 0.954 for Qwen3-Next and 0.950 for gpt-oss-20b on all 1,319 questions. DeepSeek-V4-Flash read 0.98 and Qwen3.8 read 0.965 on 200 questions.

What to run today

If you own a 16 GB card and 64 GB of RAM, the useful rows are the 30B at 241.5 tok/s, gpt-oss-20b at 173.5, the 80B at 116.2 and the 31 GB FP8 at 113.0. All four keep their experts in host RAM, and none needs the drive.

The 167 GB model is a different budget. DeepSeek-V4-Flash holds 137 GiB of experts on disk, the routed-expert share of the 167 GB checkpoint, launched with --paged-experts-host-memory-gb 45, one request and a 4,096-token context. Expect 13.0 tok/s and an 8.88 s first token, so plan it as a batch job.

If your machine is a laptop with 8 GB of VRAM and 64 GB of RAM, the 80B at 16.2 tok/s is the number to check against. Treat it as that laptop's number, not the card's; the link, the smaller K and WSL2's virtual disk all share the gap.

The engine is SGLang, not Strata. The premise, experts in RAM and on disk, is the same one Strata's engine and Project Maya are built on. What changed on 2 December is that a lab local AI readers already trust put the premise on the record with a table, and the table is good enough to plan a machine around.

FAQ

Can a 16 GB GPU run a 167 GB model?

Yes, with 62 GB of system RAM and an NVMe drive. LMSYS ran DeepSeek-V4-Flash-0731 at 167 GB on an RTX 5070 Ti 16 GB at 13.0 tok/s, with 8 of 256 experts per layer on the card, 45 GiB of experts in host RAM and the rest on the drive.

How much RAM does Paged Experts need?

It keeps one copy of every expert in pinned host RAM, or on NVMe when RAM runs out. The measured host stores are 13.9 GiB for Qwen3-30B GPTQ, 10.3 GiB for gpt-oss-20b, 27.0 GiB for Qwen3-30B FP8, 40.5 GiB for Qwen3-Next-80B and 45 GiB plus the drive for DeepSeek-V4-Flash.

Is it faster than Strata or Project Maya?

I did not test that, and the two engines publish different numbers on different machines. Paged Experts has no speculative decoding and no multi-GPU path yet. Strata and Maya both ship speculative decoding and a multi-GPU path today, which is why their numbers and these are not comparable row for row. Compare single-stream decode at the same model, quant and context before drawing a conclusion.

Does it work on an 8 GB laptop?

Yes. An 8 GB RTX 4070 Laptop with 54 GB of RAM visible to WSL2 ran the 48 GB Qwen3-Next-80B-A3B at 16.2 tok/s, with 17 of 512 experts on the GPU and 18 GiB plus the NVMe tier in use.

What happens to context length?

Every token of KV cache takes VRAM that could hold experts. On Qwen3-30B GPTQ, a 10,240-token cache leaves 91 of 128 experts at 241.5 tok/s; the full 40,960-token context leaves 62 at 218.3 tok/s; four requests of 16,384 tokens leave 44 at 183.1 tok/s.

Does moving experts change the output?

Not in the tests the authors published. Paged layers are bit-identical to unpaged ones for bf16, FP8 and INT8 experts with --enable-deterministic-inference. For the Marlin formats they compared bytes after every step, 0 mismatches in 83,850 checks, and the GSM8K scores match the unpaged model within the stated error.