NetSphere

Explainer · 14 November 2026

Four mixture-of-experts models, taken apart: what each one holds, and what one token runs.

Most large open models are now mixtures of experts: each layer holds a pool of small networks and runs only a few of them for each token. Ten short clips on what that means and on how four current models build it: Qwen3.8-Flash-Next, DeepSeek V4.1 Flash, GLM-5.3 and Kimi K3. Every number comes from the config file and weight headers each lab released. Sections 1 to 6 are the cost side only: nothing there says which model is better. Section 7, on the lookup table, is the one place with test results.

Plates 089–095 · 097–099Four modelsFrom the release configs
Dense and MoESide by sideEach modelSize and priceWhy they differV4.1 and GLM-5.3The lookup table
Bottom line

1Dense and MoE: two ways to build a model

Plate 098Start here. One layer of each kind, then the two side by side.

A model is a stack of layers. In a dense model every weight in a layer works on every token. A mixture-of-experts layer is cut into many small experts, and a router picks a few of them for each token; the rest sit idle. So an MoE model can hold far more weights and still do less work per token. It must still all fit in memory.

Same lab, same generationQwen3.8-27B, denseQwen3.8-Flash-Next, MoE
Weights it holds27B125B
Weights that run for one token27B6B
Share of the model at work100%5%

These sizes are the model cards' own figures. The 6B counts everything that runs for a token, attention included, so it is larger than the 2.4B of expert weights in the sections below. A dense model reads one row of its word table, so its true figure is a little under 27B. The dense layer is drawn as one block: a drawing, not its real structure.

2Four pools, side by side

Plate 093The pool, one expert, and one token, for all four on one scale.
Qwen3.8-Flash-NextV4.1 FlashGLM-5.3Kimi K3
Experts in a layer512384256896
Run for a token, plus shared10 + 16 + 18 + 116 + 2
Share of the pool1.95%1.56%3.13%1.79%
Layers with a pool48 of 4840 of 4075 of 7892 of 93
Weights in one expert4.9M35.4M37.7M33.0M
Experts a token4802406001,472
Expert weights a token2.4B8.5B22.6B48.6B
Weights in the pools121B544B725B2.72T
In a lookup table, outside the pools51.2B197Bnonenone

Which experts light up in the clips, and their scores, are drawn by a hash; the counts and sizes are the configs'. "Shared" experts run for every token and are not part of the pick.

3Each model, one clip

Each clip has the same three parts: the stack of layers, one layer's pool, and one token passing through the whole model.

Plate 090 · Qwen3.8-Flash-NextThe smallest experts of the four: 4.9M weights each, 10 of 512 run.

Three layers of linear attention, then one of sparse attention, twelve times; all 48 layers have a pool. The router picks by softmax, and the shared expert passes through a gate of its own. Its experts are about seven times smaller than the others', because the model is narrow: 2,560 wide, with a 640-wide middle. A 51B table of two- and three-word embeddings joins near the bottom of the stack.

Plate 089 · DeepSeek V4.1 Flash384 experts a layer, 6 run. Reading a token costs half of writing one.

Forty layers, split into a 20-layer encoder and a 20-layer decoder, each layer with its own pool. It makes the fewest picks of the four and is the sparsest by share. Two lookup tables of 197B weights in all sit at two layers of the stack.

"A prompt token stops at layer 20" is our reading of the model card, which says the model activates 8B weights per token while reading a prompt and 16B while writing. We have not traced it in the code.

Plate 091 · GLM-5.3The densest pick of the four: 8 of 256, in 75 of its 78 layers.

Seventy-eight layers of sparse attention. The first three carry a plain feed-forward block; the other 75 carry a pool. Each score is a sigmoid between 0 and 1. It has the smallest pool per layer and runs the largest share of it.

"Builds the index" and "reuses it" in the first part of the clip are our reading of a config field that marks 21 layers one way and 57 the other.

Plate 092 · Kimi K3The biggest pool of the four, at half width: 16 of 896 run.

Ninety-three layers: three of linear attention, then one of full attention. The first layer is dense; the other 92 carry a pool. Before the pool the token state is squeezed from 7,168 wide to 3,584, the experts work there, and it widens back. That halves the cost of each expert, and it is how the model affords 896 of them in a layer. Its two shared experts run at full width.

4Size and price, in detail

Plate 097Size is layers × layer. Price is picks × expert, plus the part that always runs.

A model's pools are what one layer holds times how many layers hold one. What a token pays is the picked experts times the size of one, in every layer. But the picked experts are not the whole bill: every layer also runs its shared expert for every token, and Kimi K3 runs its squeeze and widen step.

One layerQwen3.8-Flash-NextV4.1 FlashGLM-5.3Kimi K3
The layer's pool2.5B13.6B9.7B29.6B
Picked49.2M212M302M528M
Shared, always on4.9M35.4M37.7M132M
Squeeze and widennonenonenone51.4M
Run in one layer54.1M248M340M712M
Run a token, all pool layers2.6B9.9B25.5B65.5B
Share that is the shared part9%14%11%19%

"Run a token, all pool layers" still leaves out attention, the plain feed-forward layers (3 on GLM-5.3, 1 on Kimi K3) and everything else in the model. It is the bill of the pool layers, not of the whole model.

5Where the four designs differ

Plate 094Why not build them all like the cheapest one? It is the smallest of the four, not the sparsest.

Four places the designs part ways. Size: the pools run from 121B to 2.72T. The price of an expert: its width times its depth, where Qwen stays narrow and Kimi K3 halves its width. Weights outside the pools: the two Flash models hold 51B and 197B in lookup tables. And the settings themselves: no value is agreed between labs.

SettingLowestHighestApart
Experts in a layer256 · GLM-5.3896 · Kimi K33.5×
Run in a layer6 · V4.1 Flash16 · Kimi K32.7×
Weights in one expert4.9M · Qwen37.7M · GLM-5.37.7×
Share of the pool run1.56% · V4.1 Flash3.13% · GLM-5.32.0×

"Flash" and "Full size", and "DeepSeek-V3 line" against "Qwen's own line", are our labels. The first follows the model names and what else each lab ships; the second follows a selection-method key that three of the configs share and Qwen's does not. "66.1M at full width" is arithmetic for a Kimi K3 without its squeeze; no such model exists. That a lookup table takes almost no work to read is how a lookup works, not something measured here.

6V4.1 Flash and GLM-5.3: same size, held differently

Plate 095About the same number of weights, in two different shapes.

The two hold about the same number of weights, 740B and 725B. V4.1 Flash keeps a quarter of them in a lookup table; GLM-5.3 keeps all of them in its pools. A token V4.1 Flash writes reads 2.7 times fewer expert weights, and the lab ships those experts at 4-bit where GLM-5.3 ships at 8-bit.

V4.1 FlashGLM-5.3
In the expert pools544B725B
In a lookup table197Bnone
Expert weights, a token it writes8.5B22.6B
Expert weights, a token of the prompt4.2B22.6B
Read for a written token, as released4.5 GB22.6 GB
Pools to hold in fast memory, as released289 GB725 GB

This pairs a Flash model with a full-size one because their totals match. GLM has a Flash model of its own: GLM-5.3-Flash holds 304B in its pools and reads 8.5B expert weights per written token, the same as V4.1 Flash. "As released" compares each lab's official file, 4-bit against 8-bit; the smaller GLM-5.3 files most people run are third-party quants and are not in this table. V4.1 Flash also needs 203 GB of plain RAM for its table. No speed is on this plate.

7The engram table: memory a model looks up

Plate 099What the lookup table is, how it is trained, and what it buys as far as anyone has measured.

Every model starts with a lookup: each token fetches its own row of numbers, and what the words mean together is left for the layers to work out. An engram table (Qwen calls its own an n-gram embedding) is a second, far larger lookup, keyed by the last few tokens together. On V4.1 Flash the last 2, 3 and 4 tokens each pick 8 rows, in each of two tables: 48 rows read for a token, out of 768 million held. The rows are added to the token inside the stack. Reading them takes almost no computing, so the table can sit in ordinary memory, off the GPU.

V4.1 FlashQwen3.8-Flash-Next
Weights in the table196.6B51.2B
Share of the model's weights26%29%
Rows held768M320M
Rows read for a token4816
Keyed by the last2, 3, 4 tokens2, 3 tokens
Read at2 of 40 layers1 of 48 layers
The table's update rule in trainingSinkhorn, with momentumAdam, no weight decay

How it is trained. The rows are learned in the same run as the rest of the model. Both labs built the table in from the first step of training, and neither report shows one added to a finished model. A training step changes only the rows it read. DeepSeek trained V4.1 Flash on 45 trillion tokens, gave the table 5 times the learning rate, and stores each number in 8 bits. After training the table is only read.

What the lab measured. Qwen trained small test models with and without the table. Added on top of an unchanged model, it gained 1.9 to 5.9 points on the five sets below. Paid for by removing experts, so that the total stayed the same size, it gained nothing clear: Qwen's report says so in those words.

Added on topSwapped for experts
MMLU, knowledge+1.9−0.5
MATH, competition math+4.9+0.5
GSM8K, word problems+5.9−1.1
BBH, reasoning+4.2−0.2
C-Eval, Chinese+5.2−0.1

What we measured. We took the released Qwen3.8-Flash-Next, set the table's output to zero, and ran six task sets against the unchanged model. With the table on it passed 987 of 1,024 tasks, with it off 981. The result changed on 26 tasks; between two runs with the table on, it changed on 25. So we saw no difference in what the model can do. The model with the table off did write more tokens: 1.03 to 1.37 times as many on the code, math and tracking sets, and 2.4 to 2.6 times on the two agent sets.

The lab's figures are from small test models, not the released one; "added on top" compares no table with one of 50 times the vocabulary, and "swapped for experts" is the setting with a quarter of the weights in the table. DeepSeek's report has no with-and-without test. Our test ran a 4-bit quant of the released model, and the rest of that model was trained expecting the table, so switching it off is not the same as a model trained without one. The token count was not a planned reading: it is a lead, not a result, until a run designed for it repeats it. Qwen's "last 2, 3 tokens" is our arithmetic from the table's shape, not a sentence of its report. Which rows light up in the clip, and the phrase used, are illustrations.

Sources: the config.json each lab released for Qwen3.8-Flash-Next, DeepSeek V4.1 Flash, GLM-5.3, GLM-5.3-Flash and Kimi K3; a walk of the weight-file headers for Qwen and V4.1 Flash (expert shapes, the lookup tables); Kimi K3's released model code (the squeeze, the shared experts); the Qwen and DeepSeek model cards and technical reports. Derived figures are arithmetic from those: weights in an expert = 3 × width × depth; experts a token = picks × layers with a pool. Nothing in sections 1 to 6 is a speed or a quality measurement; the test results in section 7 are Qwen's own tables and one run of ours. To see the working, write to hello@netsphere.com.ai.