# Tencent Hy4-flash 220B-A12B Architecture

> Canonical HTML page: https://sebastianraschka.com/llm-architecture-gallery/models/tencent-hy4-flash-220b-a12b/
> Part of: [LLM Architecture Gallery](https://sebastianraschka.com/llm-architecture-gallery/)

Hy4-flash combines a 155.5B backbone with 63.5B parameters in Engram tables. Four layers look up learned vectors for pairs and triples of consecutive tokens.

## Specifications

| Field | Value |
| --- | --- |
| Organization | Tencent |
| Release date | 2026-11-16 |
| Scale | 220B total (155.5B backbone, 63.5B Engram, plus vision encoder and drafter), 11.3B active per text token (5.1% of total, 7.3% of backbone) |
| Decoder type | Sparse MoE |
| Attention | Gated MLA with 512-token sliding windows and IndexPool, a variant of DeepSeek Sparse Attention |
| Layer mix | 2 sparse MLA + 10 × (3 sliding-window MLA + 1 sparse MLA) |
| Context window | 1,048,576 |
| Vocabulary size | 120,832 |
| KV cache / token (bf16) | 14.25 KiB |
| KV cache scope | growing global cache only |
| Distinctive highlight | Each LatentMoE layer routes a 1,536-dimensional projection to 16 of 512 experts. A shared expert processes the full 3,072-dimensional input. |
| Architecture diagram | https://sebastianraschka.com/llm-architecture-gallery/images/architectures/tencent-hy4-flash-220b-a12b.webp |

## Training and Post-Training

- **Pretraining data size**: Not disclosed
- **Pretraining notes**: Tencent reports using synthetic instruction examples during mid-training. The model card gives no pretraining token count.
  - Source: [Model card, pretrained model capability](https://huggingface.co/tencent/Hy4-flash#pretrained-model-capability)
- **Post-training methods**: Distillation, RL
- **Post-training notes**: Tencent distilled Hy4 into Hy4-flash and used reinforcement learning to shorten responses.
  - Source: [Model card, cost and training](https://huggingface.co/tencent/Hy4-flash)

## Related Architecture Concepts


## Primary Sources and Tools

- [Model configuration (tencent/Hy4-flash)](https://huggingface.co/tencent/Hy4-flash/blob/main/config.json)
- [Model license](https://huggingface.co/tencent/Hy4-flash/blob/main/LICENSE)
- [Estimate memory for Tencent Hy4-flash 220B-A12B](https://sebastianraschka.com/llm-architecture-gallery/memory-calculator/?model=tencent-hy4-flash-220b-a12b)
