Hy4 preview

Tencent

Parameters

770.0B total / 49.0B active

MoE: total / active

Architecture

MoE (78 layers) with Gated DeepSeek Sparse Attention (Gated DSA) + IndexCache cross-layer sparse index reuse, iHC (identity Hyper-Connections) residual streams, 1 native MTP layer (10B total / 0.7B active) for speculative decoding

Released

28.08.2026

License

Apache License 2.0

Open Weights Commercial Use Multimodal BF16, F32 Hunyuan en zh

Input Modalities

text

Output Modalities

text

Context (native)

1,000,000 tokens

Context (extended)

1,000,000 tokens

Openness Index Score 100.0/100

About

Hy4 preview (tencent/Hy4-preview, released August 28, 2026 under the Apache 2.0 License) is a new-generation Mixture-of-Experts flagship model from the Tencent Hy Team: 770B total parameters, 49B activated per token, 78 backbone layers (first layer dense FFN, remaining 77 MoE with 256 routed experts and 1 shared expert each; every token activates top-8 routed experts plus the shared expert), plus 1 native MTP layer (10B total / 0.7B activated) for speculative decoding.

Its attention module, inspired by DeepSeek and GLM, employs Gated DeepSeek Sparse Attention (Gated DSA) with IndexCache for cross-layer sparse index reuse (64 attention heads, query compression 2048, KV compression 512, indexer 32 heads/128 dim with top-k 2048); the residual pathway uses iHC (identity Hyper-Connections) expanding inter-layer information flow across 4 residual streams. Hy4 preview scaled on three fronts vs Hy3 - model size, 1M-token context, and substantially larger pre-training and post-training data - the largest generation-over-generation gain the team has measured, putting it at the open-source frontier. Training data was built with Tencent experts (software engineering, game development, finance, security) and co-designed with CodeBuddy and WorkBuddy; in blind side-by-side evaluation 163 internal experts rated it slightly ahead of GLM 5.3 and Kimi K3 on 203 engineering tasks. Reasoning mode defaults to high (deep CoT); recommended sampling temperature 0.9, top_p 1.0.

Training Data Scaled on three fronts vs Hy3: model size, 1M-token context length, and substantially larger pre-training + post-training data. Co-designed with Tencent products (CodeBuddy, WorkBuddy) and internal domain experts (software engineering, game development, finance analysis, security). Reasoning mode defaults to high (deep CoT); recommended sampling temperature=0.9, top_p=1.0.

Benchmark Scores

Benchmark Score Date Standing
Apex-Agents
general_agent
49.07%
28.08.2026
#10/24
better than 61%
HLE (with tools)
stem_reasoning
73.98%
28.08.2026
#15/49
better than 71%
SWE-Marathon
coding_agent
60.95%
28.08.2026
#9/17
better than 50%
SWE-bench Multilingual
coding_agent
92.19%
28.08.2026
#2/48
better than 98%
DeepSWE
coding_agent
88.45%
28.08.2026
#7/21
better than 70%
SWE Atlas - QnA
coding_agent
100.00%
28.08.2026
#1/24
better than 100%
SWE Atlas - TW
coding_agent
83.05%
28.08.2026
#2/20
better than 95%
SWE Atlas - RF
coding_agent
87.97%
28.08.2026
#2/14
better than 92%
Terminal-Bench 2.1 (Terminus-2)
coding_agent
94.99%
28.08.2026
#7/44
better than 86%
NL2Repo
coding_agent
74.77%
28.08.2026
#6/41
better than 88%

Hardware Requirements

Estimated VRAM per quantization at 4,096 tokens context — MoE: all experts must fit in VRAM, only 49.0B are active per token

Quantization Weights KV Cache Total VRAM On your hardware
FP16 — 16-bit 1540.0 GB 7.6 GB 1624.6 GB Which GPUs can run it? Calculate on your GPU
INT8 — 8-bit 770.0 GB 3.8 GB 812.3 GB Which GPUs can run it? Calculate on your GPU
INT4 — 4-bit 385.0 GB 1.9 GB 406.2 GB Which GPUs can run it? Calculate on your GPU
FP4 — 4-bit 385.0 GB 1.9 GB 406.2 GB Which GPUs can run it? Calculate on your GPU

Only datacenter GPUs — FP16 needs 1624.6 GB. For consumer hardware, choose the INT4 build with a multi-GPU setup.

Architecture

Decoder Block input Embedding vocab 121K · d 6144 Full Attention Sparse Attn 64:8 · dₕ 64 ×78 MoE FFN 256 experts · top-8 · +1 shared · dᴻ 2048 MTP Head ×1 speculative layer Final Norm LM Head vocab 121K output
Attention
Sparse Attention (64:8)
MoE
256 experts · top-8 per token
Layers
78
Hidden size
6144
Context
1M tokens
Parameters
770000M
Active params
49000M

Source: Hugging Face config.json · HYV4ForCausalLM · exact layer pattern · model repo

MoE: yes (? experts)

Training Pipeline

  1. 1
    other

    Scaled pre-training + post-training (vs Hy3)

    Hy4 preview was scaled on three fronts: model size, 1M-token context, and training data. Stronger pre-training plus a substantially larger post-training run compound into the largest generation-over-generation gain Tencent measured. Co-designed with Tencent products (CodeBuddy, WorkBuddy) and internal experts from software engineering, game development, finance, and security.

Training & Evaluation Datasets

NameRoleSizeModalitiesCollection
Idavidrein/gpqa (GPQA Diamond) evaluation — human
mercor/apex-agents evaluation — human
harborframework/terminal-bench-2.1 evaluation — human
datacurve/deep-swe evaluation — human
SWE-bench/SWE-bench_Multilingual evaluation — human
ScaleAI/SWE-bench_Pro evaluation — human
benchflow/skillsbench evaluation — human
hkust-nlp/Toolathlon evaluation — human

Comments (0)

No comments yet

Be the first to share your thoughts!

What now?

You have read the full card for Hy4 preview — here is where to go next.