Qwen3 0.6B
Alibaba Cloud (Qwen) · Qwen3 · open weights
- GQA
- RoPE
- Pre-norm
- QK-norm
Facts and where they come from
| Released | 2025-04 | config.jsonconfig.jsonHugging Face repository creation date (api.createdAt) |
|---|---|---|
| Licence | apache-2.0 | config.jsonconfig.jsonREADME metadata: license |
| Total parameters | 600M | labmodel cardREADME: Number of Parameters: 0.6B |
| Active parameters | not disclosed | not disclosed |
| Context length | 32K tokens | labmodel cardREADME: Context Length: 32,768 |
| Norm placement | pre | codemodelling codetransformers 5.18.0 / repo modelling code for qwen3: input_layernorm before attention, post_attention_layernorm before the MLP |
| Norm type | RMSNorm | codemodelling codetransformers 5.18.0 / repo modelling code for qwen3: input_layernorm before attention, post_attention_layernorm before the MLP |
| QK-norm | yes | codemodelling codetransformers 5.18.0 qwen3: q_norm and k_norm |
| Positional encoding | RoPE | codemodelling coderotary on the full head (default) |
| Parallel attention and MLP | no | codemodelling codetransformers 5.18.0 / repo modelling code for qwen3: input_layernorm before attention, post_attention_layernorm before the MLP |
Architecture, drawn from the data
GQA 16q/8kv. 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) | 596M |
|---|---|
| Active per token (modelled) | 596M |
| Without embeddings and output head | 440M total, 440M active |
| Published weights (Hugging Face count) | 596M |
| KV cache per token, BF16 (layers that grow with context) | 112 KiB |
| KV cache + state at 32K tokens, BF16 | 3.5 GiB |
| Decode FLOPs per token at 4K context | 2.13 GFLOP |
| Prefill FLOPs for a 4K prompt | 5.53 TFLOP |
KV cache against context
Every architecture field
| Field | Value | Source |
|---|---|---|
| d_model | 1,024 | config.jsonconfig.jsonhidden_size |
| vocab | 151,936 | config.jsonconfig.jsonvocab_size |
| tied_embeddings | true | config.jsonconfig.jsontie_word_embeddings |
| mixers.full.type | attn | codemodelling codeattention block |
| mixers.full.heads | 16 | config.jsonconfig.jsonnum_attention_heads |
| mixers.full.kv_heads | 8 | config.jsonconfig.jsonnum_key_value_heads |
| mixers.full.head_dim | 128 | config.jsonconfig.jsonhead_dim |
| mixers.full.qk_norm | true | codemodelling codetransformers 5.18.0 qwen3: q_norm and k_norm |
| ffns.dense.type | dense | codemodelling codeMLP block |
| ffns.dense.d_ff | 3,072 | config.jsonconfig.jsonintermediate_size |
| ffns.dense.gated | true | codemodelling codeMLP: gated (SwiGLU/GeGLU) |
| layout | 28× full/dense | config.jsonconfig.jsonnum_hidden_layers |
Sources
- config.json @ da87bfb
- model card
- arXiv 2505.09388
- 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 (0.6B)” (name only; see about).