Qwen3.8-Flash-Next
Alibaba Cloud (Qwen) · Qwen3.5 · open weights · multimodal (text stack modelled)
- GQA
- Linear attention
- DeltaNet / KDA
- Hybrid
- RoPE
- Partial RoPE
- QK-norm
- MoE
- Shared expert
- MTP
Facts and where they come from
| Released | 2026-08 | config.jsonconfig.jsonHugging Face repository creation date (api.createdAt) |
|---|---|---|
| Licence | other | config.jsonconfig.jsonREADME metadata: license |
| Total parameters | 125B | labmodel cardREADME: 125B with 6B activated, plus 51B n-gram embedding and 4B MTP |
| Active parameters | 6B | labmodel cardREADME: 6B activated |
| Context length | 256K tokens | labmodel cardREADME: 262,144 natively |
| Norm placement | not disclosed | not disclosednot checked in the modelling code |
| Norm type | not disclosed | not disclosednot checked in the modelling code |
| QK-norm | yes | codemodelling codetransformers 5.18.0 qwen4_exp: norm_query and norm_key |
| Positional encoding | multimodal RoPE on 25% of each head | config.jsonconfig.jsontext_config.rope_parameters.partial_rotary_factor |
Architecture, drawn from the data
36× Gated DeltaNet + 12× GQA 24q/2kv. Each column is one layer: its token mixer above, its feed-forward block below. Paler columns reuse another layer’s keys and values.
Modelled costs
From the cost model, batch size 1. Totals the lab states are in the table above; differences come from rounding, from what a lab counts, or from parts the model does not describe (listed on the about page).
| Parameters (modelled) | 125B |
|---|---|
| Active per token (modelled) | 6.61B |
| Without embeddings and output head | 124B total, 5.34B active |
| Multi-token-prediction layers (extra) | 2.59B |
| Published weights (Hugging Face count) | 180B (packed low-bit tensors, so not comparable) |
| KV cache per token, BF16 (layers that grow with context) | 24 KiB |
| KV cache + state at 256K tokens, BF16 | 6.05 GiB |
| Decode FLOPs per token at 4K context | 13.3 GFLOP |
| Prefill FLOPs for a 4K prompt | 46.9 TFLOP |
KV cache against context
Every architecture field
| Field | Value | Source |
|---|---|---|
| d_model | 2,560 | config.jsonconfig.jsontext_config.hidden_size |
| vocab | 248,320 | config.jsonconfig.jsontext_config.vocab_size |
| tied_embeddings | false | config.jsonconfig.jsontext_config.tie_word_embeddings |
| mixers.full.type | attn | codemodelling codeattention block |
| mixers.full.heads | 24 | config.jsonconfig.jsontext_config.num_attention_heads |
| mixers.full.kv_heads | 2 | config.jsonconfig.jsontext_config.num_key_value_heads |
| mixers.full.head_dim | 256 | config.jsonconfig.jsontext_config.head_dim |
| mixers.full.gate | elementwise | codemodelling codeoutput_gate_type: sigmoid |
| mixers.full.qk_norm | true | codemodelling codetransformers 5.18.0 qwen4_exp_text: q_norm and k_norm |
| mixers.linear.type | deltanet | codemodelling codeGated DeltaNet linear attention |
| mixers.linear.k_heads | 16 | config.jsonconfig.jsontext_config.linear_num_key_heads |
| mixers.linear.v_heads | 48 | config.jsonconfig.jsontext_config.linear_num_value_heads |
| mixers.linear.k_head_dim | 128 | config.jsonconfig.jsontext_config.linear_key_head_dim |
| mixers.linear.v_head_dim | 128 | config.jsonconfig.jsontext_config.linear_value_head_dim |
| mixers.linear.conv_kernel | 4 | config.jsonconfig.jsontext_config.linear_conv_kernel_dim |
| ffns.moe.type | moe | codemodelling codeMoE block |
| ffns.moe.experts | 512 | config.jsonconfig.jsontext_config.num_experts |
| ffns.moe.active | 10 | config.jsonconfig.jsontext_config.num_experts_per_tok |
| ffns.moe.d_expert | 640 | config.jsonconfig.jsontext_config.moe_intermediate_size |
| ffns.moe.gated | true | codemodelling codeexperts are gated MLPs |
| ffns.moe.shared | 1 | codemodelling codeone shared expert of shared_expert_intermediate_size |
| ffns.moe.d_shared | 640 | config.jsonconfig.jsontext_config.shared_expert_intermediate_size |
| layout | 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe · 3× linear/moe · 1× full/moe | config.jsonconfig.jsontext_config.layer_types |
| mtp_layers | 1 | config.jsonconfig.jsontext_config.mtp_num_hidden_layers |
| mtp_layer | {"mixer":"full","ffn":"moe","n":1} | codemodelling codeMTP layer: a full-attention block |
Sources
- config.json @ de4b8e4
- model card
- modelling code · transformers 5.18.0 modelling code, or the model repository's own modelling file at the pinned revision
Listed in the LLM Architecture Gallery checklist as “Qwen3.8-Flash-Next (125B-A6B)” (name only; see about).