The Rabbit Hole / AI / Model architectures
Meituan · Architecture mapLongCat-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
Inside latent attention · Layers 1–14 (two attentions per layer)
Earlier context dimmed · current token bright · dashed regions contain cached entries.
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.
- Width 3,072 and 32 attention heads.
- 256 routed experts plus 128 identity experts; active parameters vary from 2.9B to 4.5B.
- N-gram embeddings account for 31.4B of the 68.5B parameters.
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 / size | Result | Evaluation |
|---|---|---|
| LongCat Flash Lite | 11Estimated by AA | 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
- Multi-head latent attention (MLA): caching a compressed latent
- Mixture of experts (MoE): a big model that uses only part of itself
- Zero-computation experts: letting easy tokens spend lesscoming soonExperts that do nothing, so easy tokens can use less compute.
- Shortcut-connected MoE: overlapping the experts with other workcoming soonWires the expert layer on a shortcut so its communication overlaps other computation.
- N-gram memory: a lookup table for short runs of tokenscoming soonA big lookup table keyed by the last few tokens, read alongside the normal computation.
- RoPE scaling: stretching context beyond the training length
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation
- Routing: selecting experts and weighting their work