Tencent Hy4 Flash: Inside the 220B MoE Model's Specs and Benchmarks
Tencent's open-weight Hy4 Flash packs 220B total/12B active params and 1M context. Here's how its architecture and scores stack up.

What is Tencent Hy4 Flash?
Hy4 Flash is an open-weight mixture-of-experts (MoE) model from Tencent’s Hunyuan team, built as a cheaper, faster sibling to the larger Hy4 model. It has 220B total parameters (including a 64B “Engram” component) but only activates about 12B parameters per token, roughly 11.3B for text and 0.43B for vision. It handles both text and image input, generates text output, and supports context windows up to 1,048,576 tokens. Tencent released it on Hugging Face, ModelScope, and GitCode in instruct, FP8-quantized, and base-model variants.
TL;DR
- Hy4 Flash trades raw intelligence for cost, activating only about 12B of its 220B total parameters per token while matching or slightly beating Hy4 preview on Tencent’s internal WorkIndex benchmark.
- The architecture layers three unusual techniques: hybrid sparse/sliding-window attention, a “LatentMoE” design with 512 routed experts per layer, and an n-gram “Engram” embedding table that adds learned bigram and trigram lookups to the backbone.
- Context length tops out at 1 million tokens, paired with a custom 5-layer speculative decoding drafter called DFly2 that reuses the main model’s KV cache to speed up long-context generation.
- On WorkIndex, Hy4 Flash scored 42.1 versus 39.7 for Hy4 preview, while costing a fraction of Hy4 preview, Hy4, and DeepSeek-V4.1-Flash per task.
- Public few-shot benchmarks show a mixed but expected picture: Hy4 Flash trails the full Hy4 base model on most academic benchmarks (MMLU, SuperGPQA, SimpleQA) but holds up competitively against DeepSeek-V4-Flash-Base.
- In blind human evaluation, Hy4 Flash scored close to Claude Haiku 5.5 on user satisfaction while being noticeably cheaper and faster to complete tasks.

Remy.
How is Hy4 Flash’s architecture different from Hy4?
Hy4 Flash isn’t just a smaller version of Hy4. Tencent built it with three specific architectural changes aimed at cutting inference cost without gutting output quality.
The first is hybrid attention. Instead of using one attention mechanism throughout, Hy4 Flash interleaves sparse attention (called IndexPool) with sliding-window attention (SWA) at a 1:3 ratio. The backbone follows a specific pattern: two sparse layers up front, then ten repetitions of three sliding-window layers followed by one sparse layer. Sparse layers can select up to 2,048 tokens of context via group-level selection, while sliding-window layers look at a fixed 512-token causal window. This combination is a major reason Tencent reports the model’s KV cache is just 1/24 the size of Hy3’s and 1/6 the size of Hy4’s, which directly lowers memory and serving costs at long context lengths.
The second change is LatentMoE. Routed experts operate in a lower-dimensional latent space (1,536 dimensions) rather than the full hidden size. Each token activates 16 of 512 routed experts plus one shared expert per MoE layer. Of the 42 backbone layers, 41 are MoE layers and one is a dense feed-forward layer.
The third change, and the most unusual, is Engram: an n-gram embedding system that augments the backbone with learned bigram and trigram representations retrieved through multi-head hash lookups. It sits at four specific backbone layers (indices 1, 11, 21, and 31), uses 8 hash heads per n-gram order, and holds roughly 63.4B parameters in its embedding tables, which is why Tencent counts Engram separately in its 220B total parameter figure. The idea is to give the model a fast, memory-like lookup path for common token sequences instead of forcing every pattern to be learned purely through attention and feed-forward layers.
On top of all this sits DFly2, a built-in 5-layer speculative decoding drafter with 0.85B parameters. It reuses the target model’s KV cache and sparse indices, which lets it support long-context speculative decoding at a low, constant cost rather than scaling expensively with sequence length.
What do the benchmark numbers actually show?
Tencent evaluated Hy4 Flash two ways: against public few-shot academic benchmarks, and against its own internal WorkIndex benchmark built from real productivity tasks.
On the public side, Hy4 Flash Base sits below Hy4 Base across most categories, which is expected given the gap in active parameters. On MMLU, Hy4 Flash scored 88.7 versus 91.6 for Hy4 Base. On SuperGPQA it scored 57.8 versus 62.7. On SimpleQA, a factuality benchmark, the gap is larger: 37.5 for Hy4 Flash versus 57.2 for Hy4. Compared against DeepSeek-V4-Flash-Base, a rough architectural peer, Hy4 Flash is closer: it beats DeepSeek-V4-Flash-Base on SuperGPQA (57.8 vs 52.5), Social IQa (80.1 vs 72.5), and U-MATH (69.8 vs 57.4), but trails on SimpleQA (37.5 vs 31.3, actually ahead here) and MBPP-plus coding (73.7 vs 76.8).
The more interesting comparison is WorkIndex, Tencent’s internal benchmark built around eight task categories: slide creation and editing, human-AI co-writing in slides and Markdown, document editing, spreadsheet repair, audio/video processing, and visual understanding. Here Hy4 Flash scored 42.1, actually edging out Hy4 preview’s 39.7, while the full Hy4 model scored 51.4. The cost difference is the real story: Tencent reports Hy4 Flash’s average cost per task is about 1/13 of Hy4 preview, 1/20 of full Hy4, and 1/8 of DeepSeek-V4.1-Flash-1017 at peak-hour Max-tier pricing.
Is Hy4 Flash worth using over Hy4 or DeepSeek?
It depends on the task. Tencent explicitly recommends Hy4 Flash for everyday productivity work: deep search, document processing, slide creation, simple frontend demos, and computer-use tasks. For long-horizon software engineering or tasks demanding a higher intelligence ceiling, Tencent points users toward the full Hy4 model instead.
The blind evaluation data backs up this positioning. In a test spanning 85 internal users and 259 tasks across 27 categories, Hy4 Flash scored 2.79 out of 4 on user satisfaction, just behind Claude Haiku 5.5’s 2.81. But Hy4 Flash had the lowest cost per task (RMB 0.26) and the shortest median completion time (6.7 minutes) among the models tested. That combination, satisfaction close to a well-regarded small model from Anthropic, at a lower cost and faster turnaround, is the clearest argument for using Hy4 Flash in production workflows rather than reasoning primarily from academic benchmark scores.
Against DeepSeek-V4-Flash and DeepSeek-V4-Pro specifically, Hy4 Flash is not a clean win on public benchmarks. DeepSeek-V4-Pro-Base beats it on MMLU-Pro (73.4 vs 71.1), OCW Courses (68.2 vs 64.0), and MBPP-plus (79.1 vs 73.7). But Tencent’s own framing is that public benchmarks “detached from everyday work” aren’t the right yardstick, which is why WorkIndex exists in the first place. Whether that framing holds up depends on how closely your own workload resembles Tencent’s WorkBuddy task mix.
How do you run Hy4 Flash?
Hy4 Flash ships in three forms: a standard instruct model, an FP8-quantized instruct variant, and a pretrained base model that is not instruction-tuned. Tencent supports loading it through Hugging Face Transformers (a specific pull request branch is required until mainline support lands), and through an OpenAI-compatible API for server deployment. The model card also documents support for vLLM and SGLang inference frameworks, GGUF quantized builds, and fine-tuning recipes using LlamaFactory, ms-swift, and DeepSpeed. Recommended sampling settings are temperature 0.9 and top_p 1.0, and the instruct model supports a reasoning_effort flag with “high” (thinking enabled, the default) or “no_think” (direct responses) modes.
Frequently Asked Questions
How many parameters does Hy4 Flash have?
It has 220B total parameters, which includes 63.5B in its Engram n-gram embedding tables, 0.43B in its vision encoder, and 0.85B in its DFly2 speculative decoding drafter. Only about 11.3B text parameters plus 0.43B vision parameters activate per token.
What is the context window for Hy4 Flash?
Up to 1,048,576 tokens (1M), supported in part by its hybrid sparse/sliding-window attention design and the DFly2 speculative decoding module, which keeps long-context decoding cost low and roughly constant.
How does Hy4 Flash compare to DeepSeek-V4?
On public few-shot academic benchmarks, results are mixed: Hy4 Flash outperforms DeepSeek-V4-Flash-Base on benchmarks like SuperGPQA and Social IQa, but trails DeepSeek-V4-Pro-Base on others like MMLU-Pro and coding (MBPP-plus). On Tencent’s internal WorkIndex benchmark, Hy4 Flash’s cost per task is reported as 1/8 that of DeepSeek-V4.1-Flash-1017 at peak pricing.
What is Engram in Hy4 Flash’s architecture?
Remy AI Engineer Certification
Your seat is open. Leave certified.
Build and deploy an app for enterprises with AI in one live afternoon. No coding.
Engram is a learned n-gram embedding system added to four specific backbone layers. It uses multi-head hash lookups to retrieve bigram and trigram representations, giving the model a fast lookup path for common token patterns alongside its standard attention and MoE layers.
Is Hy4 Flash better than Hy4?
Not in raw intelligence. Hy4 scored 51.4 on WorkIndex versus 42.1 for Hy4 Flash, and Hy4 Base beats Hy4 Flash Base on nearly every public academic benchmark. Hy4 Flash’s advantage is cost: Tencent reports its per-task cost on WorkIndex is roughly 1/20 that of full Hy4, making it the recommended choice for everyday tasks rather than complex, long-horizon work.





