← Open-Weight LLM Parts Atlas home
Tencent Hy4 flash
220B / active 12B
developers: Tencent
published: 2026-11-18
Tencent Hy 1.0 · Commercial use with conditions · MaaS etc. separate agreement ↗
max context: 1M
KV(BF16): 13.5 KiB/tok
multimodal (text backbone shown)
3 sliding-window (512) layers : 1 sparse layer (MLA everywhere) + LatentMoE 512→16 + Engram
A cheaper, faster version of Hy4. It keeps MLA in every layer but inserts one indexed sparse-attention layer (IndexPool) after every 3 sliding-window (512) layers, cutting the KV cache to 1/6 of Hy4. Experts run in a latent space (LatentMoE: 16 of 512 + 1 shared), and Engram, which looks up 2- and 3-token sequences by hash, is injected into 4 layers. Engram accounts for 63.5B of the 220B total.
Interactive structure diagram · simulator (open) →
| Scale | 220B total (including Engram 63.5B, vision 0.43B and the 0.85B draft model) / about 12B active |
|---|---|
| layers | 42 = 12 sparse + 30 sliding-window (sparse in the first 2 layers, then every 4th layer) |
| d | 3,072 |
| Attention | MLA: KV latent 512, Q latent 1,024. Sparse layers 32 heads · Window layers 64 heads, gated, QK-Norm, Attention sink |
| Sparse | Index selects up to 2,048 tokens (group-level selection) |
| window | 512 token |
| FFN | first 1 layers are dense, remaining 41 layers are LatentMoE: 512 experts, top 16 + shared 1 |
| Engram | 2-gram / 3-gram hash tables injected at layers 2, 12, 22 and 32 (README 0-based indices 1, 11, 21, 31; config engram_layer_ids is 2, 12, 22, 32) |
| Residual | iHC (4 residual streams) + pre/post normalization |
| context | 1,048,576 |
| Other | Speculative decoding with DFly2, a 5-layer draft model |
| License conditions | annual revenue over 50M USD, or MAU over 100M users MaaS (API service) providers need a separate agreement (view original ↗) |
| KV calculation basis | sparse attention 12 layers×(latent 512+Position 64)×2B = 13.5 KiB (window 30 layers keep only the latest 512 tokens (capped)) |
| Supported inference | vLLM / SGLang / Transformers |