Moonshot AI: Kimi

How Moonshot's Kimi models differ from the DeepSeek-V3 template they started from: the optimiser, the attention layer, the residual stream, the expert layout, the release precision and the agentic post-training. Data as of October 2026. Reading: 38 min, plus 10 in closed details.

The idea: change the layers everyone else treats as settled

Moonshot starts from DeepSeek-V3's design (MLA, fine-grained experts with a shared expert, 61 layers, hidden size 7,168) and replaces, one ablation at a time, the parts most labs inherit without question: AdamW, softmax attention in every layer, and the plain residual sum. Moonshot AI is a Beijing lab whose Kimi models are, by most aggregate measures, among the strongest open-weight lines of 2025 and 2026; its edge is not data scale or distribution but this willingness to change what is settled, each change justified by an ablation. Kimi K2 (July 2025) is a DeepSeek-V3 derivative trained with Muon instead of AdamW (K2 report); Kimi K3 (July 2026) puts Kimi Delta Attention in three of every four layers and replaces the residual sum with Attention Residuals (K3 report). The other half of the bet is cycle time: Kimi Linear went from paper (October 2025, arXiv 2510.26692) to flagship backbone in well under a year, fast for a change that touches every kernel in the stack.

You need: multi-head latent attention (MLA) from Attention variants, linear attention and the delta rule from Beyond attention, routing and shared experts from Mixture of experts, and Muon's orthogonalised update from Optimisers and learning-rate schedulers. This page says what Kimi chose and why, and links those owners for the mechanisms.

QK-Clip Moonshot's rule: after an optimiser step, shrink a head's query and key weights whenever that head's largest attention logit (the scaled query-key product qi⊤kj / √d that enters the softmax) passed a threshold. MuonClip is Muon plus weight decay, Adam-matched update scaling and QK-Clip, the optimiser K2 was pretrained with.
KDA (Kimi Delta Attention): a gated delta-rule linear attention with a per-channel forget gate. Kimi Linear: the 48B-total, 3B-active research model that introduced it in a 3:1 hybrid with full MLA layers.
AttnRes (Attention Residuals): each layer takes a learned softmax-weighted mix of earlier layers' outputs instead of their sum.
Sparsity (Moonshot's usage): total experts divided by activated experts, 384 / 8 = 48 for K2. A different number from total over active parameters.
QAT and MXFP4: quantisation-aware training, training with simulated low-precision weights; and microscaling FP4, 4-bit elements with one shared 8-bit scale per block of 32 values (the formats in general: Quantization and Precision).
In one year the stack went from every layer caching to one layer in four
Same optimiser under bothMuonClip (Muon plus QK-Clip) trains every hidden matrix; K3 splits it per head.
Wider, sparser expertsK2: 384 experts, 8 active. K3: 896 in a 3,584-wide latent, 16 active, shipped as 4-bit MXFP4.
A learned residualK3's brackets: Attention Residuals mix earlier blocks' outputs with a softmax instead of adding them all with weight 1.

One square per layer, to scale in depth; layer types from each K2 config and K3 config (full_attn_layers 4, 8, ..., 92, 93; attn_res_block_size 12). Click a section below for each change.

Every change in one screen

LayerStandard designKimi's answer (first shipped)BuysCosts
OptimiserAdamW on every parameterMuonClip: orthogonalised momentum for 2D matrices, plus QK-Clip (Moonlight for Muon, then K2)About 2× compute efficiency; one optimiser buffer instead of two; no loss spikes at 1TNewton-Schulz matmuls, a distributed implementation, and exploding attention logits that QK-Clip has to contain; a threshold to choose and a per-head max-logit statistic to collect every step
AttentionSoftmax attention in every layer, cache growing with contextKimi Delta Attention in three of every four layers (Kimi Linear, then K3)Roughly a quarter of the KV cache and several-fold faster long-context decodeCustom kernels, a fixed per-request state that dominates at short context, and a dependence on one layer in four for exact long-range recall
Feed-forward width256 experts, 8 active (DeepSeek-V3)384 then 896 experts, 8 then 16 active; K3's routed experts work in a half-width latent (K2, then K3)Capacity at a fixed active countMemory for every expert, all-to-all traffic and harder load balancing (hence Quantile Balancing)
Head count128 heads (DeepSeek-V3)64 heads (K2), 96 (K3)Avoids the 83% rise in inference FLOPs at 128k context that 128 heads would have cost K2's configurationGives up the 0.5% to 1.2% lower validation loss they would have bought
Residual streamAdd every layer's output to one running sumAttention Residuals: a learned softmax over earlier layers' outputs (K3)About 1.25× effective compute and steadier magnitudes across depthA few percent of training throughput under pipeline parallelism, plus block summaries to keep and send
Release precisionBF16 checkpoint, quantised afterwards by othersNatively quantised checkpoints trained with QAT: INT4 (K2 Thinking), then MXFP4 (K3)A model that fits on about a quarter of the hardware with no post-hoc quality lossQAT in the training pipeline and a dependence on hardware with fast 4-bit paths
Post-trainingHuman-written agentic data, rewards only where a checker existsManufactured tool-use trajectories; a self-critique reward where no checker exists (K2)RL signal on unverifiable tasksA grader the policy can learn to please

Rivals and cross-provider comparisons are on Topic: llm-landscape; the DeepSeek-V3 design K2 starts from is on DeepSeek.

The line: each change proven small, then shipped big

The order explains the design. Muon was proven on a 16B model (Moonlight) before it trained the 1T K2; KDA and Attention Residuals were proven on the 48B Kimi Linear before K3 combined them; 4-bit QAT went into K2 Thinking before K3 shipped its whole expert set in MXFP4. Click a release for its notes.

Release notes, one per model (depth)
ReleaseWhat it was
Kimi chat
2023 · closed
Long-context consumer assistant in China, the product the lab was first known for. Year only; size and architecture undisclosed.
Kimi k1.5
20 January 2025 · closed
An early RL reasoning model, reported to match o1 without Monte Carlo tree search or process reward models. Its policy objective (the squared group-baseline loss in the post-training section) and its colocated RL infrastructure carried into K2 (arXiv 2501.12599).
Moonlight-16B-A3B
24 February 2025 · 16B / 3B · MIT
The Muon scaling study's model, 5.7T tokens. Showed Muon at about 2× AdamW's compute efficiency once weight decay and Adam-matched update scaling were added (arXiv 2502.16982).
Kimi K2
11 July 2025 (weights; report 28 July) · 1.04T / 32.6B · Modified MIT
The breakout release: 384 experts, 8 active + 1 shared, MLA (the latent-cache design from DeepSeek-V2) with 64 heads, pretrained on 15.5T tokens with MuonClip and zero loss spikes; trained mostly at 4k context, then 32k, then extended to 128k with YaRN. On LMArena it ranked top open model and 5th overall (17 July 2025, report); Moonshot called it the strongest open agentic and coding model at release (K2 report).
Kimi Linear 48B-A3B
30 October 2025 · 48B / 3B · MIT
Introduced Kimi Delta Attention in a 3:1 hybrid with MLA, NoPE in the MLA layers, up to 75% less KV cache and up to 6× decoding throughput at 1M context. Its architecture was also the testbed for Attention Residuals.
Kimi K2 Thinking
November 2025 (repository 4 November) · 1T / 32B · Modified MIT
Reasoning variant with native INT4 quantisation-aware training and a 256K context; interleaved thinking and tool calls over 200 to 300 steps. Its card claimed state-of-the-art results on Humanity's Last Exam and BrowseComp, briefly ahead of closed flagships on those agentic evaluations (model card).
Kimi K2.5
29 January 2026 · 1T / 32B · Modified MIT
Natively multimodal K2 with a MoonViT vision encoder and Agent Swarm parallel execution. Still served (model card).
Kimi K2.6
April 2026 (repository 14 April) · Modified MIT
A rapid capability update, with the same 1.03T checkpoint size as K2.5 (Hugging Face).
Kimi K2.7 Code
June 2026 (repository 11 June) · Modified MIT
Coding specialist at K2 scale, a 1.03T checkpoint (Hugging Face).
Kimi K3
16 July 2026 (weights by 27 July) · 2.8T / 104B · Kimi K3 License
The current architecture: Stable LatentMoE (896 experts, 16 active, 2 shared), KDA in 69 of 93 layers with Gated MLA in the other 24, Attention Residuals, 1M context, native vision, a native MXFP4 checkpoint, Per-Head Muon. "The world's first open 3T-class model" (model card).
Kimi K3.1 Pro
23 October 2026 (API; weights by 4 November) · 2.8T / 104B · Kimi K3.1 Pro License
The flagship from 23 October 2026: K3 with much more post-training compute and its 24 full-attention layers switched from Gated MLA to Gated DeepSeek Sparse Attention (KDA hybrid), 55 on Artificial Analysis's index v4.3.2 (K3 44) and 46 on the rebuilt v5, with cyber data removed from mid-training and RL before the open release; a Highspeed variant serves 2 to 3 times faster (Kimi blog, model card).

Placed by release date and sized by total parameters (log scale); open weights filled, API-only releases as rings (undisclosed sizes on the baseline).

MuonClip: Muon, plus a fix for what Muon breaks

Muon treats each 2D weight matrix's momentum as a matrix and replaces it with an approximately orthogonal one (every singular value near 1), so the update pushes in all directions at comparable scale instead of mostly along the few largest; embeddings, the output head and 1D parameters stay on AdamW. The mechanism and its Newton-Schulz stepper on a real gradient are on Optimisers and learning-rate schedulers. Moonshot's contribution was making it work at scale: its study reports about 2× the computational efficiency of AdamW under compute-optimal training, matching AdamW-trained models with about 52% of the training FLOPs (Muon is Scalable for LLM Training, arXiv 2502.16982), with one momentum buffer against AdamW's two, real memory in a sharded trillion-parameter run. The update for a weight matrix W ∈ ℝA×B at step t, with Moonshot's two additions:

Mt=μMt−1+Gt,Ot=NS(Mt)Wt=Wt−1−η(0.2max(A,B)Ot+λWt−1)
Gt, Mt
the gradient, and the momentum buffer (M0 = 0, momentum coefficient μ = 0.95)
NS
five Newton-Schulz iterations, matrix products that approximate M = UΣV⊤ ↦ UV⊤ without an SVD
η, λ
the learning rate and the decoupled weight decay
0.2√max(A, B)
Moonshot's addition: a full-rank orthogonal A × B matrix has root-mean-square entry 1/√max(A, B), so without it the step size would depend on the matrix's shape

The rescaled update has root-mean-square 0.2, inside the 0.2 to 0.4 range AdamW updates typically show, which lets Muon reuse AdamW's tuned learning rate and weight decay. Weight decay was the second fix: without it, Muon converged faster at first but some weights grew too large over long, over-trained runs; with it, Muon beat both vanilla Muon and AdamW.

Matrix (rows × columns)Orthogonal update RMS, 1/√maxMuon scale, 0.2√max
K2 routed expert, 7,168 × 2,0480.011816.93
K3 routed expert (latent), 3,584 × 3,0720.016711.97
K3 KDA query projection, 7,168 × 12,2880.009022.17
One K3 head's block under Per-Head Muon, 7,168 × 1280.011816.93

The same 0.2 target RMS for every shape; derived from the formula above (recompute.py).

Newton-Schulz by hand, Jordan's coefficients, the cost and the distributed version (depth)

X0 = M / ‖M‖F puts every singular value in (0, 1]; each step Xk = aX + b(XX⊤)X + c(XX⊤)2X keeps the singular vectors and maps each singular value σ to f(σ) = aσ + bσ3 + cσ5, with a, b, c = 3.4445, −4.7750, 2.0315, Keller Jordan's coefficients (Muon). They are tuned to pull small singular values up fast rather than converge exactly: the design target is a band of 0.7 to 1.3, which Jordan reports does not hurt the loss.

Worked example, singular values 3 and 0.3 (a 10 to 1 spread): ‖M‖F = √(9 + 0.09) = 3.015, so X0 has 0.9950 and 0.0995; f(0.9950) = 3.4445(0.9950) − 4.7750(0.9852) + 2.0315(0.9754) = 0.7047 and f(0.0995) = 0.3381, a spread of 2.08 to 1. Steps 2 to 5 give (1.1093, 0.9889), (0.7153, 0.7097), (1.0967, 1.1034), (0.7020, 0.7087): after 5 steps the spread is 0.991 to 1, and the pair keeps oscillating inside the band rather than settling at 1 (recompute.py). Both directions get the same step, where the raw momentum would have spent ten times more on the first.

Cost. A handful of matrix multiplies per weight per step; Jordan estimates the FLOP overhead below 1% for typical language-model training (0.5% for a Llama-405B-scale run). The awkward part is distributed: orthogonalisation needs the whole matrix while the training job holds it sharded, which is why Moonshot published a distributed implementation built on ZeRO-1 sharding (arXiv 2502.16982). K3's report replaces the all-gather of the whole parameter buffer with peer-to-peer fetches of only the shards each rank owns, cutting memory and communication (K3 report, §5.2.2).

QK-Clip: what Muon broke at scale

In a 53B-total, 9B-active test model trained with plain Muon, the largest attention logits passed 1,000 within a few thousand steps; logits that large saturate the softmax and are followed by loss spikes and occasional divergence, and Moonshot saw this more often with Muon than with AdamW (K2 report, §2.1). The usual fixes (owned by Normalisation, residuals and stability) do not fit K2: a logit soft-cap clips the logits, but the query-key products can still grow without bound before the cap applies; QK-Norm cannot be used with MLA, because MLA never materialises full per-head keys at inference, they are absorbed into the latent projection (Attention variants derives the absorption). QK-Clip acts on the weights instead, after the optimiser step, using the max logit the forward pass already computed. For each head h:

Predict, then watch: h3 reports 150 against τ = 100 and h5 reports 230. What happens to h2 at 88 under the per-head rule, and under a naive rule that clips the whole layer by its worst head? Steps 5 and 6 answer it. The eight maxima are illustrative; τ and the rule are K2's.

  1. Eight heads, one column each. Each column is one head's max logit Smax over the batch, from the forward pass the step already ran: 42, 88, 150, 64, 230, 97, 120 and 31 (the logits are illustrative). The grey plane is K2's τ = 100. In front of each head stand the weights that make its logits: its content query and key and its rotary query (orange and teal plates, query and key multiplying into the column); behind them, the rotary key every head shares (MLA's decoupled RoPE key).
  2. Without a clip, the maxima run away. Under plain Muon nothing pulls the offending heads back, and they keep growing (drawn 8 times taller here, illustrative; the scale pulls back to fit). In the 53B test model the real maxima passed 1,000 within a few thousand steps.
  3. Per head, γ = τ / S. After the optimiser step, each head above τ gets its own shrink factor: 0.667 for h3 at 150, 0.435 for h5 at 230, 0.833 for h7 at 120. The measured maximum flows back to that head's weights; the five heads below τ get γ = 1. Clipping is per head, not per layer, because only a few heads blow up.
  4. On MLA, four parts of one head. Closer on h3: its content query and key are each multiplied by 0.816 (√γ, so their product scales by γ), its rotary query by 0.667 (γ), and the shared rotary key is left alone, because scaling it would shrink every head at once. Both parts of that head's logit, content and rotary, then scale by γ.
  5. Each clipped head lands on τ. h3, h5 and h7 come back to exactly 100 (the dashed outlines show where they were); the five heads already below τ keep 42, 88, 64, 97 and 31. Only the weights change, for the next step.
  6. The naive rule: clip the whole layer. Scaling every head by the worst head's factor, γ = 0.435 from h5, shrinks the five healthy heads by 56.5% for no reason: h1's 42 becomes 18.3, h2's 88 becomes 38.3. This over-regularisation is what per-head clipping avoids.
Smaxh=1dmaxX∈Bmaxi,j𝐪ih⊤𝐤jh,γh=min(1,τSmaxh)Wqh←γhαWqh,Wkh←γh1−αWkh
B, X
the current batch, and a training sequence in it
i, j
token positions
d
the head dimension
τ
the threshold, 100 for K2
γh
the head's shrink factor
α
the split of the shrink between queries and keys, 0.5 (an equal split)

A logit is linear in both Wq and Wk, so the scaled weights multiply every logit of that head by γhαγh1−α = γh, bringing the max logit back to exactly τ. That step's forward and backward passes are unchanged.

What it removed. K2's 15.5T-token pretraining run of a model of 1.04T parameters showed no loss spikes at all (K2 report, Fig. 3), which at that scale means no weeks lost restarting from checkpoints. QK-Clip was only transiently active: in the first 70,000 steps 12.7% of attention heads triggered it at least once and were clamped to 100; after that every head's max logit stayed below 100 on its own and the clip never fired again, so the finished model is not shaped by it (Appendix D). The same appendix's small-scale ablations, including an aggressive τ = 30, showed no statistically significant loss penalty.

K3 keeps it, per head. K3 trains with Per-Head Muon "together with the weight-clipping mechanism introduced in Kimi K2", weight decay 0.1 and a cosine schedule (K3 report, §3.3). Per-Head Muon splits the Q, K and V projections' momentum matrices along the head dimension and orthogonalises each head's block separately, because full-matrix orthogonalisation lets heads with larger gradient scales dominate the shared update direction while small-scale heads are under-normalised; per head, every head gets an equal-scale update, and Newton-Schulz on tall per-head blocks is slightly cheaper (§2.5).

Adoption since: DeepSeek V4 trains most weight matrices with Muon (DeepSeek), Zhipu's GLM line also uses Muon-family optimisers (Zhipu: GLM), and K2 itself is fine-tuned with Muon, which Moonshot recommends for a Muon-pretrained checkpoint.

Kimi Delta Attention and the linear/full hybrid

Full softmax attention keeps every past key and value, so its cache grows with context and every decoded token reads all of it. A linear-attention layer instead keeps a fixed-size state matrix per head, at the price of capacity: writes superimpose and precise recall far back degrades. The recurrence, the delta rule and Gated DeltaNet (GDN), the design KDA extends, are owned by Beyond attention, whose "one state, five write rules" animation shows each write rule on the same words.

KDA, from the Kimi Linear paper (arXiv 2510.26692), is a gated delta-rule linear attention: each write first subtracts what the state retrieves for that key (so a new association overwrites the old one instead of piling on top), and learned decay makes old content fade. Kimi's contribution is the gate's granularity. GDN, like Mamba-2, has one forget rate per head per token, a scalar; KDA gives every key channel its own forget rate, a diagonal matrix, so a layer can keep one feature for thousands of tokens while flushing another at once.

Predict, then try: a fact sits under key channel 1 and scratch under channel 2; ten tokens then write elsewhere. With one scalar gate, can you keep the fact and lose the scratch? Per-channel gates of 0.99 and 0.5 keep 0.904 of the fact and 0.001 of the scratch; switch to GDN's scalar gate and it must pick one rate for both. The other preset, Overwrite, writes v1 = (1, 2) then v2 = (3, −1) under k = (1, 0): plain linear attention reads back the blend (4, 1), the delta rule the new value (3, −1).

The same thing as an equation, in Beyond attention's layout (the paper stores the transpose):

St=St−1Diag(𝛂t)(I−βt𝐤t𝐤t⊤)+βt𝐯t𝐤t⊤,𝐨t=St𝐪t
St
the head's state after token t, of size dv × dk (128 × 128 in K3)
kt, qt, vt
the token's key and query (dimension dk, L2-normalised) and value (dimension dv)
αt
the per-channel forget gate in (0, 1)dk, held in the diagonal matrix Diag(αt); GDN has a single scalar αt here
βt
the write strength in (0, 1)

Read right to left inside the first term: decay each key channel by its own rate, then erase what is stored under kt; the second term writes vt there.

The kernel, and what Kimi Linear's ablations kept (depth)

The transition is a diagonal-plus-low-rank (DPLR) matrix of a constrained form, and that constraint is what lets Moonshot's chunkwise-parallel kernel run on tensor cores with substantially less computation than a general DPLR kernel. Kimi Linear also adds a low-rank sigmoid output gate and a short convolution (kernel 4) on the queries, keys and values, both of which its ablations keep: without the gate validation perplexity rose from 5.65 to 5.67, with a swish gate instead to 5.81, without the convolution to 5.70.

One layer, one token: a fixed state against a growing cache

The stage follows a single token through one K3 attention layer: through KDA, where the state stays one fixed block per head, then through a full-attention (MLA) layer, where the cache gains an entry per token and every query reads all of them; the last step stacks K3's 93 layers. Its state values are illustrative, its layout real; the sizes are K3's, from the K3 config. The MLA explainer on Attention variants follows the full-attention side in more detail.

Predict, then watch: one KDA layer's state is 96 × 128 × 128 numbers; one MLA entry is 576. At about how many tokens does an MLA layer's cache pass the KDA state? In step 7 the two cross near 2,700 tokens.

  1. A token arrives. Token t enters one of K3's 69 KDA layers as its hidden state ht, 7,168 numbers (front left). Each of the 96 heads projects it to a query, a key and a value of 128 numbers (after a short convolution, Swish and, for q and k, L2 normalisation), a write strength β and a forget rate for each of the 128 key channels. The field is one head's state, 128 × 128 = 16,384 numbers drawn as one bar per 8 × 8 block, holding everything earlier tokens wrote; whatever the context length, it is this size.
  2. Decay, channel by channel. Diag(αt) multiplies each key-channel row of the state by its own rate (green, on the right; the rates are illustrative, and K3 bounds every one above e−5 ≈ 0.0067): rows fade at different rates. Rows near 1 keep their content for thousands of tokens; rows near 0.5 are flushed within a few. Gated DeltaNet would fade every row by the same scalar.
  3. Erase what the key retrieves. The delta rule subtracts βk(k⊤S): whatever the state currently returns for this key (k, on the left) is removed along the rows where k is large. This is what lets a new association overwrite an old one instead of piling on top.
  4. Write the new value. The outer product βkv⊤ writes the token's value (v, at the back) into the same rows. The state has changed in place; its size has not: still 16,384 numbers per head, 1,572,864 for the layer's 96 heads.
  5. Read with the query. The output is o = S⊤q (q on the left, o at the front), then a full-rank sigmoid gate and the output projection. A decoded token reads the whole state once per head: 1,572,864 numbers for the layer, the same at token 10 as at token 1,000,000.
  6. The same token through a full-attention layer. In one of K3's 24 Gated MLA layers, WDKV maps ht to the 512-number latent plus a 64-number key part shared by all 96 heads (not rotated: NoPE), one 576-number entry, and appends it: the cache gains an entry per token. Drawn to the KDA block's scale (equal cross-sections, so length is numbers stored), at 4,096 tokens it holds 2,359,296. In decode the up-projections are absorbed into the query side, so all 96 query heads read every entry, 576 × t numbers, every token.
  7. Let the context grow. The sweep runs the context to 16,384 tokens. The KDA layer stays at 1,572,864 numbers (plus 110,592 of short-convolution state); the MLA cache grows by 576 per token, passes it at about 2,731 tokens and keeps going: at K3's 1,048,576 it would hold 603,979,776 numbers, 384 times as much, far off the card.
  8. The K3 stack. K3 interleaves 3 KDA layers with 1 Gated MLA layer, 23 times, then closes with one more MLA layer: 69 + 24 = 93. Only the 24 MLA layers grow with context, so per token the stack stores 24 × 576 = 13,824 numbers against 53,568 for an all-MLA 93-layer stack; with the 69 fixed states added, that is a 74.0% cut at 1M tokens counted in numbers (73.8% in bytes if the state is kept in FP32), approaching 1 − 24/93 = 74.2% as the context grows.

The hybrid: three KDA layers, then one full MLA layer

Kimi Linear ablated the ratio on the same 1.4T-token recipe: 3:1 had the lowest validation perplexity (5.65); 7:1 matched its training loss but generalised worse (5.70); 1:1 was about as good (5.66) at a higher inference cost; pure full attention was worst (5.77), and 15:1 worse still (5.82). The full layers keep an exact, lossless recall path for retrieval and copying; the KDA layers carry most of the depth at constant memory.

No positions in the full layers. The MLA layers use no positional encoding at all (NoPE): KDA's decay is itself position-aware, so position and recency are handed entirely to the KDA layers. With nothing rotated, MLA needs no decoupled RoPE key, so these layers run as plain multi-query attention at inference (why: Attention variants), and the RoPE adjustments that long-context training otherwise needs (frequency-base tuning, YaRN: Positional encodings) disappear; K3 extrapolates to 1M tokens "without any positional-encoding modification" (K3 report, §3.4).

The payoff, against a full-MLA baseline trained the same way on 1.4T tokens: up to 75% less KV cache, up to 6 times the decoding throughput at 1M-token context (time per output token 1.84 ms against 11.48 ms, 6.3×), and equal or better quality on short-context, long-context and RL-style evaluations. It costs custom chunked-parallel kernels (needed to use tensor cores at all), and any capability that depends on exact long-range recall now leans on the one-in-four full layers.

Three KDA layers per full layer beat both more and fewer

Kimi Linear Table 1 (arXiv 2510.26692). Horizontal axis: share of layers that keep a growing cache, 1/(r + 1) for an r:1 ratio. K3's 24 of 93 is marked for reference; it was not part of the ablation.

Where "up to 75%" comes from

Only full-attention layers grow a cache, so with r KDA layers per full layer the cache is 1/(r + 1) of an all-full stack of the same shape: 1/4 at 3:1, a 75% cut. In K3, 24/93 = 25.8% of the layers cache, about a 74% cut against an all-MLA 93-layer stack, plus a fixed KDA state per request that does not grow with context: 96 heads × 128 × 128 = 1,572,864 numbers per KDA layer, 108.5 million over 69 layers. That state is why the cut is "up to": at 1M tokens it is 74.0% counted in numbers, 73.8% in bytes if the state is kept in FP32, but below a few thousand tokens the hybrid holds more than an all-MLA stack would. (How to size any model's cache: Long context.)

The hybrid holds more than all-MLA at short context and about a quarter at 1M

Per sequence: a Gated MLA layer caches 576 numbers per token (the 512-number latent plus the 64-number shared key part, not rotated under NoPE); a KDA layer holds a fixed 96 × 128 × 128 state plus 3 tokens of short-convolution state for its queries, keys and values. Cache in BF16; the KDA state's precision is not stated by Moonshot, so it is a switch.

Defaults: the cut at 1,048,576 tokens is 73.8% with an FP32 state (limit 1 − 24/93 = 74.2%), matching "about a 74% cut" by construction from the config. Kimi Linear's "up to 75%" is the same arithmetic at exactly 3:1. Counts per sequence, all heads, all layers.

What K3 changed in the hybrid

From the K3 report, §2.1:

  • A bounded decay (config gate_lower_bound −5), so every chunk of the kernel runs as a dense tensor-core matrix multiply instead of a slow position-pair path.
  • Full-rank gates: KDA's output gate becomes a full-rank projection, and the MLA layers get the same kind of channel-wise sigmoid gate on their output, hence "Gated MLA" (output gates across models: Attention variants, sinks and gates).
  • One extra global layer: the 3:1 pattern repeats 23 times (92 layers) and one more Gated MLA layer closes the stack so the final layer always attends globally: 69 KDA plus 24 MLA, 93 layers (config full_attn_layers ends 92, 93).

K3.1 Pro swaps the global layers. Its released config keeps the 69 KDA layers and replaces the 24 Gated MLA layers with Gated DeepSeek Sparse Attention (Gated DSA): a small indexer (32 heads of dimension 128) scores every cached token and each query attends to only the top 2,048, so a global layer's attention work per token stops growing with context, though its cache still keeps an entry for every token (model card). Both halves of the hybrid are now mechanisms other labs ship: DSA and its indexer are taught on Attention variants, the linear side on Beyond attention.

Why the decay had to be bounded, and the full-rank gate's formula (depth)

Kimi Linear maps the gate logit to a log-decay with g = −eA Softplus(z), which is unbounded below; the chunkwise kernel rescales keys by the reciprocal of the cumulative decay, which can overflow, so the diagonal 16-token tiles needed a slow position-pair path. K3 uses g = gmin Sigmoid(eAz) with gmin = −5: every retention factor exceeds e−5 ≈ 0.0067, a 16-token tile's cumulative log-decay stays in (−80, 0), the reciprocal stays below e80 inside BF16's range, and every tile runs as a dense tensor-core matrix multiply. The full-rank output gate: y = Wo[Sigmoid(Wgx) ⊙ RMSNorm(õ)].

The trillion-scale shape: sparsity, heads and the latent experts

The mixture-of-experts mechanism (routers, top-k, shared experts, load balancing, and why quality tracks total parameters while decode cost tracks active parameters) is on Mixture of experts. What Kimi changed against the DeepSeek-V3 template, cell by cell (highlighted cells differ from DeepSeek-V3):

SettingDeepSeek-V3Kimi K2Kimi Linear 48BKimi K3
Total / active parameters671B / 37B1.04T / 32.6B48B / 3B2.8T / 104B (card); 2.78T / 104.2B (report)
Layers616127 (20 KDA + 7 MLA)93 (69 KDA + 24 Gated MLA)
Hidden size7,1687,1682,3047,168
AttentionMLA, RoPE + YaRN to 128kMLA, RoPE + YaRN to 128kKDA 3:1 MLA, NoPEKDA 3:1 Gated MLA, NoPE, final MLA layer
Attention heads128643296
MLA latent + shared key512 + 64512 + 64512 + 64512 + 64
Routed experts / active per token256 / 8384 / 8256 / 8896 / 16
Expert hidden size2,0482,0481,0243,072, inside a 3,584-wide latent
Shared experts1112
Dense (non-MoE) layers3111
Expert grouping in routingyesnonono (one group in the config)
ActivationSwiGLUSwiGLUSwiGLUSiTU-GLU
ResidualsumsumsumBlock AttnRes, 12 layers per block
Context128k128k1M1M
Released weightsFP8FP8 blocksBF16MXFP4 experts, BF16 rest

Sources: DeepSeek-V3's column is the K2 report Table 2; the others are read from each config (K2 config, Kimi Linear config, K3 config: first_k_dense_replace 1, num_expert_group 1; Kimi Linear's expert count and shared experts from num_experts, num_shared_experts) and the K3 report Table 1. An earlier version of this page listed K3's dense layers and grouping as "not stated", from the card alone; the report and config now state them.

More experts, same active count, and half the heads

The stage puts one MoE layer of each model on the same scale, from the configs: each routed expert is a slab whose area is its weights (input width by hidden width), so the shapes Moonshot chose can be compared by eye.

  1. DeepSeek-V3, the template. 256 routed experts, each 7,168 in by 2,048 hidden (3 × 7,168 × 2,048 = 44,040,192 weights), 8 active per token (lit; which ones is illustrative) plus 1 shared expert every token uses (green, in front). Behind them, the layer's attention heads.
  2. K2: more experts, same active count. 384 routed experts, still 8 active plus 1 shared: expert sparsity 384 / 8 = 48. Moonshot fitted a sparsity scaling law with Muon: holding active experts at 8 (plus 1 shared) and FLOPs constant, raising the total kept lowering loss; to reach a validation loss of 1.5, sparsity 48 needed 1.69×, 1.39× and 1.15× fewer FLOPs than sparsity 8, 16 and 32 (K2 report, §2.3). K2 stopped at 48, the point where the gain stopped paying for the infrastructure complexity.
  3. K2: half the heads. DeepSeek-V3 used 128 heads, about twice its layer count; K2 uses 64. Moonshot measured that doubling heads from 64 to 128 lowered validation loss by only 0.5% to 1.2%, while at 128k context it raised inference FLOPs by 83% (with 384 experts fixed), and agentic workloads live at long context. K3's card lists 96.
  4. K3: 896 narrower experts behind a latent. 896 routed experts, 16 active (sparsity 56), 2 shared experts at full width, 96 heads. The routed experts read a 3,584-wide latent made by the shared down-projection W↓ (purple; 7,168 to 3,584) and return through W↑, so each is 3,584 in by 3,072 hidden (3 × 3,584 × 3,072 = 33,030,144 weights) and what a token sends to its 16 experts is half as wide. The card credits this Stable LatentMoE, with KDA, AttnRes and refined training and data recipes, for an approximate 2.5× improvement in overall scaling efficiency over K2.

With hundreds of small experts the MoE page's costs sharpen: load imbalance, all-to-all traffic per token, every expert resident in memory, and each expert seeing proportionally fewer tokens.

Two sparsity numbers

K2's expert sparsity is 384 / 8 = 48, but its parameter ratio is 1.04T / 32.6B = 31.9, because attention, embeddings and the shared expert are always active. K3: 896 / 16 = 56 for experts, 2.8T / 104B = 26.9 for parameters (26.7 with the report's 2.78T / 104.2B). K3 is sparser than K2 by the first measure and less sparse by the second; quote which one you mean. Where the parameters live, rebuilt from each config:

Routed experts are 98% of K3's weights but under half of what a token uses

Every part's formula, and what the totals reproduce (depth)
  • K3's routed experts, 92 MoE layers × 896 × 3 × 3,584 × 3,072 = 2,722,740,830,208, equal to Hugging Face's count of MXFP4 parameters exactly (independent; Hugging Face API).
  • K3 active per token, counting the output head but not the input-embedding lookup, 104.19B, reproducing the report's 104.2B (independent). Including the lookup gives 105.4B.
  • K2's config sums to 1.0264T, equal to Hugging Face's 1,026,408,235,864 (Hugging Face API). The report's 1.04T is not what the released config holds; adding the one multi-token-prediction module that K3's report lists for K2 gives 1.044T, a reconstruction (unconfirmed). K2's 32.6B active is not reproduced exactly: 31.7B without that module, 32.3B with it.

Computed in the page from the released configuration files and the module shapes in K3's modeling code; checked in recompute.py.

Stable LatentMoE: experts in a half-width latent

In a conventional MoE each selected expert receives the full d-wide token, so communication and expert-weight traffic grow with the number of experts each token visits. LatentMoE separates the two widths: shared experts keep a full-width path, while routed experts work in a compact latent of width ℓ (3,584, half of 7,168) (K3 report, §2.3):

𝐮=∑i∈Tk(𝐱)piEirouted(W↓𝐱),𝐲=∑j=1NsEjshared(𝐱)+W↑RMSNorm(𝐮)
W↓, W↑
the shared down-projection to the latent and up-projection back (7,168 × 3,584 each)
Tk(x), pi
the 16 selected experts and their renormalised router weights
Ns
the 2 full-width shared experts

"Stable" names three fixes for failure modes that get worse at 896 experts. The routed path chains W↓, a gated expert network and W↑ into nearly four consecutive matrix multiplies, which at 2.8T scale produced exploding internal activations; an RMSNorm before the up-projection (which also improved validation loss and benchmarks) and SiTU-GLU, a SwiGLU whose gate and up branches are each soft-capped with β tanh(x/β) (β1 = 4, β2 = 25, so the output is bounded by β1β2 = 100 while it tracks SwiGLU near the origin), suppress it. And balancing nearly 103 experts exceeds the regime where DeepSeek's fixed-step bias update behaves, so K3 uses Quantile Balancing: each expert's routing bias is set directly from the quantile of router-score margins that would give it exactly its target load, q = mk/n tokens.

Predict, then try: 16 tokens choose among 4 experts with skewed router scores (illustrative). Which update reaches equal loads first? Press the Quantile Balancing step a few times: it jumps most of the way to the target from one pass and settles within a token of it after two or three, with no step size to tune. Reset and press the fixed-step update instead: it creeps, then keeps oscillating, faster or slower with γ.

The Quantile Balancing update (depth)
b^j(t+1)←−quantile1−k/n(s:,j−𝛂(t)),b(t+1)←b^(t+1)−mean(b^(t+1))
si,j
token i's sigmoid router score for expert j; the bias steers which experts are chosen but is left out of the mixture weights p
αi
token i's cutoff: its (k + 1)-th largest biased score, from routing top-(k + 1) instead of top-k
m, n, k
tokens in the batch, experts, experts per token

The new bias takes effect only in the next step, so a batch is never routed with a bias derived from itself; at scale the quantile is read from per-expert histograms summed with one all-reduce, and the final bias is frozen at inference. DeepSeek-V3's rule instead nudges each bias by a fixed γ towards the mean load, trading slow adaptation against oscillation.

Attention Residuals: attention across depth

Attention Residuals (arXiv 2603.15031, March 2026) change the residual stream itself. In a standard PreNorm transformer each layer adds its output to a running sum, hl = hl−1 + fl−1(hl−1), so layer l sees the embedding plus every earlier output with weight exactly 1. Two problems follow: the sum's magnitude grows roughly linearly with depth, diluting each new layer's contribution (later layers learn ever larger outputs to be heard, which can destabilise training), and no layer can pick out one earlier layer's output once it has been summed in. Moonshot's observation is that this is the depth-wise analogue of an RNN compressing a sequence into one state, and the fix is the one attention brought to sequences. (Other attempts at the stream, such as DeepSeek's mHC, are on Normalisation, residuals and stability.)

Predict, then watch: at layer 40 of K3, how many vectors does each scheme keep per token? The plain residual keeps one running sum, Full AttnRes every earlier output, Block AttnRes at most 9. The "trained" weights in step 4 are illustrative: only their shape (a softmax over sources) is real.

  1. The plain residual: one running sum. Each sublayer output is a plate along depth (attention and MLP sublayers count as separate layers), the gold plate the token embedding. The input to layer 40's attention sublayer is the sum of all 79 before it, each with weight exactly 1: the sum grows roughly linearly with depth (grey), so each new output is diluted, and once summed no layer can pick out one earlier output.
  2. Full AttnRes: a softmax over depth. Layer 40 attends back over all 79 earlier outputs instead, with weights from its learned pseudo-query against each RMS-normalised output. The pseudo-queries start at zero, so at initialisation every source gets 1/79 and the model starts out behaving like a standard transformer. The price: all 79 vectors kept per token, 79 × 7,168 × 2 = 1,132,544 bytes in BF16, and shipped between pipeline stages.
  3. Block AttnRes: sum inside a block, attend across blocks. Production groups the layers into blocks of 12 layers: inside a block the outputs are summed as usual into one summary plate, and the softmax runs over the block summaries and the embedding. At layer 40 that is 5 sources (the embedding, blocks 1 to 3 and block 4 so far), 0.2 each at initialisation, 5 × 7,168 × 2 = 71,680 bytes per token.
  4. Trained, the weights differ by token. Training moves the pseudo-query off zero, so the weights stop being uniform, and because they depend on the token's own outputs, different tokens can retrieve different depths (here 71% on the current block; the weights are illustrative). No token attends to another token through them.
  5. K3: 8 blocks and the embedding. K3 partitions its 93 layers into 8 blocks of 12 (the last block partial, 9 layers), "9 total blocks when counting the embedding" (K3 report, §2.2), so its last layers mix 9 sources. Its EAGLE-3 draft model reads features from the 1st, 4th and final blocks.
𝐡l=∑i=0l−1αi→l𝐯i,αi→l=exp(𝐰l⊤RMSNorm(𝐯i))∑j=0l−1exp(𝐰l⊤RMSNorm(𝐯j))
hl
the input to layer l
v0, vi
the token embedding, and the output fi(hi) of layer i (attention and MLP sublayers count as separate layers; K3's checkpoint has one pseudo-query for each)
αi→l
the weight layer l puts on source i
wl
a single learned pseudo-query per layer, a d-dimensional vector

The RMSNorm on the keys stops a large-magnitude layer from dominating the weights by size alone. The weights depend on the token, because the vi do, so different tokens can retrieve different depths; no token attends to another through them. The cost per layer is one d-dimensional vector of parameters. The pseudo-queries start at zero, so training begins with uniform weights: at layer 4, the four sources each get 0.25, the standard residual sum divided by 4, a scale the next RMSNorm removes, so the model starts out behaving like a standard transformer.

Block AttnRes in production. At scale every layer's output would have to be kept and, under pipeline parallelism, shipped between stages, so production groups layers into about 8 blocks, sums outputs inside a block as usual, and runs the softmax only over the block summaries and the embedding, cutting memory and communication from one vector per layer to one per block. Moonshot reports Block AttnRes matching a baseline trained with 1.25× more compute, under 4% end-to-end training overhead with pipeline parallelism, under 2% inference latency overhead, and bounded hidden-state magnitudes with gradients spread more evenly across depth. It was validated on the Kimi Linear 48B architecture over 1.4T tokens before K3 adopted it.

Low precision as a release format, not a post-processing step

Moonshot ships its models natively quantised: the published checkpoint is the deployable one, trained to tolerate its own precision (formats, PTQ against QAT and the hardware: Quantization and Precision). Weight memory is bytes = Σparts Npart × bpart / 8, with N each part's parameter count and b the bits stored per weight, including its share of any per-block scale.

Worked example: K3's weights. At BF16, 2.78 × 1012 × 2 = 5.56 TB. MXFP4 stores 4-bit elements plus one 8-bit scale per block of 32, so b = 4 + 8/32 = 4.25. But only the routed experts are MXFP4: 2,722,740,830,208 of them, 98% of the parameters; attention, the latent projections, shared experts, routers, embeddings and the vision encoder stay in higher precision (K3 report, §4.1.4; config ignore list). So the weights take 2.7227 × 1012 × 4.25/8 + 57.18 × 109 × 2 = 1.561 TB, the checkpoint's published size to the byte (safetensors index): about 28% of BF16, the difference between a model a few labs can run and one a well-equipped team can serve. An earlier version of this page put every weight at 4.25 bits and got 1.49 TB.

INT4 QAT, K2 Thinking. Moonshot applied quantisation-aware training in the post-training stage, with weight-only INT4 on the MoE components, which hold nearly all the parameters (model card). The forward pass sees the 4-bit weights while training continues, so the model adapts to the coarse grid instead of being rounded onto it afterwards. It matters most for reasoning models: post-training quantisation introduces small per-step errors that compound over long chains of dependent reasoning steps, so the loss shows up far more in long chains than in short answers. Moonshot reports a lossless 2× speed-up in low-latency mode, since decode is memory-bandwidth-bound and the expert weights are a quarter of their BF16 size; all its benchmark results are reported at INT4.

MXFP4, K3. K3 ships MXFP4 expert weights with MXFP8 activations, trained in with QAT from the SFT stage onward and through RL, with rollout and training sharing the same quantisation so there is no train-inference mismatch (model card; report §4.1.4). Block-wise scaling is what makes 4 bits survivable: an outlier distorts only its own 32-value block instead of the whole tensor's resolution, and the format has native tensor-core support on Blackwell-class hardware, so it is fast rather than merely small. Shipping the flagship as an MXFP4 checkpoint is how a 2.8T model gets to be practically open-weight.

Only the experts are 4-bit, and that is enough to cut K3 to 28% of BF16

MXFP4 is 4.25 bits; FP8 with K2's 128 × 128 block scales is about 8 bits. Model: the K3/K2 switch in the parameter card above.

Defaults reproduce K3's checkpoint, 1,560,860,324,864 bytes, equal to the safetensors index total exactly (independent arithmetic on Hugging Face's per-dtype counts).

Post-training: manufacturing agentic data, and rewards where no checker exists

There is very little naturally occurring data for multi-step tool use, so Moonshot manufactures it (K2 report, §3.1.1), as large-scale rejection sampling in three stages (the diagram).

The kept trajectories feed supervised fine-tuning. Reinforcement learning then runs in a Gym-like framework over many tasks with verifiable rewards (tests, checkers), the RLVR recipe owned by RL for LLMs: RLHF, GRPO, RLVR, with K1.5's policy objective optimised with Muon. Three additions keep it stable across domains: a per-task token budget, with responses that exceed it truncated and penalised (RL otherwise inflates lengths everywhere, including where thinking does not pay); an auxiliary loss on hand-picked high-quality data (PTX) so RL does not erase it; and a sampling temperature that starts high for exploration and decays.

K2's policy objective, from K1.5 (depth)
LRL(θ)=𝔼x∼D[1K∑i=1K(r(x,yi)−r‾(x)−τlogπθ(yi∣x)πold(yi∣x))2]
x, D
a prompt, and the task distribution it is drawn from
y1 … yK
K responses sampled from the previous policy πold
r(x, yi), r̄(x)
response i's reward, and the mean reward of the K samples (a group baseline, as in GRPO)
πθ, τ
the policy being trained, and a regulariser τ > 0 that keeps it near πold

Minimising the squared term pushes each response's log-probability ratio towards its advantage divided by τ.

The self-critique rubric reward. Where no automatic checker exists (writing quality, judgement, following a complex instruction), the model, bootstrapped as a judge during supervised fine-tuning, ranks its own candidate responses by pairwise comparison against rubrics (core values, prescriptive rubrics written to block known reward hacks, and human-written rubrics for specific instructions), and the ranking becomes the reward. It buys reward coverage over the large fraction of real work that is not verifiable, and costs the honesty of the grader: a policy trained against a judge derived from itself has an obvious incentive to learn what the judge likes. Moonshot's mitigation is to keep retraining the critic on on-policy rollouts from verifiable tasks, so its judgement stays tied to outcomes that can be checked. What defeats that is any quality the verifiable tasks never exercise, such as style in creative writing, where nothing anchors the critic (Reward Hacking owns the general failure).

The thinking variants are additionally trained for interleaved reasoning, alternating reasoning and tool calls rather than thinking once and then acting, which is what agentic browsing benchmarks reward. K2 Thinking's card claims coherent behaviour across 200 to 300 consecutive tool calls, where prior models degraded after 30 to 50 (model card); test-time compute in general is on Test-time compute and reasoning.

Agentic data is manufactured in three stages, then filtered
1. ToolsMore than 3,000 real MCP (Model Context Protocol) tool specs taken from GitHub, plus over 20,000 synthetic tools evolved from a hierarchy of categories and domains (financial trading, robot control, software applications and so on).
2. Agents and tasksThousands of agents, each a generated system prompt with a sampled tool set, and for each agent tasks from simple to complex, every task paired with an explicit rubric: success criteria, expected tool-use pattern and checkpoints.
3. TrajectoriesLLM-simulated users with distinct personas hold multi-turn conversations with the agent; a tool simulator, in effect a world model, executes calls, keeps state across them and injects controlled randomness (partial failures, edge cases). An LLM judge scores each trajectory against its rubric and only successes are kept. Coding and software-engineering tasks run in real sandboxes instead, scored by test pass rates.

K2 report, §3.1.1.

What K3 added

K3 adds nine RL experts distilled into one student (K3 report, §4): one expert per domain and reasoning effort, then a single model taught by all nine (the diagram).

How effort, unverifiable rewards and long rollouts are trained in K3 (depth)

Effort is trained with a per-problem budget: a trajectory longer than τ · b0(x), with b0 estimated from the cold-start model, gets reward −1, and annealing τ down yields the high and low experts. For non-verifiable tasks an agentic generative reward model reads the output, writes a rubric, scores each candidate and records the scores, with a verbosity budget under which an over-long candidate automatically loses its comparison. Rollouts pause when a fraction of trajectories finish and resume next iteration from resumable microVM sandboxes. K3 always thinks; its API takes reasoning_effort low, high or max (default max), and the full assistant message, reasoning included, must be passed back each turn (model card).

One domain expert per effort level, then one model that learns from all nine
SFT on trajectories synthesised by earlier domain-specialised Kimi models
low
high
max
General tasks
RL
RL
RL
General agents
RL
RL
RL
Coding agents
RL
RL
RL
One student: multi-teacher on-policy distillation, rewarded per token by the clipped log-ratio of the matching teacher's probability to its own

Columns are reasoning efforts. Distillation in general: Distillation and small language models.

Kimi K3.1 Pro today, and where it ranks

K3 (July 2026) is the architecture: 2.8T total / 104B active, Kimi Delta Attention in 69 of its 93 layers, Attention Residuals, 1M context, native vision (a 401M MoonViT-V2 encoder trained from scratch with next-token prediction), shipped as a native MXFP4 checkpoint. Kimi K3.1 Pro (23 October 2026) is K3's MoE and KDA layers with Gated DSA in place of Gated MLA in the 24 global layers and "substantially larger" post-training compute (no figure given): 2.8T total / 104B active, 1M context, text and image in, reasoning levels low, medium and max, shipped like K3 as MXFP4 weights with MXFP8 activations from quantisation-aware training. It launched on the API (kimi-k3.1-pro, and kimi-k3.1-pro-highspeed, 2 to 3 times faster at twice the price except cache hits), and its weights followed on Hugging Face in the first days of November under the Kimi K3.1 Pro License, servable by vLLM, SGLang and TokenSpeed (Kimi blog, model card). On Artificial Analysis's index v4.3.2 it scored 55, fourth of all models and 11 points above K3; on the rebuilt v5 (27 October 2026, a new scale) it scores 46, the best open-weight model there (dated readings below). Its rank depends on the ruler, so each reading below carries its version and date and none is joined to another.

Fact or measure (version, date) volatileKimiReference points
API price, per million tokens: K3.1 Pro from 23 October 2026, K3 read 1 October 2026 (Kimi blog)K3.1 Pro: $2.00 input, $0.20 cache hit, $10.00 output, 33% below K3's $3.00 input (cache miss), $0.30 cache hit, $15.00 outputGPT-6.1 Sol the same headline price; Claude Opus 5.5 $4 / $20
AA Intelligence Index v5.0.1 (new scale from 27 October 2026), read 16 November 2026 (Artificial Analysis)K3.1 Pro 46: the best open-weight model, 19 points behind the topClaude Fable 5.2 65, Gemini 4 Carbon 60, Claude Opus 5.5 59; next open weights DeepSeek V4.1 Flash 1017 33, GLM-5.3 32, Inkling 2 Small 31
Vals Index, updated 15 November 2026 (Vals AI)K3.1 Pro 62.52%: 12thClaude Fable 5.2 71.31% first; Qwen4 Max 63.20% 11th
AA Intelligence Index v4.3.2, read 26 October 2026 (Artificial Analysis)K3.1 Pro 55: 4th overall, $1.98 per index taskClaude Opus 5.5 58, Claude Sonnet 5.5 56, Muse Wonder Full 56; K3 44
Terminal-Bench 4.0, three harnesses (read 24 to 26 October 2026)K3.1 Pro: 67% in AA's run (the highest of any model there; K3 13%); 63.64% on Vals AI's mini-swe-agent (one bash tool, avg@3), 3rd, at $4.57 a test; 65.7% in the Claude Code harness (Moonshot's own run, vendor)Vals: Opus 5.5 65.15% at $13.20 a test, Sonnet 5.5 64.14%; Moonshot's run: Opus 5.5 66.4%, GPT-6 Astra 58.2%
Still served: K2.7 Code (coding, 1.03T checkpoint), K2 Thinking (INT4 QAT) and K2.5 (multimodal), both 1T / 32B; Kimi Linear 48B / 3B is the research testbedlineup as of 1 October 2026
Hardware that drew the starting weights, read from untouched embedding rows (checkpoint forensics, report of 12 November 2026, read 27 November 2026; our reading)K2, K2.5 (and K2.6, same initialisation): a 132-SM layout, Hopper, consistent with the H800s Moonshot disclosed; K3 and K3.1 Pro (K3's seed): a 152-SM layout, which the report assigns to the GB200 or GB300; K2.7 Code a blend, about 80% K2.5's Hopper values and 20% a new 148-SM draw in every row, read as a merged checkpointDeepSeek V3 132, V4-Flash 148, V4-Pro 152; MiniMax M3 148. An inference about which hardware drew the starting weights, not where the chips were, who owned them or that the whole run used them
AA Intelligence Index v4.1, 23 July 2026 (K3 report, Table 5)57.1: 4th of 580 overall, first open weightsClaude Fable 5 59.9, GPT-5.6 Sol 58.9, GLM-5.2 51.1
AA Intelligence Index v4.3, read 1 October 2026 (Artificial Analysis)43.6: 3rd among open weightsMiMo-V2.6-Pro 46.3, GLM-5.3 44.8; best overall Claude Opus 5.5 57.6
Real-SWE, private enterprise codebases, as quoted 25 September 2026 (DEV Community, citing Specific Labs)18.8%: 7th of 8GLM 5.3 28.8%, Fable 5.1 38.8%
Real-SWE leaderboard, read 1 October 2026, pass@1 over 8 runs (Specific Labs)20.00%: 8th of 8GLM 5.3 37.50%, GPT-6 Astra 46.25%
WebDev Arena, 23 July 2026 (K3 report, Table 5)1,678 Elo: 1st of 99, first open model to top itClaude Fable 5 1,634
Phi-Bench, infrastructure-engineering tasks28.12% unconfirmedClaude Opus 5 36.53% (no source located for this pair)

An open release with the cyber capability taken out. For K3.1 Pro's open release Moonshot "identified and removed" cyber-related data from both mid-training and RL while keeping general coding data. On its internal xdev-bench-hard (pass@3, exploitation tasks) the checkpoint trained without the removal scores 90.5, the released K3.1 Pro 81.0 and K3 33.3 (vendor claim, not independently checked). The stated rule is not to "release open weights that would extend the absolute frontier of cyber capability": capability, not only the licence, now decides what goes into an open checkpoint.

The licence. K2's is a modified MIT licence: MIT terms plus a requirement to display "Kimi K2" in products above 100 million monthly active users or 20 million US dollars in monthly revenue (K2 licence). K3 has its own, stricter Kimi K3 License: the same display rule, and a "Model as a Service" business above 20 million US dollars of group revenue must sign a separate agreement before commercial use. The Kimi K3.1 Pro License keeps both conditions for its weights (a model-as-a-service business above 20 million dollars of revenue in any 12 months needs a separate agreement; products above 100 million monthly active users or 20 million dollars of monthly revenue must display "Kimi K3.1-Pro"), with the same exemptions (licence).

Reading the rankings, the licence's exemptions, and what others build on K3 (depth, volatile)

The v4.3 index rescaled every score after GPQA Diamond was dropped and Terminal-Bench moved from 2.1 to 4.0, so 57.1 and 43.6 are on different scales, not a decline (detail on Other notable providers). By lab, taking each lab's best v4.3 model, K3 left Moonshot 10th on 1 October, behind Anthropic, OpenAI, Google, Meta, SpaceXAI, Xiaomi, Alibaba, Zhipu and StepFun (43.7); K3.1 Pro lifted it to third on v4.3.2, behind only Anthropic and Meta (26 October). An earlier ranking on the reranked v4.2 had put Moonshot above Zhipu and Google, and AA no longer shows v4.2. Moonshot's own card reports 81.2 on FrontierSWE and 88.3 on Terminal-Bench 2.1, the 2.x line that Terminal-Bench 4.0 has since replaced, so the two are not comparable. The two Real-SWE readings, a week apart, disagree on both models; GLM 5.3 leads K3 in each. Which open model "leads" is now a question about the benchmark, not about the models.

Licence detail. The Model-as-a-Service condition covers a licensee offering third-party inference or fine-tuning access, for example by API, whose group revenue exceeds 20 million US dollars over any 12 consecutive months. Products that merely embed the model in their own features, and relays of requests to models hosted by others, do not count as Model as a Service; internal use, and access through Moonshot's own products or certified inference partners, are exempt from both conditions (licence).

Cognition SWE-2 (10 September 2026) is K3 post-trained with reinforcement learning into a coding agent, the clearest evidence that the weights matter: a third party productised them. It reports FrontierCode 1.1 Main at 50.0% against Claude Fable 5.1's 50.9% at a claimed 64% lower cost. The training result is more interesting than the score: every selectable reasoning-effort level was trained in a single RL run, with a linear cost penalty per effort level tuned to the slope of K3's own cost-quality frontier, and SWE-2 medium used 58% fewer turns and cost 81% less than SWE-1.7 for the same work. Its card is also a clean example of benchmark version skew, quoting Terminal-Bench 2.1 at 92.8% and Terminal-Bench 4 at 27.3% for one model, about 30 points behind Fable 5.1 (55.8%) and GPT-6 Astra (57.9%) on the newer test. No open weights or standalone API are announced: it ships in Devin Desktop and CLI, rolling out to Devin Web and Fusion (Cognition).

Misreadings worth avoiding (depth)
  • "Muon replaces AdamW everywhere." It handles 2D hidden-layer matrices only; embeddings, the output head and norm gains stay on AdamW.
  • "Muon makes the update exactly orthogonal." Five tuned Newton-Schulz steps leave singular values spread around 1 (roughly 0.7 to 1.2 in practice, inside Jordan's 0.7 to 1.3 target), by design.
  • "QK-Clip clips logits." It rescales weights after the step; a logit soft-cap is the method that clips logits.
  • "A linear-attention layer always uses less memory than a cache." Its state is fixed, not small: a K3 KDA layer holds 1,572,864 numbers per request, as much as an MLA layer's cache at about 2,700 tokens.
  • "The 4-bit checkpoint is a community quantisation." The 4-bit weights are the trained release format, and only the routed experts are 4-bit: the other 57 billion parameters stay in higher precision, which is why the checkpoint is 1.56 TB rather than 1.49 TB.
Sources are linked where each fact appears. Derived numbers are recomputed in the page from config.json values and the formulas shown; illustrative inputs are labelled. Snapshot: 1 October 2026.