Hunyuan · 2026-04 · Sparse MoE

Hunyuan 3 Preview Base

Hunyuan 3 Preview Base is a grouped-query attention (GQA) transformer released by Hunyuan in 2026-04, with 80 layers, hidden size 4096 and a context window of 262,144 tokens.

Layer stack

Attention ×80 · Layers 80

Key facts

FamilyHunyuan
Released2026-04
Params296.3 B
Active19.9 B
Context262,144 tokens
AttentionGQA (64:8)
Layers80
Hidden4,096
Heads64
Vocab120,832
Positionlearned/absolute
NormRMSNorm
Activationsilu
Dtypebf16
Architecture classHYV3ForCausalLM

Architecture overview

t₁ t₂ t₃ t₄ input tokens Embedding · Vocab 120,832 → Hidden 4,096 Q1 Q2 Q3 Qn KV1 KV2 KV3 KVn Heads 64 KV heads 8 head dim 128 · learned/absolute Router E1 E2 E3 E4 E5 E6 E7 E8 +184… Shared expert ×1 top-8 of 192 experts · ≈ 19.9B params active per token × 80 transformer block Attention Feed-forward / MoE RMSNorm pre-norm Final norm · RMSNorm LM head → Vocab 120,832 p p p → next token MTP ×1 → +1 future tokens Position learned/absolute Dtype BF16 Context 256K tok
Drawn from the shipped config.json · 80 layers / width 4,096 / context 262,144. Original diagram by this atlas.

Attention

grouped-query attention (GQA) — 64 q-heads / 8 kv-heads.

Feed-forward / MoE

It is a sparse mixture-of-experts with 192 routed experts and top-8 routing; about 19.9B parameters are active per token.

The configuration ships 1 extra multi-token-prediction (MTP) layers used to accelerate decoding.

Field-level comparison

Compared against the previous model of the same lab; where none exists, against the structurally closest model. The ratio column is this model divided by the comparison model.

Full-field comparison vs predecessor Hunyuan 3 Preview
ModelHunyuan 3 Preview BaseHunyuan 3 PreviewRatio
model_typehy_v3hy_v3
architecturesHYV3ForCausalLMHYV3ForCausalLM
hidden_size40964096≈1
num_hidden_layers8080≈1
num_attention_heads6464≈1
num_key_value_heads88≈1
head_dim128128≈1
intermediate_size1331213312≈1
hidden_actsilusilu
num_experts_per_tok88≈1
moe_intermediate_size15361536≈1
max_position_embeddings262144262144≈1
rms_norm_eps0.000010.00001≈1
vocab_size120832120832≈1
num_nextn_predict_layers11≈1
enable_attention_fp32_softmaxfalsefalse
enable_lm_head_fp32truetrue
enable_moe_fp32_combinefalsefalse
expert_hidden_dim15361536≈1
first_k_dense_replace11≈1
initializer_range0.0060.006≈1
moe_router_enable_expert_biastruetrue
moe_router_use_sigmoidtruetrue
num_experts192192≈1
num_shared_experts11≈1
output_router_logitstruetrue

Most similar architectures

Similarity values range from 0 (no shared categorical features) to 1 (identical profiles).

Raw config fields

33 fields
architecturesHYV3ForCausalLM
enable_attention_fp32_softmaxfalse
enable_lm_head_fp32true
enable_moe_fp32_combinefalse
expert_hidden_dim1536
moe_intermediate_size1536
first_k_dense_replace1
head_dim128
hidden_actsilu
hidden_size4096
initializer_range0.006
intermediate_size13312
max_position_embeddings262144
model_typehy_v3
moe_router_enable_expert_biastrue
moe_router_use_sigmoidtrue
num_attention_heads64
num_experts192
num_experts_per_tok8
num_hidden_layers80
num_key_value_heads8
num_shared_experts1
output_router_logitstrue
qk_normtrue
rms_norm_eps0.00001
route_normtrue
router_scaling_factor2.826
tie_word_embeddingsfalse
transformers_version5.6.0
use_cachetrue
use_grouped_mmfalse
vocab_size120832
num_nextn_predict_layers1