The Rabbit Hole / AI / Model architectures
Moonshot AI · Architecture mapKimi Linear 48B-A3B
Three layers of linear attention for every layer of full attention, so most layers keep a fixed-size state instead of a growing cache.
Kimi Linear 48B-A3B Instruct, October 2025 · Kimi release timeline
Inside Kimi Linear 48B-A3B
Inside linear attention · Transformer layer 1
Earlier context dimmed · current token bright · dashed path carries state to the next step.
Inside latent attention · Full MLA layers 4, 8, 12, 16, 20, 24 and 27
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layer 1 · 1 repetitions
- Kimi Delta Attention with a dense feed-forward network (intermediate size 9216).
- Kimi Delta Attention layers 2, 3, 5, 6, 7, 9 and so on · 19 repetitions
- Linear attention. 256 routed experts (size 1024), 8 chosen per token, plus 1 shared expert.
- Full MLA layers 4, 8, 12, 16, 20, 24 and 27 · 7 repetitions
- Full softmax attention with a latent KV cache. Same MoE block as the other layers.
- Attention and positions
- 20 layers use Kimi Delta Attention (linear attention with a fine-grained gate, 32 heads of size 128, a short convolution of width 4). 7 layers use full MLA (32 heads, key 128 content plus 64, value 128, no query compression). Neither layer type uses any positional encoding: the MLA layers apply no rotary embedding at all.
- Memory
- Full-MLA layers cache a 512-value KV latent plus a 64-value key part, 576 values per token. Kimi Delta Attention layers keep a fixed-size state and a short convolution buffer, not a per-token cache.
Three KDA layers, then MLA
The 27-layer stack contains 20 Kimi Delta Attention layers and seven latent-attention layers. Six three-to-one groups are followed by two KDA layers and a final MLA layer.
Neither type applies RoPE. Expert networks follow every layer except the dense opening layer, selecting eight of 256 routed experts plus one shared expert.
The card advertises 1M-token support and the paper evaluates at 128K and 1M; it does not specify the length of its long-context training stage.
How it scores
AA Intelligence Index
Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| Kimi Linear 48B A3B Instruct | 7 | AA Index 4.3.2Published checkpoint |
Explore the components
- Embeddings: giving every token a meaning
- Residual connections: when more layers made things worse
- A whole LLM, layer by layer
- RMSNorm: keeping a token's scale under control
- Linear attention: a fixed-size memory instead of a growing cache
- Gated DeltaNet: write the correction, not the whole fact
- Multi-head latent attention (MLA): caching a compressed latent
- NoPE: attention with no position information at all
- Hybrid attention and SSM models: different kinds of memory
- Mixture of experts (MoE): a big model that uses only part of itself
- Gated RMSNorm: controlling the layer's output
- Neural network layers: more inputs, more neurons
- Routing: selecting experts and weighting their work
- Attention, from scratch
- The KV cache: why LLMs remember every key and value