> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# Tencent's Hy4 Flash is now downloadable: how was the 220B-parameter model trained?
- URL: https://globalfeed.ai/en/tencents-hy4-flash-is-now-downloadable-how-was-the-220b-parameter-model-trained/
- Published: 2026-11-20T14:25:07.000Z
- Updated: 2026-11-20T14:25:07.000Z
- Description: Tencent released Hy4 Flash on Hugging Face as an open model in chat, FP8 and base versions. Engram memory, hybrid attention, the training steps, Tencent's numbers and how to run it on your own servers.
- Author: GlobalFeed Editor
- Tags: Hy4 Flash, Tencent, Open Model, MoE, long context, dil-en, elle

Tencent's Hy team has released Hy4 Flash, the model it introduced four days ago with cloud pricing, as an open model anyone can download. According to the model card on [Hugging Face](https://huggingface.co/tencent/Hy4-flash?ref=globalfeed.ai), three sets of files went up at once: the chat-ready Hy4 flash, the leaner Hy4 flash-FP8 for servers with less memory, and the raw pre-trained Hy4 flash-base. The same files are also on ModelScope and GitCode. The model reads text and images, writes text and works with up to 1 million tokens of context.

What stands out is the balance between size and cost. Hy4 Flash has 220 billion parameters in total; 64 billion of them sit in a memory table called Engram, and only about 12 billion run for each token. In Tencent's own tests the model edges past Hy4 preview on work tasks while cutting the cost per task to a thirteenth. Here is what is inside, how it was trained, where it does well and how to run it on your own servers.

## The problem: big-model knowledge, small-model bill

Large language models have two big cost lines. One is compute: how many parameters run for each token. The other is memory: the KV cache that holds everything the model has read so far. Once context reaches 1 million tokens, the second often outweighs the first. Hy4 Flash is designed to shrink both at once. Per the model card, its KV cache is 1/24 the size of Hy3's and 1/6 of Hy4's.

Think of a large hospital: not every doctor sees every patient, triage sends each one to the right specialists. In Hy4 Flash, each token is routed to just 16 of 512 experts plus one shared expert. When reading a long document, the model also does not re-examine every line; it looks closely at nearby text and selectively at text far back.

## Inside the model: three new parts

The card highlights three architectural changes over Hy4.

**Hybrid attention.** The 42-layer language backbone alternates two kinds of attention. Sparse attention (IndexPool) picks up to 2,048 of the most relevant tokens from the whole history. Sliding-window attention (SWA) looks only at the last 512 tokens. The ratio is 1 to 3: 12 sparse layers and 30 sliding-window layers. Short-range links are handled by cheap layers, long-range ones by selective layers.

**LatentMoE.** In the mixture-of-experts layers, experts work on input projected down from the 3,072-dimension main space into a 1,536-dimension latent space. Each expert becomes cheaper, so more experts fit in the same budget. Forty-one of the 42 layers are MoE; one is a classic dense layer.

**Engram, an n-gram memory.** Layers 1, 11, 21 and 31 are connected to a learned table for two- and three-token fragments. Instead of computing common short patterns, the model looks them up by hashing. The table holds 63.4 billion parameters but is cheap to read, because only a few rows are fetched per token. That is the main reason total parameters are high while active parameters stay low.

There is also a 0.43B SigLIP2-based vision encoder, four-stream iHC connections between layers, and DFly2, a 0.85B draft model. DFly2 runs ahead and guesses several tokens, which the main model then checks in one pass. The key detail: because DFly2 shares the main model's KV cache and sparse-attention selections, each draft token looks at no more than about 2,000 keys however long the context, with no extra memory.

## How it was trained

Tencent did not disclose how much data was used or where it came from. The model card describes training in four steps.

**Pre-training and a scaling ladder.** Hybrid attention, LatentMoE and Engram were built in from the start. The team says it ran extensive "scaling ladder" experiments to make sure these new parts hold up at scale: the same design is trained at several sizes, the trend is tracked, and the large run starts only if the curve behaves. The card adds a caveat: the base model saw a lot of synthetic instruction data during mid-training, so it sometimes ignores the expected answer format in few-shot tests, which can distort scores.

**Learning from the bigger sibling.** Post-training began with self-distillation from Hy4: the larger model's answers served as the teacher, and Hy4 Flash learned its general abilities by imitating them.

**Reinforcement learning for shorter answers.** A reinforcement learning stage then cut the average number of tokens produced to finish a task end to end by 50%. Fewer tokens means faster answers and a smaller bill.

**Measuring real work.** Instead of chasing public scores, the team built WorkIndex from typical tasks in its WorkBuddy app: 8 subsets covering slide creation and editing, document editing, spreadsheet repair, audio and video processing and visual understanding. It scores the quality of the delivered work, output length per turn and time to finish.

On the serving side, fused GPU megakernels, 4-bit quantization and DFly2 together push decoding past 150 tokens per second, according to the card.

## How good is it

On Tencent's WorkIndex, Hy4 Flash scores 42.1, against 39.7 for Hy4 preview and 51.4 for the full Hy4\. Average cost per task is 1/13 of Hy4 preview, 1/20 of Hy4 and 1/8 of DeepSeek-V4.1-Flash-1017 (top tier, peak-hour pricing). In a blind evaluation where 85 internal users rated 259 tasks across 27 categories, Hy4 Flash scored 2.79 out of 4 for satisfaction, next to 2.81 for Claude Haiku 5.5, and recorded the lowest cost per task (RMB 0.26) and the shortest median completion time (6.7 minutes).

The base model's classic benchmarks are balanced: 88.7 on MMLU (Hy4: 91.6) and 71.1 on MMLU-Pro. On the knowledge-heavy SimpleQA it scores 37.5, well below Hy4's 57.2; the price of a small active parameter count shows most in recall. Tencent recommends the model for everyday work such as deep search, document processing, slide creation, simple front-end demos and computer use, and points to the full Hy4 for long software engineering. All figures are the company's own.

## How to try it

For production, Tencent recommends [vLLM](https://recipes.vllm.ai/tencent/Hy4-flash?ref=globalfeed.ai) or SGLang, both with ready Docker images (`vllm/vllm-openai:hy4-flash` and `lmsysorg/sglang:hy4-flash`). The sample command on the card serves the FP8 version across 8 GPUs (`--tensor-parallel-size 8`) with DFly2 guessing 5 tokens ahead, and exposes an OpenAI-compatible endpoint, so existing client code connects by changing the address. Transformers support has not landed in the main branch yet, so the card installs from a specific pull request. For a quick test, the AngelSlim team shared a [GGUF version](https://huggingface.co/AngelSlim/Hy4-flash-GGUF?ref=globalfeed.ai), which Tencent offers for end-to-end testing.

Two settings help. With `reasoning_effort` set to "high" the model thinks first; with "no\_think" it answers directly, which is faster for classification and short tasks. Recommended sampling is `temperature=0.9` and `top_p=1.0`. The card also links a full fine-tuning guide for adapting the model to your own data.

The model ships under the [Tencent Hy License 1.0](https://huggingface.co/tencent/Hy4-flash/blob/main/LICENSE?ref=globalfeed.ai). Derived from Apache 2.0, it allows personal, business and internal use, and asks for a separate written license only from companies with more than $50 million in annual revenue or more than 100 million monthly users that offer the model as an API.

In an independent assessment, the main gain of this release is that teams wanting 1 million tokens of context and image reading on their own infrastructure get a large model family's knowledge at a low running cost; the 8-GPU serving setup, though, shows it is meant for company servers more than personal computers.

Sources: [Hy4 flash model card (Hugging Face)](https://huggingface.co/tencent/Hy4-flash?ref=globalfeed.ai), [Tencent Hy License 1.0](https://huggingface.co/tencent/Hy4-flash/blob/main/LICENSE?ref=globalfeed.ai), [vLLM recipe](https://recipes.vllm.ai/tencent/Hy4-flash?ref=globalfeed.ai), [GGUF version](https://huggingface.co/AngelSlim/Hy4-flash-GGUF?ref=globalfeed.ai)