Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Meituan · Architecture map

LongCat-Flash-Lite

A 14-layer shortcut stack with two attention blocks per layer and a 31.4B-parameter n-gram embedding table.

LongCat-Flash-Lite, January 2026 · LongCat release timeline

Inside LongCat-Flash-Lite

Parameters
68.5B · 4.5B active
Layers
14
Width
3,072
Mixer
Latent
Select a component to explore it.
The complete LongCat-Flash-Lite architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768). A 512-value KV latent plus a 64-value rotary key per token per layer, in each of the 28 attention blocks. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup131,0723,072Each token's embedding is averaged with hashed embeddings of its last 2, 3 and 4 tokens, 12 lookup tables in all (31.4B parameters).N-gram lookupAverage embeddingsInput token vectorsCL3,072Layers 1–14 (two attentions per lay…Layers 1–14 (two attentions per layer) · 14 repetitions14 layers · one layer shown14RMSNorm before this operation.RMSNormLatent attention: Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.Latent attentionRotate query and key position components before attention scores; values are unchanged. Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.RoPEAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormDense feed-forward: Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.Densefeed-forwardAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormLatent attention: Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.Latent attentionRotate query and key position components before attention scores; values are unchanged. Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.RoPEAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormDense feed-forward: Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.Densefeed-forwardAdd the branch output to the original stream. +RMSNorm256 routed experts (size 1024) plus 128 zero-computation identity experts; 12 chosen from 384; weights scaled by 6. The result is held and added at the end of the layer.MoE12 of 384 (128identity)12 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Residual streamLast columnCL3,072Final RMSNormA separate learned vocabulary projection.Output weights3,072131,072Vocabulary scoresSoftmax131,072Next-token probabilities
Inside latent attention · Layers 1–14 (two attentions per layer)
32 heads · 512 cached latent values + 64 rotary values.

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

LongCat-Flash-Lite: Layers 1–14 (two attentions per layer) · latent attention32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768). A 512-value KV latent plus a 64-value rotary key per token per layer, in each of the 28 attention blocks.1 shared latent cache; the front face shows one representative.1 shared latent cache32 attention heads; the front face shows one representative.32 attention headsAttention input. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Earlier context is dimmed; outlined columns are current.Current token computation.Attention input3,072CLWq↓. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wq↓3,0721,536RMSNorm. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).RMSNormWq↑. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wq↑1,536192RoPE 64. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).RoPE 64Wkv↓. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wkv↓3,072512RMSNorm. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).RMSNorm512Wkᴿ. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wkᴿ3,07264RoPE 64. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).RoPE 64cᴷⱽ ⊕ kᴿ. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).cᴷⱽ ⊕ kᴿLatent cache. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.Latent cache576CLWk↑. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wk↑512128Wv↑. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wv↑512128kᶜ ⊕ kᴿ. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).kᶜ ⊕ kᴿ192Q context. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Earlier context is dimmed; outlined columns are current.Current token computation.Q context192CLScaled query–key scores, masking and softmax. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).CLCL×. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).×Joined heads. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).32Wo. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Wo4,0963,072Attention output. 32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).Earlier context is dimmed; outlined columns are current.Current token computation.Attention output3,072CL
Model-specific details
Layers 1–14 (two attentions per layer) · 14 repetitions
Each layer holds two latent attentions, two dense feed-forward networks (size 6144) and one expert block. The expert block reads the normalised state after the first attention, runs beside the first dense feed-forward, and its output is added at the end of the layer.
n-gram embedding at the input
Each token's embedding is averaged with hashed embeddings of its last 2, 3 and 4 tokens, 12 lookup tables in all (31.4B parameters).
Attention and positions
32 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 5,000,000 with YaRN (factor 10 over 32,768).
Memory
A 512-value KV latent plus a 64-value rotary key per token per layer, in each of the 28 attention blocks.

The smaller shortcut stack

Fourteen shortcut layers contain 28 latent-attention blocks, with two attention and two dense feed-forward operations per layer. The expert branch bypasses the second half.

The report describes YaRN training at 32K and extension to 128K; the card advertises a 256K window.

How it scores

AA Intelligence Index

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

Checkpoint / sizeResultEvaluation
LongCat Flash Lite11Estimated by AAAA Index 4.3.2Published checkpoint

Explore the components

Sources for this map