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.
- Same idea, four sizes. Each model scores every expert in a layer and runs a few: 6 of 384, 10 of 512, 8 of 256, 16 of 896. That is 1.6 to 3.1% of each pool.
- The bill per token spans 20 times. One token runs 2.4B expert weights on Qwen3.8-Flash-Next and 48.6B on Kimi K3, out of pools of 121B and 2.72T.
- Small is not the same as sparse. Qwen runs the fewest weights because its pools are the smallest. By share of the pool, V4.1 Flash and Kimi K3 are sparser.
- The two Flash models keep weights in a lookup table. 197B on V4.1 Flash and 51B on Qwen sit outside the pools, and a token reads only a few rows of them.
1Dense and MoE: two ways to build a model
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 generation | Qwen3.8-27B, dense | Qwen3.8-Flash-Next, MoE |
|---|---|---|
| Weights it holds | 27B | 125B |
| Weights that run for one token | 27B | 6B |
| Share of the model at work | 100% | 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
| Qwen3.8-Flash-Next | V4.1 Flash | GLM-5.3 | Kimi K3 | |
|---|---|---|---|---|
| Experts in a layer | 512 | 384 | 256 | 896 |
| Run for a token, plus shared | 10 + 1 | 6 + 1 | 8 + 1 | 16 + 2 |
| Share of the pool | 1.95% | 1.56% | 3.13% | 1.79% |
| Layers with a pool | 48 of 48 | 40 of 40 | 75 of 78 | 92 of 93 |
| Weights in one expert | 4.9M | 35.4M | 37.7M | 33.0M |
| Experts a token | 480 | 240 | 600 | 1,472 |
| Expert weights a token | 2.4B | 8.5B | 22.6B | 48.6B |
| Weights in the pools | 121B | 544B | 725B | 2.72T |
| In a lookup table, outside the pools | 51.2B | 197B | none | none |
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.
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.
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.
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.
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
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 layer | Qwen3.8-Flash-Next | V4.1 Flash | GLM-5.3 | Kimi K3 |
|---|---|---|---|---|
| The layer's pool | 2.5B | 13.6B | 9.7B | 29.6B |
| Picked | 49.2M | 212M | 302M | 528M |
| Shared, always on | 4.9M | 35.4M | 37.7M | 132M |
| Squeeze and widen | none | none | none | 51.4M |
| Run in one layer | 54.1M | 248M | 340M | 712M |
| Run a token, all pool layers | 2.6B | 9.9B | 25.5B | 65.5B |
| Share that is the shared part | 9% | 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
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.
| Setting | Lowest | Highest | Apart |
|---|---|---|---|
| Experts in a layer | 256 · GLM-5.3 | 896 · Kimi K3 | 3.5× |
| Run in a layer | 6 · V4.1 Flash | 16 · Kimi K3 | 2.7× |
| Weights in one expert | 4.9M · Qwen | 37.7M · GLM-5.3 | 7.7× |
| Share of the pool run | 1.56% · V4.1 Flash | 3.13% · GLM-5.3 | 2.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
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 Flash | GLM-5.3 | |
|---|---|---|
| In the expert pools | 544B | 725B |
| In a lookup table | 197B | none |
| Expert weights, a token it writes | 8.5B | 22.6B |
| Expert weights, a token of the prompt | 4.2B | 22.6B |
| Read for a written token, as released | 4.5 GB | 22.6 GB |
| Pools to hold in fast memory, as released | 289 GB | 725 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
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 Flash | Qwen3.8-Flash-Next | |
|---|---|---|
| Weights in the table | 196.6B | 51.2B |
| Share of the model's weights | 26% | 29% |
| Rows held | 768M | 320M |
| Rows read for a token | 48 | 16 |
| Keyed by the last | 2, 3, 4 tokens | 2, 3 tokens |
| Read at | 2 of 40 layers | 1 of 48 layers |
| The table's update rule in training | Sinkhorn, with momentum | Adam, 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 top | Swapped 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.