Architecture
Retrieved 2026-09-01 at pinned commit 60d8d70770c6; the native packed/fused checkpoint metadata is not used as a logical parameter total.
- Architecture
- deepseek_v4
- Layers
- 43
- Hidden size
- 4,096
- Attention heads
- 64
- KV heads
- 1
- Head dimension
- 512
- Vocabulary
- 129,280
- Context ceiling
- 1,048,576
- Sliding window
- 128
- RoPE theta
- 10,000
- Experts
- 256
- Experts / token
- 6
- Expert width
- 2,048
- Shared experts
- 1
Where the memory goes
Grouped-query attention shares each key/value head across 64 query heads, so the KV cache is 2% of what multi-head attention would need at the same context.