The Rabbit Hole / AI / Model architectures
Meituan · Architecture map LongCat-2.0 A 1.6 trillion parameter LongCat-Flash successor with a sparse-attention indexer shared by pairs of attentions, 135B of n-gram embedding and 768 real experts.
LongCat-2.0, July 2026 · LongCat release timeline
Architecture map What to notice How it scores Component articles Compare with another model Sources Inside LongCat-2.0
Parameters 1.6T · 48B active
Layers 38
Width 8,192
Mixer Latent Select a component to explore it. Inside latent attention · Layers 1–38 (two attentions per layer) 64 heads · 512 cached latent values + 64 rotary values. Earlier context dimmed · current token bright · dashed regions contain cached entries.
LongCat-2.0: Layers 1–38 (two attentions per layer) · latent attention 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. A 512-value KV latent plus a 64-value rotary key per token per attention block. Sparse attention reduces compute, not the size of the cache. 1 shared latent cache; the front face shows one representative. 1 shared latent cache 64 attention heads; the front face shows one representative. 64 attention heads Attention input. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Earlier context is dimmed; outlined columns are current. Current token computation. Attention input 8,192 CL Wq↓. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wq↓ 8,192 1,536 RMSNorm. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. RMSNorm Wq↑. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wq↑ 1,536 192 RoPE 64. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. RoPE 64 Wkv↓. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wkv↓ 8,192 512 RMSNorm. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. RMSNorm 512 Wkᴿ. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wkᴿ 8,192 64 RoPE 64. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. RoPE 64 cᴷⱽ ⊕ kᴿ. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. cᴷⱽ ⊕ kᴿ Latent cache. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Earlier columns are cached; outlined columns are newly computed. Cached positions from earlier decoding steps. Current token computation. Latent cache 576 CL Wk↑. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wk↑ 512 128 Wv↑. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wv↑ 512 128 kᶜ ⊕ kᴿ. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. kᶜ ⊕ kᴿ 192 Q context. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Earlier context is dimmed; outlined columns are current. Current token computation. Q context 192 CL Top 2048. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Top 2048 Scaled query–key scores, masking and softmax. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. CL CL ×. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. × Joined heads. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. 64 Wo. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Wo 8,192 8,192 Attention output. 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Earlier context is dimmed; outlined columns are current. Current token computation. Attention output 8,192 CL Model-specific details Layers 1–38 (two attentions per layer) · 38 repetitions Two latent attentions and two dense SwiGLU networks (size 12288). After the first attention, the MoE branch runs alongside the first dense network, second attention and second dense network; its output is added at the end. Each pair of attentions shares one indexer pass. sparse selection (shared indexer) A light indexer picks 2,048 tokens per query (16 initial, 1,024 local, the rest chosen). One indexing pass serves two consecutive attentions. n-gram embedding at the input Each token's embedding is averaged with hashed embeddings of its last 2 to 5 tokens, 16 tables in all (135B parameters). Attention and positions 64 heads; compressed KV latent of 512 with a 64-value rotary key; query rank 1536. Per-head content key 128, value 128. Rope base 1,000,000 with YaRN (factor 120 over 8,192). A sparse indexer with 32 heads of size 128 picks 2,048 tokens per query, among them 16 initial and 1,024 local tokens. Memory A 512-value KV latent plus a 64-value rotary key per token per attention block. Sparse attention reduces compute, not the size of the cache. What changes from LongCat-Flash
The 38 layers each contain two attention blocks and two dense feed-forward blocks. After the first attention, an MoE shortcut bypasses the remaining three operations and rejoins at the layer output.
Width 8,192, 38 configured layers and 768 routed experts, alongside 128 identity experts; twelve choices per token.
Sparse attention selects 2,048 history tokens while retaining 16 initial tokens and a 1,024-token local window.
Index selection is shared across pairs of attention blocks and the three auxiliary prediction steps.
The n-gram embedding table accounts for about 135B parameters.
The model reports about 1.6T total parameters and 48B active. Its card describes training on 1M-token sequences; the config’s position limit remains 262,144.
How it scores AA Intelligence Index Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
AA Index distribution Best checkpoint per model variant among 97 scored variants in this atlas. LongCat 2.0 scores 19; its bin is highlighted. Known estimates are excluded. Model variants 0.0–3.0: 0 variants 3.0–6.0: 15 variants 6.0–9.0: 21 variants 9.0–12.0: 13 variants 12.0–15.0: 9 variants 15.0–18.0: 5 variants 18.0–21.0: 5 variants 21.0–24.0: 6 variants 24.0–27.0: 4 variants 27.0–30.0: 2 variants 30.0–33.0: 2 variants 33.0–36.0: 2 variants 36.0–39.0: 2 variants 39.0–42.0: 3 variants 42.0–45.0: 4 variants 45.0–48.0: 3 variants 48.0–51.0: 0 variants 51.0–54.0: 0 variants 54.0–57.0: 1 variants 57.0–60.0: 0 variants 21 0 0 30 60 AA Index 4.3.2 → LongCat 2.0: 19 . Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded. Explore the components Sources for this map