Skip to content
StackDecode
LLM Library
Mixture of expertsOpen weightsArchitecture animation

Qwen3

Dense and MoE sizes with a switchable thinking mode.

At a glance

Made by
Alibaba
Released
2025
Type
Mixture of experts
Access
Open weights
Parameters
Dense 0.6B to 32B; MoE 30B and 235B
Active per token
3B and 22B for the MoE models
Context window
32k to 128k tokens
Attention
Grouped-query attention with QK-norm

How it works

Qwen3 offers dense models and mixture-of-experts models (30B-A3B and 235B-A22B) in one family, and one model can switch between fast answers and step-by-step reasoning.

Architecture, step by step

A token travels from text in to prediction out. The boxed layers repeat many times.

× N layersText inTokenizerEmbedding + positionNormSelf-attentionAdd (residual)NormRouter picks top-k expertsSelected experts (MLPs)Add (residual)Final normLM head (vocabulary scores)Softmax, then sample next token

Raw text enters the system, for example "The cat sat on the".

stage:
1/13
part:
Text in
1/13

The green dot is one token travelling through the model. The boxed section repeats for every layer.

What stands out

  • Dense and MoE sizes
  • Thinking and non-thinking modes
  • Apache 2.0

Keep in mind

Context length depends on the size.

Related models