NetSphere

Explainer · 11 November 2026

A 744B model on one or two GPUs: where the bytes live, and what each trick buys.

GLM-5.3 is a 744B mixture-of-experts model: a 337 GB file at the quant we run. Two RTX PRO 6000s hold 192 GB between them. It runs on them anyway, and on one. Seven short clips on how: what sits on the cards and what stays in system RAM, what one token reads, three levers on decode, why reading a prompt is a different problem, and a routing setting that buys speed and that we leave off.

Plates 081–0871–2× RTX PRO 6000, 96 GB each754 GB of RAM
The fitOne tokenDecodePromptsThe route bias
Plate 081The whole story in 42 seconds: the fit, one token, decode, three levers, a prompt, prefill. Recorded 5 November.
Bottom line

Read the dates. The clips were recorded as the work went, and each prints its date and the engine commit it was measured on. Clips 081 to 086 (5 and 6 November) ran with the routing setting of clip 087 switched on: their hit rates of 84% and 89%, and every decode speed from 53.8 tokens a second up, include it. The numbers with it off are in section 6 (11 November).

1The fit: what goes where

Plate 082Two kinds of weight, the VRAM left over, and how fast each place is read.

13 GB of the model is read in full for every token: attention, the shared expert, the dense layers and the output head. Another 318 GB is 19,200 experts, 256 in each of 75 layers, and a token uses 8 per layer. That is 3% of them. So the 13 GB lives on the cards and the experts live in system RAM. The VRAM left over, 134 GB, holds second copies of the experts picked most often: 42% of them, and they catch 89% of the picks.

Where a byte is readSpeedHow it was measured
On the cardabout 1,540 GB/skernel trace of the always-read weights
System RAM, read by the CPUabout 300 GB/s64-thread read test
RAM to a card over PCIe 5.0 x1657 GB/s per cardhost-to-card copy test, each card alone

The 89% includes the routing setting of section 6. With routing untouched, a cache of 37% of the experts caught 70% of the picks. The 13 GB is after the always-read weights were re-rounded from Q8 to Q5_K; as downloaded they are 19.5 GB. Perplexity was 2.653 before and 2.657 after, inside the error bar. The cards also hold the context and the working buffers, which the clip does not draw.

2One token: what it reads

Plate 083The picks, hit or miss, and where the time goes.

Every token reads all 13.3 GB of the always-read weights. Then, in each of 75 layers, the router picks 8 experts out of 256: 600 experts, 9.9 GB. The other 308 GB of experts are not touched, and the picks change with every token. About 7 of every 8 picks already have a copy on a card and run there. The rest are computed by the CPU straight from system RAM, and about 1 in 10 of those is also copied to a card, so it is a hit next time.

One token, 29 msTimeWhat is happening
Always-read weights8.2 msthe cards read all 13.3 GB
Cached experts7.2 msthe cards read the hits
Attention and small kernels7.5 msattention over the context, routing
Waiting on the CPU6.6 msthe CPU computes the misses from RAM

The 29 ms is one traced configuration: 34 tokens a second, 84% hits, no draft head, a cache of 37% of the experts. We tried the other way too. Uploading every miss to a card: 19.4 tokens a second. Letting the CPU compute 95% of them: 29.9. Same engine, same cache, an earlier build with the weights as downloaded.

3Decode: three levers

Plate 084Fewer bytes, more hits, three tokens a pass. Each pair is one engine build with the lever off, then on.
LeverDecode, tok/sGainWhat changes
Fewer bytes31.6 → 35.9+14%always-read weights at Q5_K instead of Q8: 19.5 → 13.3 GB a token
More hits31.1 → 35.1+13%the routing setting of section 6: hits 70 → 84%
Three tokens a pass39.9 → 51.1+28%a draft head proposes two more tokens and one pass checks all three; 59% of the drafts are kept

A pass for three tokens costs 1.5 times a pass for one, because the always-read weights are read once however many tokens ride in it. One rule sits under all three levers: read fewer bytes, and read them from a faster place.

Decode, two cards, one streamtok/s
A fixed split: 30 layers of experts on the cards, 45 on the CPU21.6
Hot experts cached on the cards, the CPU computes the misses32.3
Lighter always-read weights36.9
Three tokens a pass and cache-aware routing53.8
Async handoff, pinned copies, a least-frequently-used cache62.2

Tokens a second are the median of the story-prompt runs in each cell, one stream, 5 November. The three pairs come from three different builds, so the gains do not simply multiply. The routing pair and the draft pair have two runs per arm; the 62.2 has three. With routing left untouched the best we had measured by then was 54 tokens a second (the median of its runs; the overview clip prints their mean, 53.5).

4A prompt on two cards: every expert, every chunk

Plate 085Every expert, the toll, and hiding the upload under the math. Recorded 6 November.

Reading a prompt is a different problem from writing a reply. A reply picks 8 experts in each layer. A prompt goes through in chunks of about 7,400 tokens: 59,392 picks a layer, and they reach nearly every expert. The cards hold copies of 40% of the experts. The rest is sent to them over PCIe, about 190 GB, again for every chunk. A 21,500-token prompt is three chunks: about 570 GB, 1.7 times the whole model.

So prefill is two jobs, sending and computing, and most of the gain came from making them overlap. The copy engine sends the experts of the next layer while the card computes this one, and the second card works one chunk behind the first.

Prefill, two cards, a prompt 25 to 29 thousand tokens deeptok/s
Experts in pageable RAM: upload, then math451
Experts in pinned RAM640
Both cards as a pipeline1,052
Uploads beside the math, on the copy engine1,484
Faster attention, indexer and expert kernels2,027
A new prompt graph that cuts the prompt into even chunks2,141

The rate is over the new tokens of a prompt that already has 3,600 tokens cached: 21,518 tokens in 10.05 s. Each prompt length is measured once per run. Short prompts are slower: a 3,600-token prompt is one chunk, so there is nothing to pipeline, and it runs at 1,268 tokens a second. A prompt 50,000 tokens deep runs at 2,125. The 190 GB and the 570 GB are arithmetic, the experts the cards do not hold times three chunks, not a byte counter. The overview clip says about 180 GB a chunk: the same arithmetic for the configuration of 5 November, which held copies of 42% of the experts. This configuration writes at 61 tokens a second. A third card reads the same prompt at 2,257.

5A prompt on one card: one link

Plate 086Every expert, the toll on one link, and bigger chunks. Recorded 6 November.

One card has room for copies of 16% of the experts, 51 GB. So about 266 GB is sent for every chunk, and one PCIe link needs 4.7 s for that. With 8K-token chunks the link set the pace: a chunk of 8,192 tokens and one of 5,134 both took 5.0 s. The upload is paid per chunk, not per token, so the fix is more tokens in a chunk. With 12K-token chunks the same prompt needs two uploads instead of three.

Prefill, one card, a prompt 25 thousand tokens deeptok/s
Uploads and math take turns681
Uploads beside the math, on the copy engine982
Attention reads its keys once for all 64 heads1,159
Cached experts are not sent again1,212
Faster indexer and expert kernels1,298
12K-token chunks: two uploads instead of three1,561

Same prompt as section 4: 21,518 new tokens, here in 13.8 s. Bigger chunks are not free. They need 3.5 GB more scratch memory, which comes out of the expert cache: 48 GB instead of 51, and decode goes from 43.2 to 42.0 tokens a second. A 3,600-token prompt runs at 950 tokens a second with 8K chunks and 882 with 12K. The 266 GB is an estimate from the cache size, and "both took 5.0 s" is derived from the times the engine could issue the next chunk, not from a per-chunk timer.

6The route bias: a thumb on the scale

Plate 087The pick, the thumb on the scale, and every layer of every token. Recorded 11 November.

Each layer scores its 256 experts and the best 8 run. That is 600 picks for every token, and every pick that is not on a card is a trip to the CPU. The route bias adds 0.03 to the score of each expert that already has a copy on a card. A near tie flips to the card. A clear winner stays where it is. The 8 that run are still mixed by their true scores, but they are not always the same 8, and that is the cost.

Bias off → 0.03, 64K contextOff0.03Change
Picks that land on a card, two cards78.96%88.63%+9.67 points
Decode, two cards61.8 tok/s77.9 tok/s+26%
Decode, one card39.3 tok/s51.0 tok/s+30%
Top token matches a plain run, two cards97.07%95.81%−1.26 points
Top token matches a plain run, one card96.96%94.92%−2.04 points

Perplexity moves by under 1% and does not see the change. The top-token match does. We run with the bias off.

Decode is the median of 24 prompts of 512 tokens, a fresh server for each run; every one of the 24 prompts ran faster with the bias, by 14 to 37% on two cards and 22 to 40% on one. The match is the share of 8,188 positions (4 chunks at 4,096 context) where the most likely token is the same as in a plain run of the same file, give or take 0.2 points; mean KL divergence goes from 0.010 to 0.026 on two cards. Without the bias the serving setup is at 97%, not 100: it is not bit-identical to the plain run. The score ladder in the clip is a drawing of twelve made-up scores; the meters, the speeds and the match are measured. What a biased server picks depends on what is in its cache, which depends on what it served before. We have not measured that.

Run directory: bench/runs/20261102-offload-700b-tp2; the foot of each clip names the engine commit it was measured on. Model: GLM-5.3 at the UD-Q3_K_XL quant from unsloth, with the always-read weights re-rounded to Q5_K. Engine: llama.cpp with our patches. Machine: our 4-GPU server, bare metal, using one or two of its RTX PRO 6000 Blackwell cards (96 GB each), a Threadripper PRO 9985WX and 754 GB of DDR5-6400. Sizes are a walk of the GGUF headers; hit rates come from the engine log; the 29 ms is a kernel trace summed across both cards. To see the rows, write to hello@netsphere.com.ai.