Skip to content
Navigation Menu
Appearance settings
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
Repository navigation
NotificationsYou must be signed in to change notification settings
Star73 (73)You must be signed in to star a repository
No description, website, or topics provided.
Custom properties
Report repository
BranchesTags
Open more actions menu
Latest commit
Folders and files
Last commit message
Last commit date
README_CN.md
View all files
Repository files navigation
中文 | English
🖥️ Official Website |
Table of Contents
Model Introduction
Pretrained model capability
Key Improvements
Capabilities and Use Cases
Vision and computer use
Frontend and game development
Finance and office workflows
Scientific research and AI R&D
Long-horizon personal assistant
Known Limitations
Appendix: benchmark results
DFly2 for Speculative Decoding
Quantization
Inference Frameworks
Hy4 is a new-generation Mixture-of-Experts (MoE) flagship model developed by the Tencent Hy Team, supporting text, image, and video understanding. The language backbone comprises 770B total parameters, of which 49B are activated per token. It consists of 78 layers, with a standard dense FFN in the first layer and MoE FFNs in the remaining 77 layers. Each MoE layer contains 256 routed experts and 1 shared expert; every token activates the top-8 routed experts along with the shared expert. In addition to the backbone, a 5-layer DFly2 drafter (3.3B parameters) is built in for speculative decoding.
On the architecture side, inspired by DeepSeek and GLM, the attention module employs Gated DeepSeek Sparse Attention (Gated DSA) with IndexCache for cross-layer sparse index reuse. The residual pathway uses iHC (identity Hyper-Connections) to expand inter-layer information flow. A ViT supports dynamic image resolutions, with an adapter converting image and video frame features into visual tokens for the language model to process alongside text tokens. DFly2, a parallel drafter, reuses Hy4's KV cache and sparse indices to support long-context speculative decoding at a low, constant cost.
Model Specifications
Architecture
Mixture-of-Experts (MoE)
Total Parameters (excluding ViT, adapter, and DFly2)
Activated Parameters per Token
Text 49B + Vision 1.23B
ViT Parameters
DFly2 Parameters
Context Length
1M (1,048,576 tokens)
Language Backbone
Backbone Layers
78 — 1 dense layer and 77 MoE layers
Vocabulary Size
Residual Connections
iHC (identity Hyper-Connections) with 4 residual streams
Attention Architecture
Gated DeepSeek Sparse Attention (Gated DSA) with IndexCache
Attention Formulation
Multi-head Latent Attention (MLA)
Attention Heads
MLA q_lora_rank
MLA kv_lora_rank
Indexer Heads / Head Dimension
Sparse Context Selection
Top-2,048 tokens selected by the indexer
Feed-Forward Networks
Dense FFN Intermediate Size
Routed Experts per MoE Layer
Shared Experts per MoE Layer
Activated Routed Experts per Token
Expert Intermediate Size
Vision Encoder
Vision Encoder Layers
Vision Encoder Hidden Size
Vision Encoder Intermediate Size
Vision Encoder Attention Heads
Vision Patch Size
Vision Position Embedding Size
Visual Feature Merging
Bits-per-byte (BPB) on internal code & agent validation, lower is better:
Few-shot pretrain benchmark evaluation:
Hy4 flash Base
Hy3 preview Base
DeepSeek-V4-flash-Base
DeepSeek-V4-Pro-Base
Chinese-SimpleQA†
AGIEval (English)†
AGIEval (Chinese)†
HellaSwag (3,000-item subset)
ARC-Challenge
Multilingual
Belebele (5-language subset)†
MMMU-Pro (Standard, 10 opts)
CountBenchQA
† Macro-averaged accuracy for the marked text benchmarks. Other text rows use the accuracy metric reported by our evaluation suite. Bold marks the highest available numerical score in each row; it does not indicate statistical significance.
Multimodal results are reported only for Hy4 Base and Hy4 flash Base.
ARC-Challenge and HellaSwag use 299-item and 3,000-item subsets, respectively. INCLUDE uses a 5,000-example Lite subset covering 44 languages. Belebele covers German, Korean, Vietnamese, Spanish, and Russian (4,475 examples in total).
Disclaimer: Because our base model was exposed to a large amount of synthetic instruction data during mid-training, it occasionally fails to follow the expected answer format in few-shot evaluations, which may distort the scores.
Compared with Hy4 preview, Hy4 substantially scales up both pre-training and post-training. It adds vision capabilities and delivers major gains in instruction following, long-context understanding, long-horizon tasks, and deep research.
By combining perception, reasoning, and tool use, Hy4 can understand fine-grained image details and interpret complex charts. It supports computer-use workflows across command-line interfaces (CLI) and graphical user interfaces (GUI). Targeted training on specialized software such as Blender and CAD, as well as long-horizon workflows spanning multiple applications, improves task planning and execution.
For frontend work, we optimized Hy4 for complex UI interactions, business logic, state management, and full-stack integration, so that generated interfaces are not only visually polished but also functionally complete.
For game development, we partnered with professional developers at Tencent Interactive Entertainment Group (IEG) to curate high-quality training data and build evaluations. We focused on feature implementation, gameplay logic, state tracking, and asset pipelines. We also extensively adapted Hy4 for major engines such as Unreal Engine, Unity, and Godot, and expanded its capabilities to multiplayer game development. Compared with Hy4 preview, Hy4 improves by 19.1% on GameDev and 9.8% on GameLogic.
To ground Hy4 in real-world financial work, we built thousands of realistic workspaces and tens of thousands of tasks spanning fund research, equity analysis, quantitative strategies, asset allocation, corporate finance, and tax accounting. Working with Tencent Financial Technology (FiT), we evaluated Hy4 with 213 finance professionals, including 153 experts from leading financial institutions. More than 70% of these experts have over five years of industry experience. Across 579 real-world financial tasks, Hy4 ranks first among open-weight models:
Average Score (out of 4)
DeepSeek-V4.1-Flash-1017
Kimi K3.1 Pro
On IRAB, an internal benchmark from financial AI agent company RabyteTech, Hy4 also scores 12.03 percentage points higher than Hy4 preview. To make Hy4 more reliable for financial and office workflows, we made targeted upgrades to search, focusing on time-sensitive retrieval, multi-source synthesis, and factual consistency verification. In internal evaluations, Hy4 cut the hallucination rate from 15.76% (on Hy4 preview) to 5.45%, and reduced speculative errors from 23.1% to 5.6%. We also improved Hy4’s ability to co-edit Word, Excel, and PowerPoint files with people in real time. In blind evaluations, Hy4 shows clear gains over Hy4 preview in document formatting, reliability, and overall usability.
Hy4 combines deep reasoning, scientific computing, and long-horizon execution for research workflows. On TenureTrail, our internal benchmark of 123 research tasks across seven disciplines, Hy4 ranks first among open-weight models. It shows strong capabilities in mathematical construction, physical modeling, earth sciences, systems engineering, and socioeconomic decision-making. Paired with our Hyra 2.0 harness, Hy4 optimized our internal pre-training infrastructure for smaller models with the same architecture, and autonomously trained a variant that outperforms the official Jev baseline on multiple benchmarks.
[...内容已截断,完整版请查看原文或 Wayback 快照]