Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Alibaba · Architecture map

Qwen3-Next 80B-A3B

Three of every four layers replace softmax attention with gated DeltaNet linear attention, on top of a very sparse expert layer.

Qwen3-Next-80B-A3B-Instruct, September 2025 · Qwen release timeline

Inside Qwen3-Next 80B-A3B

Parameters
80B · 3B active
Layers
48
Width
2,048
Mixer
Hybrid
Select a component to explore it. Layer colours match the execution-order strip.
The complete Qwen3-Next 80B-A3B architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions). Gated attention layers store keys and values for 2 key/value heads of size 256 per token. DeltaNet layers store a fixed-size recurrent state and a short convolution state that do not grow with context length. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup151,9362,048Input token vectorsCL2,048Execution order · 48 layersLayer 1: Gated DeltaNet layers (three of every four)Layer 2: Gated DeltaNet layers (three of every four)Layer 3: Gated DeltaNet layers (three of every four)Layer 4: Gated attention layers (every fourth)Layer 5: Gated DeltaNet layers (three of every four)Layer 6: Gated DeltaNet layers (three of every four)Layer 7: Gated DeltaNet layers (three of every four)Layer 8: Gated attention layers (every fourth)Layer 9: Gated DeltaNet layers (three of every four)Layer 10: Gated DeltaNet layers (three of every four)Layer 11: Gated DeltaNet layers (three of every four)Layer 12: Gated attention layers (every fourth)Layer 13: Gated DeltaNet layers (three of every four)Layer 14: Gated DeltaNet layers (three of every four)Layer 15: Gated DeltaNet layers (three of every four)Layer 16: Gated attention layers (every fourth)Layer 17: Gated DeltaNet layers (three of every four)Layer 18: Gated DeltaNet layers (three of every four)Layer 19: Gated DeltaNet layers (three of every four)Layer 20: Gated attention layers (every fourth)Layer 21: Gated DeltaNet layers (three of every four)Layer 22: Gated DeltaNet layers (three of every four)Layer 23: Gated DeltaNet layers (three of every four)Layer 24: Gated attention layers (every fourth)Layer 25: Gated DeltaNet layers (three of every four)Layer 26: Gated DeltaNet layers (three of every four)Layer 27: Gated DeltaNet layers (three of every four)Layer 28: Gated attention layers (every fourth)Layer 29: Gated DeltaNet layers (three of every four)Layer 30: Gated DeltaNet layers (three of every four)Layer 31: Gated DeltaNet layers (three of every four)Layer 32: Gated attention layers (every fourth)Layer 33: Gated DeltaNet layers (three of every four)Layer 34: Gated DeltaNet layers (three of every four)Layer 35: Gated DeltaNet layers (three of every four)Layer 36: Gated attention layers (every fourth)Layer 37: Gated DeltaNet layers (three of every four)Layer 38: Gated DeltaNet layers (three of every four)Layer 39: Gated DeltaNet layers (three of every four)Layer 40: Gated attention layers (every fourth)Layer 41: Gated DeltaNet layers (three of every four)Layer 42: Gated DeltaNet layers (three of every four)Layer 43: Gated DeltaNet layers (three of every four)Layer 44: Gated attention layers (every fourth)Layer 45: Gated DeltaNet layers (three of every four)Layer 46: Gated DeltaNet layers (three of every four)Layer 47: Gated DeltaNet layers (three of every four)Layer 48: Gated attention layers (every fourth)Gated DeltaNet layers (three of every four) · matches this colour in the execution-order barGated DeltaNet layers (three of eve…Gated DeltaNet layers (three of every four) · 36 repetitions36 layers · one layer shown36RMSNorm before this operation.RMSNormGated DeltaNet: Linear attention, followed by 512 experts of intermediate size 512, 10 selected per token, plus 1 shared expert scaled by a learned sigmoid gate.Gated DeltaNetAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Linear attention, followed by 512 experts of intermediate size 512, 10 selected per token, plus 1 shared expert scaled by a learned sigmoid gate.MoE10 of 512 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +10 of 512 experts + 1sharedLayer type · execution order aboveGated attention layers (every fourth) · matches this colour in the execution-order barGated attention layers (every fourt…Gated attention layers (every fourth) · 12 repetitions12 layers · one layer shown12RMSNorm before this operation.RMSNormGated: Softmax attention with a query-side output gate, followed by the same expert layer.GatedRotate query and key position components before attention scores; values are unchanged. Softmax attention with a query-side output gate, followed by the same expert layer.RoPENormalise queries and keys before attention scores. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).QK-normAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Softmax attention with a query-side output gate, followed by the same expert layer.MoE10 of 512 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +10 of 512 experts + 1sharedLayer type · execution order aboveAfter all 48 layer executionsResidual streamLast columnCL2,048Final RMSNormA separate learned vocabulary projection.Output weights2,048151,936Vocabulary scoresSoftmax151,936Next-token probabilities
Inside linear attention · Gated DeltaNet layers (three of every four)
32 state heads · 16 Q/K heads.

Earlier context dimmed · current token bright · dashed path carries state to the next step.

Qwen3-Next 80B-A3B: Gated DeltaNet layers (three of every four) · linear attention36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions). Gated attention layers store keys and values for 2 key/value heads of size 256 per token. DeltaNet layers store a fixed-size recurrent state and a short convolution state that do not grow with context length.32 value heads; the front face shows one representative.32 value heads32 state heads; the front face shows one representative.32 state headsAttention input. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wq2,048128Wk. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wk2,048128Wv. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wv2,048128Conv 4 + SiLU. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Conv 4 + SiLUConv 4 + SiLU. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Conv 4 + SiLUConv 4 + SiLU. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Conv 4 + SiLUL2-norm. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).L2-normL2-norm. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).L2-normQ. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.Q128CLK. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.K128CLV. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.V128CLPrevious state. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Previous state128128Decay + delta. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Decay + deltaInput projections produce the decay and write-strength gates. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).α / β2,0482Updated state. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Updated state128128×. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).×Gated RMSNorm. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Gated RMSNormJoined heads. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).32Wo. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wo4,0962,048Attention output. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Inside grouped-query attention · Gated attention layers (every fourth)
8 query heads per group × 2 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Qwen3-Next 80B-A3B: Gated attention layers (every fourth) · grouped-query attention36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions). Gated attention layers store keys and values for 2 key/value heads of size 256 per token. DeltaNet layers store a fixed-size recurrent state and a short convolution state that do not grow with context length.2 KV groups; the front face shows one representative.2 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wq2,048256Wk. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wk2,048256Wv. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wv2,048256RMSNorm. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).RMSNormRoPE 64. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).RoPE 64RMSNorm. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).RMSNormRoPE 64. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).RoPE 64K cache. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache256CLV cache. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache256CLQ context. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.Q context256CLScaled query–key scores, masking and softmax. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).CLCL×. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).×Wg. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wg2,048256σ. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).σ×. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).×Joined heads. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).16Wo. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Wo4,0962,048Attention output. 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Model-specific details
Gated DeltaNet layers (three of every four) · 36 repetitions
Linear attention, followed by 512 experts of intermediate size 512, 10 selected per token, plus 1 shared expert scaled by a learned sigmoid gate.
Gated attention layers (every fourth) · 12 repetitions
Softmax attention with a query-side output gate, followed by the same expert layer.
Attention and positions
36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).
Memory
Gated attention layers store keys and values for 2 key/value heads of size 256 per token. DeltaNet layers store a fixed-size recurrent state and a short convolution state that do not grow with context length.

Three DeltaNet layers, then attention

The 48 layers contain twelve three-to-one groups. Every layer also selects ten of 512 experts of width 512, plus a gated shared expert.

Full-attention layers use 16 query heads, two 256-wide key/value heads, QK-norm and a query-side output gate. RoPE covers one quarter of each head. Norm scales are stored as offsets from one.

The Instruct checkpoint supports 262,144 tokens natively; optional YaRN extends it to about 1M.

How it scores

AA Intelligence Index

Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.

Checkpoint / sizeResultEvaluation
Qwen3 Next 80B A3B (Reasoning)11AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. Qwen3 Next 80B A3B (Reasoning) scores 11; its bin is highlighted. Known estimates are excluded.Model variants0.0–3.0: 0 variants3.0–6.0: 15 variants6.0–9.0: 21 variants9.0–12.0: 13 variants12.0–15.0: 9 variants15.0–18.0: 5 variants18.0–21.0: 5 variants21.0–24.0: 6 variants24.0–27.0: 4 variants27.0–30.0: 2 variants30.0–33.0: 2 variants33.0–36.0: 2 variants36.0–39.0: 2 variants39.0–42.0: 3 variants42.0–45.0: 4 variants45.0–48.0: 3 variants48.0–51.0: 0 variants51.0–54.0: 0 variants54.0–57.0: 1 variants57.0–60.0: 0 variants21003060AA Index 4.3.2 →
Qwen3 Next 80B A3B (Reasoning): 11. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map