Production model

DeepSeek V3.1

Architecture

Positional encoding RoPE (decoupled head for MLA)
Norm placement Pre-Norm
Norm type RMSNorm
QK-Norm no
Activation SwiGLU
Attention MLA
MoE DeepSeekMoE with aux-loss-free routing
Other Same base architecture as DeepSeek V3 / R1 (671B total, 37B active, 61 layers), Hybrid thinking + non-thinking modes selected by chat template, Continued pretraining and post-training on top of the V3 base

Techniques used

DeepSeek V3.1 (August 2025) is a continuation of the DeepSeek V3 base model with additional pretraining and a post-training recipe that supports both reasoning (“thinking”) and direct (“non-thinking”) inference modes from a single checkpoint. Architecturally it inherits the V3 stack unchanged:

The V3.1 contribution is at the post-training and weight level — extended pretraining, unified thinking/non-thinking distillation, refined tool-use behavior — not at the architecture level. For the architecture, the V3 entry is the source of truth.

This page exists for navigability. Readers landing here from “what does V3.1 use for attention?” should know the answer is “the same MLA configuration as V3.”

The DeepSeek V3.2-Exp release (when added) is where the architecture line resumes — V3.2 introduces DeepSeek Sparse Attention on top of MLA.

Sources

Models like this