Graphometer
Measured study · one RTX 5090 desktop · 19 models

Two llama.cpp settings for MoE models bigger than your GPU

On one RTX 5090, loading weights into RAM at start, not from the drive as needed, made long prompts read 2.0 to 3.1 times faster on 12 large models, costing free RAM. Expert-cache setups, most with other changes, wrote short replies 1.4 to 2.9 times faster on 11 of 16 large models; the other 5 had no cache.

In short
  • If your model file is memory-mapped (read from the drive as needed), read its weights into RAM once at start (--load-mode dio). Long prompts read faster, cold starts were shorter, and writing speed stayed within a few percent. The cost is free RAM: one model left as little as 5.1 GiB of 188 GiB free (8.8 GiB in its hand-started run). What to do
  • For faster writing, try an expert cache on the card (--moe-cache-mib). Setups that added it wrote short replies 1.44 to 2.88 times faster on 11 large models, but all of them also used the first setting, most changed other settings too, and the text written changed on 13 of 15 cached setups. Results
  • Size the cache to the card, and use a build that has it. Eleven cache setups ran out of card memory. Both flags are in llama.cpp release b12015. A command to start from

Download this study's data (zip, 1.2 MB)

01

What to do

A mixture-of-experts (MoE) model keeps most of its learned weights in many small parts called experts, and uses a few for each token (a word or part of one). llama.cpp can keep experts in system RAM (--cpu-moe for all, --n-cpu-moe N for N layers' worth, --fit on to decide from free card memory); every model here kept some or all of its experts there. Reading is how fast a prompt goes in, writing how fast the reply comes out, in tokens a second (t/s). GiB and MiB are close to a gigabyte and a megabyte.

  1. Read the weights in once at start (--load-mode dio). By default llama.cpp memory-maps the file: the system pulls pieces from the drive as they are first used into its page cache, spare RAM it can take back. dio (direct I/O) reads them once into pinned memory, RAM locked in place, which counts as used. If the weights are already read into RAM (--no-mmap or --load-mode none), expect only a shorter load.
  2. Setups that added the expert cache wrote faster (--moe-cache-mib N), though most of them changed other settings too (results). The cache sets aside N MiB of card memory for copies of the most-used experts. An expert in the cache (a hit) is computed on the card; a miss is uploaded. Its documentation (docs/moe-cache.md in the pull request 31286 source) says it is used for small batches, such as writing, and that long prompts still upload the experts they use. 18000 is a little under 18 GiB.
  3. On these models the cache was paired with --cpu-moe, usually with --fit off, which turns off the automatic placement. All experts then sit in RAM, and the cache decides which of them also live on the card.
  4. Make the cache as big as fits, with room to spare. Too small could be slower than none (sizing).
  5. Use a build with both flags, such as release b12015.
  6. Compare output only with the same placement: under --fit on, two starts can write different text (output checks).

A command to start from

llama-server -m MODEL.gguf --n-gpu-layers 99 --cpu-moe --fit off \
  --load-mode dio --moe-cache-mib 18000 \
  --ctx-size 262144 --batch-size 4096 --ubatch-size 2048 \
  --threads 8 --threads-batch 8

The cached Qwen3-Coder-Next command as it ran, shortened to the flags that matter here (sampling and chat-template flags left out; the full command lines for every run are in the data package). Before, it kept 28 layers' experts in RAM (--n-cpu-moe 28).

02

What we found: the first setting alone

Sixteen models also ran with dio and nothing else changed: same build, same placement flags, same window. Both sides were started by hand from a cold page cache.

ModelRead, 20K, t/sFirst answer, t/sSecond answer, t/sCold load, sLowest free RAM, GiB
DeepSeek V4.1 Flash273.5 → 559.116.03 → 16.616.73 → 16.8168 → 77161.1 → 47.2
GLM-5.3-Flash633.6 → 1,239.413.05 → 13.013.06 → 13.02213 → 103156.3 → 43.7
DeepSeek V4 Flash 0731535.5 → 1,176.15.57 → 9.8713.34 → 13.31208 → 108159.6 → 20.9
MiMo-V2.6-Flash228.1 → 686.33.66 → 12.2512.08 → 12.26216 → 95162.1 → 26.5
Qwen3.8-Flash-Next439.0 → 1,373.916.92 → 32.1632.41 → 32.4682 → 47160.9 → 99.5
Ornith-1.5-122B941.8 → 2,334.728.24 → 28.229.01 → 28.3192 → 46159.7 → 109.0
Beam 1.0166.7 → 506.61.95 → 8.388.37 → 8.29289 → 135161.7 → 8.8
Muse Spark Open213.9 → 533.44.89 → 6.366.41 → 6.37229 → 111161.5 → 18.1
Ling-3.0-flash596.9 → 1,537.239.26 → 39.0839.77 → 39.47100 → 50161.4 → 92.4
Qwen3-Coder-Next1,325.5 → 3,080.570.0 → 70.8971.31 → 70.9124 → 15162.2 → 136.1
Inkling-Small321.8 → 776.415.88 → 16.0416.14 → 16.08138 → 78161.0 → 55.1
Nemotron 3.5 Bolt1,122.5 → 2,463.155.17 → 56.0656.18 → 56.1471 → 31161.0 → 136.7
Qwen3.6-35B-A3B4,084.0 → 7,196.9130.08 → 129.4131.06 → 130.1248 → 14155.6 → 150.3
Ornith-1.5-35B4,408.5 → 7,070.4137.53 → 133.68138.1 → 133.3543 → 15148.2 → 149.6
Qwen3-235B-A22B598.7 → 603.011.44 → 11.7111.49 → 11.73159 → 6967.5 → 66.8
Qwen3-30B-A3B, 256K4,810.1 → 4,813.629.61 → 29.6929.67 → 29.7149 → 22124.3 → 128.8

Measured 1 and 2 November 2026. Fourteen before commands were memory-mapped; Qwen3-235B-A22B (--no-mmap) and Qwen3-30B-A3B (--load-mode none) were not. Amber: discussed below.

  • Reading: 1.60 to 3.13 times faster on the 14 memory-mapped models, 1.96 to 3.13 on the 12 large ones (all but Qwen3.6-35B-A3B and Ornith-1.5-35B).
  • Cold load: 29 to 63 percent of the time before on all sixteen: Beam 1.0 went from 289 seconds to 135, GLM-5.3-Flash from 213 to 103, Qwen3.6-35B-A3B from 48 to 14.
  • Writing: the second answer moved between minus 3.4 percent (Ornith-1.5-35B) and plus 2.1 percent (Qwen3-235B-A22B).
  • The slow first answer: on five mapped models it was much slower while the file arrived from the drive (Beam 1.0: 1.95 t/s, 57.9 GB read across its test). With dio, four of the five ran at about their second answer's speed; DeepSeek V4 Flash still wrote 9.87 t/s against 13.31, for reasons the logs do not show.
  • Start logs (GLM-5.3-Flash): 123.7 GiB in the page cache before, 117.5 GiB pinned with dio.

No reading gain on Qwen3-235B-A22B, Qwen3-30B-A3B and Qwen3.5-122B-A10B, whose before commands already held the weights in RAM; dio only shortened their load:

Model (before command)Weights held in RAM at start, GiBHeld in the page cache, GiB
Qwen3-235B-A22B93.00.1
Qwen3-30B-A3B, 262,14431.10.1
Qwen3.5-122B-A10B49.40.2
03

What we found: every model, before and after

Each after setup changes several things at once; the “What changed” column lists them. Tokens a second, before → after. “Short” is the second prose answer, “at 20K” the reply after a 20,000-token read. A code word planted in the read came back on every row.

Model, file, windowWhat changedWriting, shortWriting at 20KRead, 20KStart to ready, sCard peak, MiBLowest free RAM, GiB
DeepSeek V4.1 Flash, GSQ-RCO IQ2_XXS, 262,144dio; cache 12,000 MiB; all experts to RAM (was 37 layers’)16.73 → 46.8116.2 → 39.7273.5 → 563.9168 → 109*28,548 → 30,492161.1 → 36.5
GLM-5.3-Flash, UD-Q3_K_XL, 131,072dio; cache 11,000 MiB; all experts to RAM (was 42 layers’)13.06 → 19.9912.95 → 18.48633.6 → 1,225.4213 → 110*28,588 → 30,311156.3 → 30.0
DeepSeek V4 Flash 0731, UD-Q8_K_XL, 262,144dio; cache 10,000 MiB; micro-batch 8192 to 409613.34 → 21.4913.04 → 20.73535.5 → 961.6208 → 112*25,921 → 31,289159.6 → 18.7
MiMo-V2.6-Flash, MXFP4, 131,072dio; cache 17,500 MiB; all experts to RAM (was automatic placement)12.08 → 19.3112.07 → 18.24228.1 → 678.8216 → 124*28,988 → 30,856162.1 → 9.1
Qwen3.8-Flash-Next, UD-Q4_K_XL, 262,144dio; cache 15,000 MiB; all experts to RAM (was 40 layers’)32.41 → 63.9829.68 → 52.77439.0 → 1,021.282 → 74*27,363 → 30,469160.9 → 84.1
Ornith-1.5-122B, Q4_K_M, 262,144dio; cache 18,000 MiB; all experts to RAM (was 38 layers’)29.01 → 45.5728.11 → 43.31941.8 → 2,299.292 → 70*26,976 → 30,982159.7 → 87.9
gpt-oss-120b, F16 file, 131,072dio; cache 19,000 MiB; all experts to RAM (was 24 layers’); older build to b1201534.58 → 85.2432.07 → 65.452,401.4 → 2,671.986 → 64*30,703 → 29,938122.0 → 104.2
Ling-3.0-flash, Q4_K_M, 262,144dio; cache 20,000 MiB; older build to b1201539.77 → 114.3438.48 → 106.08596.9 → 1,874.4100 → 69*9,764 → 29,629161.4 → 89.3
Qwen3.5-397B-A17B, UD-IQ3_XXS, 131,072dio; cache 10,000 MiB; all experts to RAM (was 57 layers’); older build to b1201514.91 → 24.8414.05 → 23.78920.6 → 1,032.5229 → 111*30,202 → 30,49934.4 → 21.1
Qwen3-Coder-Next, UD-Q4_K_XL, 262,144dio; cache 18,000 MiB; all experts to RAM (was 28 layers’)71.31 → 172.6969.33 → 146.391,325.5 → 2,518.724 → 41*30,669 → 29,946162.2 → 115.0
Nemotron 3.5 Bolt 74B-A9B, UD-Q4_K_XL, 262,144 (its long-window setup)dio; cache 17,000 MiB; all experts to RAM (was automatic placement)56.18 → 81.1455.42 → 78.831,122.5 → 2,202.871 → 53*30,645 → 29,854161.0 → 115.3
Beam 1.0 501B-A23B, UD-Q2_K_XL, 131,072dio only8.37 → 8.318.27 → 8.24166.7 → 504.0289 → 191*30,611 → 31,273161.7 → 5.1
Muse Spark Open 816B-A42B, UD-IQ1_S, 131,072dio only6.41 → 6.386.05 → 6.35213.9 → 530.7229 → 131*31,023 → 31,738161.5 → 12.1
Inkling-Small, UD-Q3_K_XL, 262,144dio only16.14 → 16.3215.46 → 15.58321.8 → 791.7138 → 94*17,967 → 17,712161.0 → 51.8
Qwen3-235B-A22B Instruct 2507, UD-Q3_K_XL, 131,072, 6 of 8 experts per tokendio only, in place of --no-mmap11.49 → 11.8111.18 → 11.40598.7 → 604.9159 → 86*31,801 → 30,94467.5 → 65.7
Qwen3.5-122B-A10B, UD-Q4_K_S, 262,144dio only, in place of --no-mmap32.45 → 32.6731.91 → 32.11518.2 → 520.3125 → 72*31,708 → 30,736111.3 → 110.1
Qwen3.6-35B-A3B, UD-Q6_K, 262,144dio; cache 18,000 MiB; all experts to RAM (was 8 layers’); older build to b12015; micro-batch 2048 to 4096; --no-reasoning-preserve added131.06 → 175.30124.53 → 159.684,084.0 → 7,473.448 → 42*30,707 → 29,993155.6 → 128.8
Qwen3-30B-A3B Instruct 2507, Q8_0, 262,144dio; cache 11,500 MiB; all experts to RAM (was 48 layers’); older build to b12015; 8-bit conversation cache instead of 16-bit29.67 → 147.9828.53 → 101.514,810.1 → 5,863.849 → 46*30,279 → 30,251124.3 → 121.0
Qwen3-30B-A3B Instruct 2507, Q8_0, 131,072dio; cache 13,500 MiB; all experts to RAM (was 25 layers’); older build to b12015; micro-batch 2048 to 409650.72 → 171.2647.25 → 129.335,011.2 → 6,272.945 → 47*30,119 → 30,367137.5 → 124.9
Ornith-1.5-35B, Q6_K, 262,144dio; cache 18,000 MiB; all experts to RAM (was 6 layers’); older build to b12015; micro-batch 2048 to 4096138.1 → 173.23128.82 → 154.544,408.5 → 6,968.043 → 48*31,815 → 30,081148.2 → 121.5

Measured 1 and 2 November 2026; single runs. The file name is the quantization (compression level). * Started through the model's start script, which runs checks first (costs). Micro-batch: prompt tokens processed at one time. Qwen3.5-397B-A17B and Qwen3.5-122B-A10B had a draft head (a small part that guesses tokens ahead) on both sides; MiMo-V2.6-Flash, a 14,000-token reasoning budget. Nemotron 3.5 Bolt was measured in its 262,144-token setup; its faster setup that sits wholly on the card was not tested.

Writing. On the eleven large cached models, short writing rose 1.44 times (Nemotron 3.5 Bolt) to 2.88 times (Ling-3.0-flash), and 1.42 to 2.76 times after the read. Not the cache alone: nine of the eleven also moved experts from card to RAM, and three (gpt-oss-120b, Ling-3.0-flash, Qwen3.5-397B-A17B) moved to release b12015. Smaller models:

Smaller model, windowWriting, short, times beforeAlso changed
Ornith-1.5-35B, 262,1441.25experts to RAM, build, micro-batch
Qwen3.6-35B-A3B, 262,1441.34experts to RAM, build, micro-batch, one reasoning flag
Qwen3-30B-A3B, 131,0723.38experts to RAM, build, micro-batch
Qwen3-30B-A3B, 262,1444.99experts to RAM, build, 8-bit conversation cache (sizing)

Reading gained from dio, not the cache: on 8 of the 12 cached models also run with dio alone, the cached setup read slower (Qwen3.8-Flash-Next: 1,373.9 t/s alone, 1,021.2 cached). The five dio-only models wrote within 5 percent of before.

Why five models have no cache

  • Qwen3.5-122B-A10B: 12,000 MiB (b12015, all experts in RAM) wrote prose faster (41.49 t/s against 32.45), code slower (40.54 against 42.79), read about the same (498.2 against 518.2) and needed a newer build. 17,000 MiB ran out of card memory.
  • Qwen3-235B-A22B: 12,000 MiB with an 8-bit conversation cache ran out of card memory (31,801 MiB used before).
  • Muse Spark Open: 7,000 MiB ran only at half the window (65,536 tokens), on b12015 with every expert in RAM: 11.47 t/s short, 8.43 after the read, against 6.37 and 6.29 for hand-started dio at 131,072 (6.38 and 6.35 in the main table). It stayed at the full window, without a cache.
  • Inkling-Small: its separate build has no cache.
  • Beam 1.0: no cached setup was run, and the records do not say why. With dio alone (start-script run) it left 5.1 GiB of RAM free at its lowest and used up to 31,273 MiB of the card; its hand-started run in the first table left 8.8.
04

Sizing the expert cache

Bigger was usually faster (hand-started, second answer, t/s, single runs; Qwen3.6-35B-A3B was flat):

ModelSmaller cacheLarger cache
DeepSeek V4.1 Flash11,000 MiB: 44.9513,000 MiB: 47.88
Nemotron 3.5 Bolt12,000 MiB: 69.3317,000 MiB: 78.84
Qwen3-30B-A3B, 262,144, 8-bit conversation cache10,000 MiB: 130.813,000 MiB: 160.76
Qwen3.6-35B-A3B, 262,14418,000 MiB: 176.3220,000 MiB: 175.51; 20,500 MiB: 176.24

The limit is card memory: eleven cache setups ran out (listed below). Qwen3-Coder-Next, gpt-oss-120b, GLM-5.3-Flash, DeepSeek V4.1 Flash and MiMo-V2.6-Flash: the start scripts use 1,000 MiB less than a size that ran in testing (that size used 31,174 to 31,735 MiB of the card).

Too small can be slower than none, depending on the build. DeepSeek V4 Flash, micro-batch 8192:

SetupHit rate, small batchesWriting, short, t/s
Installed build, dio aloneno cache13.31
Installed build, 4,500 MiB cache33.26% (155,146 of 466,471)17.15
Release b12015, 4,500 MiB cache1.51% (6,538 of 432,434)11.75

The server's own count, for batches of 8 tokens or fewer; larger batches hit 0.11 and 1.65 percent. On b12015, 7,000 MiB at micro-batch 4096 hit 46.07 percent and wrote 20.13 (no dio-only run on b12015).

The cache competes with the conversation cache (what the model has already read, which grows with the window). Qwen3-30B-A3B at 262,144 with a 16-bit conversation cache and a 2,000 MiB expert cache wrote 23.68 t/s, slower than 29.67 before. With 8-bit, 10,000 to 13,000 MiB fitted: 130.8 to 160.76 t/s. Its start script uses 8-bit with 11,500 MiB.

Deeper in a conversation, the gain shrinks. Replies after long reads on the three smaller models, started by hand with the cached command (on Qwen3.6-35B-A3B it lacks --no-reasoning-preserve, which the start script has; on Ornith-1.5-35B the reverse):

ModelWriting after 48Kafter 97Kafter ~226K to 228KRead of that, t/s
Qwen3.6-35B-A3B, 262,144135.8 → 179.3124.5 → 160.2101.6 → 124.32,838.3 → 4,473.1
Qwen3-30B-A3B, 262,14427.5 → 76.625.5 → 55.721.3 → 28.91,588.5 → 1,631.9
Qwen3-30B-A3B, 131,07244.9 → 113.539.8 → 85.1not runnot run
Ornith-1.5-35B, 262,144143.6 → 168.4130.2 → 150.0104.2 → 125.92,930.6 → 4,091.1

Measured 2 November 2026. Three planted code words came back at every depth. Read sizes: 225,974 tokens on Qwen3-30B-A3B, 227,768 on the other two.

Qwen3-30B-A3B's gain falls from 2.8 times after 48,000 tokens to 1.36 times after about 226,000; how much of that is the expert cache and how much the 8-bit conversation cache was not separated.

05

What it costs, and what failed

Free RAM. Memory-mapped weights sit in the page cache, which counts as free; pinned weights count as used. Before, the 12 large memory-mapped models in the first table left 156 to 162 GiB free. After, the lowest free RAM was:

ModelPinned at start, GiBLowest free RAM after, GiB
Beam 1.0153.95.1
MiMo-V2.6-Flash151.19.1
Muse Spark Open142.312.1
DeepSeek V4 Flash 0731139.318.7
Qwen3.5-397B-A17B134.721.1
GLM-5.3-Flash126.930.0
DeepSeek V4.1 Flash125.436.5
Inkling-Small107.551.8
Qwen3-235B-A22B93.165.7
Qwen3.8-Flash-Next73.884.1
Ornith-1.5-122B68.187.9
Ling-3.0-flash69.589.3
gpt-oss-120b58.6104.2
Qwen3.5-122B-A10B49.5110.1
Qwen3-Coder-Next45.1115.0
Nemotron 3.5 Bolt41.5115.3
Qwen3-30B-A3B, 262,14431.2121.0
Ornith-1.5-35B27.2121.5
Qwen3-30B-A3B, 131,07230.2124.9
Qwen3.6-35B-A3B27.5128.8

Pinned at start: shared, pinned memory when the server reported ready (RssShmem). Lowest free: lowest available RAM during the after setup's test and listed checks.

Card memory. Cached setups used 29,629 to 31,289 MiB of a 32 GB card in the runs sampled; most before commands already used 25,900 to 31,800 MiB. Use rose on nine of the 15 and fell on six; most on Ling-3.0-flash (9,764 to 29,629 MiB).

Restarts. Ornith-1.5-35B's mapped command restarted in 4 seconds twice, the file still in the page cache; eight hand starts of its cached variants took 20 or 21 seconds each, because dio reads the file again each time. GLM-5.3-Flash with dio took 84 to 103 seconds every time; no warm mapped restart of a large model was measured.

The start scripts' checks added 20 to 28 seconds against similar hand starts, which is why Qwen3-Coder-Next, Qwen3-30B-A3B at 131,072 and Ornith-1.5-35B load slower after than before:

ModelBy hand, sThrough the start script, s
Nemotron 3.5 Bolt3353
GLM-5.3-Flash87110
Ornith-1.5-122B4770
Ornith-1.5-35B2048

Same build and cache size in each pair; the first three hand starts had verbose logging on, the Ornith-1.5-35B one had --no-reasoning-preserve added.

One stalled start. Beam 1.0 with dio wrote its first 420 tokens in 53.8 to 61.9 seconds (7.62 to 8.38 t/s) in three starts. Once, through its start script, they took 122.5 seconds (3.62 t/s), and the rest of that test ran at normal speed. The logs do not show why.

Setups that did not run (13):

  • Out of card memory at load (10 cache setups): Qwen3-Coder-Next at 21,000 MiB, Qwen3.5-122B-A10B at 17,000 MiB and Qwen3.5-397B-A17B at 12,000 MiB (each on two builds, one the pull request 31286 build); GLM-5.3-Flash at 14,000 MiB (pull request build); Qwen3-235B-A22B at 12,000 MiB; DeepSeek V4 Flash at 11,000 MiB with a 131,072 window; Ornith-1.5-35B at 18,000 MiB plus its draft head.
  • Out of card memory at warm-up (1): Qwen3.8-Flash-Next with 17,000 MiB.
  • A before command (1): gpt-oss-120b with 23 layers' experts in RAM (a request for 1,315.93 MiB was refused); 24 layers loaded, and that is the before row.
  • Crashed at start (1): MiMo-V2.6-Flash on the pull request 31286 build with 14,000 MiB, right after it set up the cache.
06

A development build with pull request 31286 did not pay here

A development build with pull request 31286 (a proposed code change) added --moe-cache-cpu-share auto (this flag is not in release b12015), which lets the CPU compute some cache misses instead of uploading them.

Model, cacheRelease or installed buildPull request build, with CPU sharing
GLM-5.3-Flash, 11,000 MiB19.97 (b12015)19.65
DeepSeek V4.1 Flash, 11,000 MiB44.95 (b12015)37.98
gpt-oss-120b, 20,000 MiB81.11 (b12015)78.53
Ling-3.0-flash, 20,000 MiB110.74 (b12015)110.89
Qwen3.8-Flash-Next, 15,000 MiB61.5 (installed build)62.82
Ornith-1.5-122B, 18,000 MiB43.09 (installed build), 46.01 (b12015)53.23
DeepSeek V4 Flash, 4,500 MiB17.15 (installed build), 11.75 (b12015)19.65
MiMo-V2.6-Flash, 14,000 MiBnot run at this sizecrashed at start

Measured 1 November 2026, hand-started, second prose answer, t/s. Amber: the clear loss and the crash.

On short answers: clearly faster on two (Ornith-1.5-122B, and DeepSeek V4 Flash with a small cache), clearly slower on one, within 3.2 percent on four, crashed on one. On code and the reply after the read it was slower than b12015 on GLM-5.3-Flash, DeepSeek V4.1 Flash, gpt-oss-120b and Ling-3.0-flash (Ling after the read: 91.05 t/s against 103.17) and about the same on Ornith-1.5-122B (code 38.52 against 39.00, after the read 42.83 against 42.62). No model here kept it.

07

Does the output change?

dio alone gave the same output, token for token, on all six models compared. Of 15 cached setups, 2 matched at every position (their probabilities still moved slightly) and 13 differed. Test: four fixed prompts, 48 greedy tokens each (the model always takes its most likely token, so any difference shows), against the before command.

Model and changeGreedy tokens the sameProbability change, average / largest
Beam 1.0, dio192 of 1920.0000 / 0.000
Muse Spark Open, dio192 of 1920.0000 / 0.000
Ornith-1.5-122B, dio145 of 1450.0000 / 0.000
Inkling-Small, dio192 of 1920.0000 / 0.000
Qwen3-235B-A22B, dio192 of 1920.0000 / 0.000
Qwen3.5-122B-A10B, dio156 of 1560.0000 / 0.000
Nemotron 3.5 Bolt, cached150 of 1500.0014 / 0.030
Qwen3.5-397B-A17B, cached, b12015145 of 1450.0042 / 0.037
Qwen3.8-Flash-Next, cached143 of 1450.0039 / 0.087
Qwen3-30B-A3B 131,072, cached, b12015188 of 1920.0032 / 0.062
Ling-3.0-flash, cached, b12015170 of 1920.0028 / 0.106
gpt-oss-120b, cached, b12015168 of 1920.0033 / 0.116
Qwen3-30B-A3B 262,144, cached, 8-bit conversation cache, b12015138 of 1920.0030 / 0.117
DeepSeek V4 Flash, cached135 of 1920.0035 / 0.117
Ornith-1.5-35B, cached, b12015135 of 1920.0043 / 0.068
MiMo-V2.6-Flash, cached113 of 1920.0041 / 0.100
Qwen3.6-35B-A3B, cached, b1201593 of 1510.0023 / 0.048
DeepSeek V4.1 Flash, cached89 of 1920.0067 / 0.134
GLM-5.3-Flash, cached87 of 1920.0055 / 0.076
Qwen3-Coder-Next, cached71 of 1870.0042 / 0.120
Ornith-1.5-122B, cached28 of 1450.0093 / 0.183

“Greedy tokens the same” counts positions where both runs chose the same token, up to the end of the shorter answer, including positions after the two texts first differ. Under 192 means some answers stopped early. Probability change (0 to 1) covers the top five candidates while the texts still agree. Ornith-1.5-122B, Qwen3.5-397B-A17B and Qwen3.5-122B-A10B had a presence penalty of 1.5 (discourages repeated words) on both sides.

Possible causes, not separated: card and CPU round numbers differently, so near ties can flip; 13 of the 15 cached rows also moved experts; b12015 rows changed build. Noise: Ornith-1.5-35B's before command twice gave 192 of 192, Muse Spark Open's only 72 of 192, because --fit on can place the model differently each start.

Right or wrong

Qwen3-30B-A3B, to check the 8-bit conversation cache: 24 tries of a water-jug puzzle and eight short questions five times each, asked near the start and after about 97,000 tokens, 128 per setup, judged by a program.

SetupRight, of 128Answers the program could not read
Before, 262,144, 16-bit conversation cache1060
Cached, 262,144, 8-bit conversation cache1070
Cached, 131,072, 16-bit conversation cache1051

Most misses were shared: one short question failed all five times at both depths in all three setups. The jug puzzle missed 2, 1 and 3 of 24 after 97,000 tokens. The cached setups also changed build and placement. One model, a small set.

Ornith-1.5-35B, reasoning off: 74 of 128 right before, 77 with the cache (hand-started), but 17 and 20 answers the program could not read, too many to tell them apart.

Other checks on the after setups

  • Code words in long reads: 3 of 3 came back on the 14 large models tested on 1 November, at about 2,000 and 48,000 tokens and at 97,000 or 200,000, and on all 16 large after setups at 48,000. (GLM-5.3-Flash, DeepSeek V4.1 Flash and MiMo-V2.6-Flash ran the long test with a cache 1,000 MiB larger than their final one.)
  • Questions and tools: on the 14 long-read runs, 5 of 5 tool round trips (the model calls a tool and uses the result) on all, 5 of 5 short questions on all but Inkling-Small (4 of 5; its answer “does not contain” was right, but the automatic check did not accept it).
  • Prompts at the batch edges: 24 prompts, 19 sized just under, at and over the batch boundaries and 5 of random size; all 24 got a reply with no server error on all 15 cached setups. This shows the server answers, not what it answers.
  • A known crash prompt: the one that once crashed Ling-3.0-flash (batch-size study), rebuilt, plus 40 like it: the planted code word came back, and 40 of 40 got a reply. The rebuilt prompt counted 2,999 tokens on the hand-started run and 3,007 through the start script.
  • Cut-off replies: in a tool turn and a four-turn conversation, Ling-3.0-flash and MiMo-V2.6-Flash hit their token cap while reasoning on the first turn, Ornith-1.5-122B and Qwen3.6-35B-A3B on the second (in the main table's runs; Ling-3.0-flash's hand-started run cut off on both).
08

Limits

  • One machine. How fast experts cross from RAM to the card (the PCIe connection) decides much of the cache's value and was not measured. Another connection, less RAM or another card will move every number.
  • These files. One quantization per model, at the windows shown. Another file changes expert size and what fits.
  • Single runs, one request at a time. One start can differ from the next (Beam 1.0's stall). Nothing here measures two users or batched requests.
  • Mixed changes. Thirteen cached rows also moved experts into RAM, seven rows (six models) changed build, four the micro-batch and one the conversation cache.
  • A quiet desktop, narrow quality checks. No other large program ran in RAM or on the card; on setups that left 5.1 to 21.1 GiB free, what happens when one does was not tested. No broad or human-judged quality comparison was run.
09

How this was measured

  • Machine: the desktop on Two boxes: RTX 5090 (32 GB), 188 GiB RAM, Intel Core Ultra 9 285K; 8 threads on cores 0 to 7; one request, one model at a time.
  • Dates: 1 November 2026 afternoon into early 2 November (16 models); 2 November morning (Qwen3.6-35B-A3B, Qwen3-30B-A3B) and afternoon (Ornith-1.5-35B).
  • Before: each model's usual command on 1 November, started by hand from a cold page cache. After: through a test copy of its start script.
  • Speed test: two prose answers to a 22 to 162 token prompt, capped at 420 tokens; a code rewrite of a 9,000-character Python file, capped at 700; a read of about 20,000 tokens of llama.cpp source; a next turn capped at 300. Temperature 0.15 (0.2 for the read), seed 42; server timings, counting reasoning tokens.
  • Card and RAM: nvidia-smi and Linux MemAvailable, every 2 seconds, over the after test and its checks. Two repeat starts of Beam 1.0 peaked at 31,402 and 31,409 MiB.
  • Builds: release b12015 and installed builds that had the cache (commits 23b0202, 10b8b75, 184f653). Flags read in tools/server/README.md of b12015 and 23b0202. The pull request 31286 build reports build 12057; the cache's documentation is its docs/moe-cache.md.
  • Figures: ratios and percentages come from two measured figures; the data package says which two.
10

Data and sources

Where the page and a file disagree, the file is right; write to us and we will correct the page.

  • data/README.md: every folder, where files disagree, every redaction.
  • data/NUMBERS.md: every figure on this page, with its file and field.
  • data/runs/: result files, command lines and server logs.
  • data/tools/: the probes, and page_table.py, which prints every table figure from the package.
Independent measurements; no affiliation with the llama.cpp project, ggml-org, NVIDIA, Intel, ASUS, Alibaba (Qwen), DeepSeek, Z.ai, Xiaomi, OpenAI, inclusionAI, Thinking Machines Lab, Reflection AI, Meta, Mistral AI, Unsloth, or the makers of Ornith.