LLM Library
Mixture of expertsOpen weightsArchitecture animation
DeepSeek-V3
A huge MoE that matched leading models at a reported low training cost.
At a glance
- Made by
- DeepSeek
- Released
- 2024
- Type
- Mixture of experts
- Access
- Open weights
- Parameters
- 671B
- Active per token
- 37B
- Context window
- 128k tokens
- Attention
- Multi-head latent attention (MLA)
How it works
V3 has 671B parameters with 256 routed experts plus a shared expert, and 8 routed experts are used per token (37B active). It adds multi-token prediction and was trained in FP8 to save cost.
Architecture, step by step
A token travels from text in to prediction out. The boxed layers repeat many times.
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
- MLA plus fine-grained MoE
- Multi-token prediction
- FP8 training
Keep in mind
Cost figures cover only the final training run, not research.