DeepInfra raises $107M Series B to scale the inference cloud — read the announcement
tencent/
$0.07
in
$0.281
out
$0.003
cached
/ 1M tokens
Hy4 flash is the most cost-effective model from the Tencent Hy Team, with 220B total parameters (including 64B Engram n-gram embedding parameters), 12B activated per token, text and image input, and a 1M-token context window. It combines hybrid sparse and sliding-window attention, LatentMoE and Engram, and scores slightly above Hy4 preview on everyday productivity tasks at a fraction of the cost.

Ask me anything
You need to log in to use this model
Log inSettings
Hy4 flash is the most cost-effective Hy model to date, featuring 220B total parameters (including 64B Engram parameters) with just 12B active parameters per token. It natively accepts text and image inputs, generates text, and supports a context window of up to 1M tokens.
Its 42-layer language backbone consists of one dense feed-forward layer and 41 MoE layers, with identity Hyper-Connections (iHC) supporting inter-layer information flow. A vision encoder (adapted from SigLIP2-So400m-Patch16-Res512) is connected to the backbone through an MLP projector. In addition to the backbone, a built-in 5-layer drafter, DFly2 (0.85B parameters), reuses the target model's KV cache and sparse indices to support long-context speculative decoding at a low, constant cost.
Compared with Hy4, Hy4 flash introduces three notable architectural changes:
| Property | Value |
|---|---|
| Architecture | Mixture-of-Experts (MoE) |
| Total Parameters (excluding Engram, ViT and DFly2) | 155.5B |
| Engram Parameters | 63.5B |
| Activated Parameters per Token | Text 11.3B + Vision 0.43B |
| ViT Parameters | 0.43B |
| DFly2 Drafter Parameters | 0.85B |
| Layers | 42 (1 dense, 41 MoE) |
| Hidden Size | 3072 |
| Attention | Sparse attention (IndexPool) and sliding-window attention interleaved 1:3 |
| Routed Experts | 512 (LatentMoE) |
| Activated Routed Experts per Token | 16 |
| Shared Experts | 1 |
| Context Length | 1M |
Across training, evaluation, and inference, Hy4 flash was aggressively optimized for cost efficiency while preserving intelligence:
Hy4 flash delivers overall task performance slightly above Hy4 preview at a much lower cost per task. On WorkIndex it scores 42.1, compared with 39.7 for Hy4 preview and 51.4 for Hy4, while its average cost per task is just 1/13 of Hy4 preview and 1/20 of Hy4.
Hy4 flash is recommended for most everyday productivity tasks, including deep search, document processing, slide creation, simple frontend demos, and computer use. For complex tasks such as long-horizon software engineering, Hy4 offers a higher intelligence ceiling.
In a blind evaluation with 85 users across 259 tasks, Hy4 flash reached user satisfaction close to Claude Haiku 5.5 (2.79/4 vs 2.81/4), with the lowest cost per task and the shortest median end-to-end completion time among the evaluated models.
reasoning_effort to none for direct responses without reasoning; any other value (low, medium, high, xhigh) keeps reasoning on.temperature=0.9, top_p=1.0.
Hy4 flash is released under the Tencent Hy License 1.0, derived from the Apache License 2.0 with additional commercial terms for large Model-as-a-Service businesses. See LICENSE for details.
© 2026 DeepInfra. All rights reserved.