Hunyuan · 2026-05 · Sparse MoE

Hunyuan-TurboS 30B A3B

Hunyuan-TurboS 30B A3B is a grouped-query attention (GQA) transformer released by Hunyuan in 2026-05, with 48 layers, hidden size 2048 and a context window of 262,144 tokens.

Layer stack

Attention ×48 · Layers 48

Key facts

FamilyHunyuan
Released2026-05
Params30.3 B
Active3.3 B
Context262,144 tokens
AttentionGQA (32:4)
Layers48
Hidden2,048
Heads32
Vocab120,832
PositionRoPE
NormRMSNorm
Activationsilu
Dtypebf16
Architecture classHYV3ForCausalLM

Architecture overview

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

Attention

grouped-query attention (GQA) — 32 q-heads / 4 kv-heads. RoPE θ=11,158,840.

Feed-forward / MoE

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

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 Base
ModelHunyuan-TurboS 30B A3BHunyuan 3 Preview BaseRatio
model_typehy_v3hy_v3
architecturesHYV3ForCausalLMHYV3ForCausalLM
hidden_size20484096×0.500
num_hidden_layers4880×0.600
num_attention_heads3264×0.500
num_key_value_heads48×0.500
head_dim128128≈1
intermediate_size691213312×0.519
hidden_actsilusilu
num_experts_per_tok88≈1
moe_intermediate_size7681536×0.500
rope_theta11158840
max_position_embeddings262144262144≈1
rms_norm_eps0.000010.00001≈1
vocab_size120832120832≈1
num_nextn_predict_layers1
attn_impleager
bos_token_id120000
enable_attention_fp32_softmaxfalsefalse
enable_lm_head_fp32truetrue
enable_moe_fp32_combinefalsefalse
eod_token_id120026
eos_token_id120025
expert_hidden_dim7681536×0.500
first_k_dense_replace11≈1
initializer_range0.0060.006≈1

Most similar architectures

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

Raw config fields

39 fields
architecturesHYV3ForCausalLM
attn_impleager
bos_token_id120000
enable_attention_fp32_softmaxfalse
enable_lm_head_fp32true
enable_moe_fp32_combinefalse
eod_token_id120026
eos_token_id120025
expert_hidden_dim768
moe_intermediate_size768
first_k_dense_replace1
head_dim128
hidden_actsilu
hidden_size2048
initializer_range0.006
intermediate_size6912
max_position_embeddings262144
model_typehy_v3
moe_router_enable_expert_biastrue
moe_router_use_sigmoidtrue
num_attention_heads32
num_experts128
num_experts_per_tok8
num_hidden_layers48
num_key_value_heads4
num_shared_experts1
output_router_logitstrue
pad_token_id120002
qk_normtrue
rms_norm_eps0.00001
rope_theta11158840
route_normtrue
router_scaling_factor2.826
sep_token_id120007
tie_word_embeddingsfalse
transformers_version4.57.1
use_cachetrue
use_grouped_mmfalse
vocab_size120832