archdb

LLM architectures and pretraining recipes, with sources.

DeepSeek-V3-Base

DeepSeek · base checkpoint

Open in the comparison table Hugging Face ↗ Paper ↗

KV calculations use one sequence at 131,072 tokens and 16-bit cache elements. They include bounded sliding-window caches. This is retained cache payload, not peak prefill memory. The comparison table also offers sourced mixed-precision layouts, including quantization scales.

Release

Released

2024-12-26

Source: blog · DeepSeek API Docs news, Introducing DeepSeek-V3
Introducing DeepSeek-V3 2024/12/26

Date the weights (or, if earlier, the technical report) were first made public, YYYY-MM-DD, as dated by the publisher. A Hugging Face repository creation date is used only when no dated publisher page exists, with a note.

License

other (DeepSeek License Agreement)

Source: model-card · LICENSE-MODEL, title
DEEPSEEK LICENSE AGREEMENT

Model weights; code is MIT (README.md §7).

License of the released weights as declared by the publisher (model card metadata or license file), e.g. apache-2.0, mit, or the name of a custom license.

Input modalities

text

Inferred from the source; see the explanation below.

Source: blog · DeepSeek API Docs news, Introducing DeepSeek-V3
Look forward to multimodal support and other cutting-edge features in the DeepSeek ecosystem.

Multimodal support is announced as future work and the config (DeepseekV3ForCausalLM) has no vision tower.

Input modalities of the released checkpoint as the publisher states them, from: text, image, video, audio, joined with ' + ' in that order ("text", "text + image + video").

Parameters

Total params

671B parameters

Source: paper · p.22 §4.2
DeepSeek-V3 comprises 671B total parameters, of which 37B are activated for each token.

Total parameter count as reported by the publisher. See params.note for whether embeddings, MTP heads or vision towers are included.

Active params

37B parameters

Source: paper · p.22 §4.2
DeepSeek-V3 comprises 671B total parameters, of which 37B are activated for each token.

Parameters used per token in the forward pass, as reported by the publisher.

Active non-embedding (stated)

35.7B parameters

Inferred from the source; see the explanation below.

Source: model-card · README_WEIGHTS.md; Main Model Weights, Parameter Count
Activation parameters: 36.6B (including 0.9B for the output Head).

36.6B − 129,280 × 7,168 (untied output head, stated as included; input embedding not listed) = ~35.7B. The report rounds the activated count to 37B.

Active parameters excluding the input embedding and the output head (unembedding). Stated by the publisher, or computed from params.active by subtracting vocab × d_model for each of the embedding and output head that params.active is stated to include (basis inferred, note with the arithmetic). Not disclosed when the scope of params.active is not stated.

Counted total params

671B parameters

Calculated: embedding + output head + all experts + other weights, deepseek-ai/DeepSeek-V3-Base@afb92e1 safetensors headers; reproduces stated total (backbone) and active (with output head)

Parameters of the text backbone counted from the released checkpoint's safetensors headers (embedding, output head, all experts and other weights; excluding MTP modules, vision/audio towers and n-gram lookup tables). Shown only when the counts reproduce the publisher's stated total and active parameters within 5% under some scope.

Counted embedding + head

1.853B parameters

Calculated: input embedding + output head, deepseek-ai/DeepSeek-V3-Base@afb92e1 safetensors headers

Input embedding plus output head (once if tied), counted from the checkpoint.

Non-emb. params (counted)

669.2B parameters

Calculated: dense + routed backbone weights; excludes input embedding, output head, lookup tables, MTP and other modalities, deepseek-ai/DeepSeek-V3-Base@afb92e1 safetensors headers; reproduces stated total (backbone) and active (with output head)

Language backbone weights excluding input embeddings, output head, lookup/Engram tables, MTP modules and vision/audio towers. Equals params.counted_total minus params.counted_embedding. Same validation as params.counted_total.

Largest layer (counted)

11.51B parameters

Calculated: max(sum of dense and routed weights sharing a full layers.<index> tensor path), all experts included, deepseek-ai/DeepSeek-V3-Base@afb92e1 safetensors headers

Largest group of language-backbone weights sharing a full layers.<index> tensor path, including every routed expert. Excludes lookup/Engram tables, embeddings, output head, MTP and other modalities. Hybrid checkpoints may store mixers and FFNs as separate layers. All-gather volume also depends on wrapping, sharding and dtype.

Active non-emb. (counted)

35.7B parameters

Calculated: non-expert weights + routed experts × 8/256, excluding embedding and output head, deepseek-ai/DeepSeek-V3-Base@afb92e1 safetensors headers; reproduces stated total (backbone) and active (with output head)

Active parameters per token excluding the input embedding and output head, counted from the checkpoint as all non-expert weights plus routed-expert weights × top_k / experts. Same validation as params.counted_total.

Counting scope

671B excludes the MTP module; the released checkpoint is 685B (671B main model + 14B MTP).

Source: model-card · README.md; Model Downloads
The total size of DeepSeek-V3 models on HuggingFace is 685B, which includes 671B of the Main Model weights and 14B of the Multi-Token Prediction (MTP) Module weights.

What the publisher's counts include or exclude (MTP modules, embeddings, vision encoder, n-gram tables).

Shape

Layers

61

Source: config · /num_hidden_layers

Number of transformer blocks in the main backbone (attention or token mixer plus FFN), excluding MTP modules.

d_model

7,168

Source: config · /hidden_size

Residual stream width.

Vocab

129,280

Source: config · /vocab_size

Embedding table rows (vocab_size in config, may include padding).

Tied embeddings

No

Source: config · /tie_word_embeddings

Input embedding and output head share weights.

Tokenizer

byte-level BPE, 128K vocab; pretokenizer merges punctuation with line breaks, a proportion of these split at random in training

Source: paper · p.22 §4.1
The tokenizer for DeepSeek-V3 employs Byte-level BPE (Shibata et al., 1999) with an extended vocabulary of 128K tokens.

Tokenizer type and lineage as described by the publisher (e.g. byte-level BPE shared with an earlier model).

d_model / layers

117.508

Calculated: d_model / layers

Width-to-depth ratio, d_model divided by the number of blocks.

Attention

Token mixers

MLA

Source: paper · p.6 §2.1
the basic architecture of DeepSeek-V3 is still within the Transformer (Vaswani et al., 2017) framework. For efficient inference and economical training, DeepSeek-V3 also adopts MLA and DeepSeekMoE

Token-mixing layer types in the backbone, e.g. GQA, MLA, SWA, Gated DeltaNet, Mamba-2, DSA (DeepSeek sparse attention).

Layer layout

61 MLA

Source: paper · p.22 §4.2
We set the number of Transformer layers to 61 and the hidden dimension to 7168.

Token-mixer order, summarized as a pattern or layer positions. The fact's optional sequence lists each mixer in order; a ratio alone does not establish the order. Auxiliary prediction modules and standalone FFNs are excluded.

Global-attention layers

61

Source: paper · p.22 §4.2
We set the number of Transformer layers to 61 and the hidden dimension to 7168.

Every block uses MLA.

Layers whose KV cache grows with full context (dense or sparse global attention, MLA). Excludes sliding-window and linear/recurrent layers.

Query heads

128

Source: config · /num_attention_heads

Query heads in the global-attention layers.

Heads × head dim

24,576

Calculated: heads × head_dim

attn.heads × attn.head_dim, the query projection width of global layers.

QK head dim

192

Source: config · /qk_nope_head_dim + /qk_rope_head_dim

Query/key dimension per head in global-attention layers (for MLA, nope + rope dims).

V head dim

128

Source: config · /v_head_dim

Value dimension per head in global layers (MLA v_head_dim; stated for MLA even when equal to the QK head dim).

MLA KV latent

512

Source: config · /kv_lora_rank

Width of the compressed KV latent that MLA caches per token per layer.

MLA Q latent

1,536

Source: config · /q_lora_rank

Width of the low-rank query projection in MLA; 0 when queries use a full-rank projection.

Decoupled RoPE dim

64

Source: config · /qk_rope_head_dim

Width of the shared positional key that MLA caches next to the latent.

Positional encoding

partial RoPE (decoupled 64-dim RoPE key shared across heads + 128 NoPE dims per head)

Source: paper · p.8 §2.1.1
to produce the decoupled key that carries Rotary Positional Embedding (RoPE)

Positional scheme in global layers: RoPE, partial RoPE, NoPE, or mixed per layer type.

RoPE base

10,000

Source: config · /rope_theta

RoPE base frequency of the global layers at release.

QK norm

No

Source: code · modeling_deepseek.py lines 750–836; DeepseekV3Attention.forward
torch.matmul(query_states, key_states.transpose(2, 3)) * self.softmax_scale

RMSNorm is applied only to the Q and KV latents before up-projection; projected per-head Q/K go straight to the scaled dot product.

Queries and keys are normalized per head before the dot product.

Attention scaling

1/sqrt(192) × (0.1·ln 40 + 1)² (YaRN mscale, s = 40)

Source: code · modeling_deepseek.py lines 689–695; DeepseekV3Attention.__init__
self.softmax_scale = self.softmax_scale * mscale * mscale

mscale = 0.1·mscale_all_dim·ln(factor) + 1 with /rope_scaling/mscale_all_dim 1 and factor 40; the YaRN temperature from context extension (p.23 §4.3).

Query-key scaling when it is not 1/sqrt(head_dim), e.g. query_pre_attn_scalar, length-dependent (SSMax-style) scaling, or value scaling.

QKV bias

No

Source: config · /attention_bias

Query/key/value projections have bias terms.

Feed-forward

Activation

SwiGLU

Source: code · modeling_deepseek.py line 389; DeepseekV3MLP.forward
down_proj = self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))

act_fn is SiLU (/hidden_act).

FFN activation (SwiGLU, GeGLU, ...).

Dense FFN dim

18,432

Source: config · /intermediate_size

Intermediate width of the dense FFN layers that are actually executed.

FFN bias

No

Source: code · modeling_deepseek.py line 383; DeepseekV3MLP.__init__
self.gate_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=False)

Up and down projections also bias=False; dense FFN, routed and shared experts all use DeepseekV3MLP.

FFN projections have bias terms.

Dense FFN / d_model

2.57143

Calculated: ffn.dim / d_model

ffn.dim divided by shape.d_model.

Mixture of experts

Routed experts

256

Source: config · /n_routed_experts

Routed experts per MoE layer.

Experts per token

8

Source: config · /num_experts_per_tok

Routed experts selected per token.

Shared experts

1

Source: config · /n_shared_experts

Always-on experts per MoE layer.

Expert dim

2,048

Source: config · /moe_intermediate_size

Intermediate width of one routed expert.

Shared expert dim

2,048

Source: config · /moe_intermediate_size

1 shared expert (/n_shared_experts) of the routed-expert width.

Total intermediate width of the shared expert(s).

Leading dense layers

3

Source: config · /first_k_dense_replace

All later layers are MoE (/moe_layer_freq 1).

Number of initial blocks that use a dense FFN instead of MoE.

Router score

sigmoid

Source: config · /scoring_func

Gating function over expert logits (softmax, sigmoid).

Load balancing

aux-loss-free bias (γ=0.001, frozen for the last 500B tokens) + sequence-wise loss α=1e-4

Source: paper · p.23 §4.2
we set the bias update speed 𝛾 to 0.001 for the first 14.3T tokens, and to 0.0 for the remaining 500B tokens. For the balance loss, we set 𝛼 to 0.0001

Bias enters top-k selection only (config /topk_method noaux_tc).

Load-balancing method, with coefficients where disclosed.

Routed scaling factor

2.5

Source: config · /routed_scaling_factor

Multiplier applied to the combined routed-expert output (routed_scaling_factor).

Renormalize top-k

Yes

Source: paper · p.9 §2.1.2
applies a normalization among all selected affinity scores to produce the gating values.

config /norm_topk_prob true.

Selected expert weights are renormalized to sum to 1.

Group-limited routing

node-limited: each token sent to at most 4 of 8 nodes (groups)

Source: paper · p.23 §4.2
As for the node-limited routing, each token will be sent to at most 4 nodes

Nodes ranked by the sum of the top K_r/M affinities on each node (p.10 §2.1.2); config /n_group 8, /topk_group 4.

Expert groups and groups selected per token, or node-limited routing, when used.

Expert dim / d_model

0.285714

Calculated: moe.expert_dim / d_model

moe.expert_dim divided by shape.d_model.

Sparsity (experts / top-k)

32

Calculated: experts / top_k

Routed experts divided by experts selected per token.

Active / total

0.0551416

Calculated: params.active / params.total

params.active divided by params.total.

Multi-token prediction

MTP depth

1

Source: paper · p.22 §4.2
The multi-token prediction depth 𝐷 is set to 1, i.e., besides the exact next token, each token will predict one additional token.

Additional future tokens predicted during pretraining (0 when the model was trained without MTP).

MTP modules

1

Source: config · /num_nextn_predict_layers

MTP modules with distinct weights. 1 with mtp.depth > 1 means one module is applied recursively.

MTP module

h' = M_k[RMSNorm(h); RMSNorm(Emb(t_{i+k}))] (2d→d projection), then one Transformer block identical to the main layers (MLA + MoE)

Source: paper · p.10 §2.2, Eq. 21
a Transformer block TRM𝑘 (·), and a projection matrix 𝑀𝑘 ∈ R𝑑 ×2𝑑

Contents of one MTP module (mixer and FFN type, norms, how the previous hidden state and next-token embedding are combined).

MTP FFN

MoE

Source: model-card · README_WEIGHTS.md; Multi-Token Prediction (MTP) Modules, Structural Details
model.layers.61.self_attn & mlp (structure identical to the Main Model hidden layers)

Layer 61 is past /first_k_dense_replace 3, so 256 routed + 1 shared experts.

FFN in the MTP module: 'dense' or 'MoE', with its width when it differs from the backbone.

MTP shares embedding/head

Yes

Source: paper · p.10 §2.2
Note that for each MTP module, its embedding layer is shared with the main model.

Output head is shared as well (same section).

MTP modules use the main model's input embedding and output head.

MTP params

11.5B parameters

Source: model-card · README_WEIGHTS.md; Multi-Token Prediction (MTP) Modules, Parameter Count
Parameters: **11.5B unique parameters** (excluding the shared 0.9B Embedding and 0.9B output Head).

Excludes the shared embedding and head; the model card gives 14B for the MTP module weights.

Parameters of all MTP modules as reported by the publisher.

MTP loss weight

0.3 for the first 10T tokens, 0.1 for the remaining 4.8T

Source: paper · p.23 §4.2
The MTP loss weight 𝜆 is set to 0.3 for the first 10T tokens, and to 0.1 for the remaining 4.8T tokens.

Weight of the MTP loss, including its schedule.

MTP weights released

Yes

Source: model-card · README.md; Model Downloads
The total size of DeepSeek-V3 models on HuggingFace is 685B, which includes 671B of the Main Model weights and 14B of the Multi-Token Prediction (MTP) Module weights.

The released checkpoint contains the MTP module weights.

Normalization and stability

Norm

RMSNorm

Source: code · modeling_deepseek.py lines 1160–1165; DeepseekV3DecoderLayer.__init__
self.input_layernorm = DeepseekV3RMSNorm(

Normalization layer type in the blocks.

Norm placement

pre

Source: code · modeling_deepseek.py lines 1195–1217; DeepseekV3DecoderLayer.forward
hidden_states = self.input_layernorm(hidden_states)

Pre-norm, post-norm, or sandwich (pre and post).

Norm epsilon

1e-06

Source: config · /rms_norm_eps

Epsilon of the block normalization layers.

Context length

Pretraining context

4.096K tokens

Source: paper · p.22 §4.2
We set the maximum sequence length to 4K during pre-training

Sequence length of the main pretraining stage.

Trained context

131.1K tokens

Source: paper · p.23 §4.3
During the second phase, the sequence length is increased to 128K, and the batch size is reduced to 480.

Longest sequence length trained on after context extension.

Advertised context

131.1K tokens

Source: model-card · README.md; Model Downloads table
DeepSeek-V3-Base | 671B | 37B | 128K

config /max_position_embeddings 163840 is 4096 × YaRN factor 40, not the advertised length.

Longest context the publisher says the model supports, possibly beyond trained length via RoPE scaling.

Extension method

YaRN (s=40, α=1, β=32) on the decoupled key; 4K → 32K (1000 steps, batch 1920) → 128K (1000 steps, batch 480), LR 7.3e-6

Source: paper · p.23 §4.3
we apply YaRN (Peng et al., 2023a) for context extension and perform two additional training phases, each comprising 1000 steps, to progressively expand the context window from 4K to 32K and then to 128K.

config /rope_scaling: type yarn, factor 40, beta_fast 32, beta_slow 1, mscale 1, original_max_position_embeddings 4096.

How context was extended (stages, RoPE base change, YaRN factor).

Pretraining recipe

Pretraining tokens

14.8T tokens

Source: paper · p.22 §4.2
We set the maximum sequence length to 4K during pre-training, and pre-train DeepSeek-V3 on 14.8T tokens.

Tokens seen in pretraining including annealing and context extension, as reported.

Optimizer

AdamW

Source: paper · p.22 §4.2
We employ the AdamW optimizer (Loshchilov and Hutter, 2017) with hyper-parameters set to 𝛽1 = 0.9, 𝛽2 = 0.95, and weight_decay = 0.1.

Optimizer used for the bulk of parameters.

Peak LR

0.00022

Source: paper · p.22 §4.2
we first linearly increase it from 0 to 2.2 × 10−4 during the first 2K steps. Then, we keep a constant learning rate of 2.2 × 10−4 until the model consumes 10T training tokens.

Peak learning rate of the main pretraining stage.

Final LR

7.3e-06

Source: paper · p.23 §4.2
of 7.3 × 10−6 in the remaining 167B tokens.

Learning rate at the end of the decay.

LR schedule

2K-step warmup, constant to 10T, cosine to 2.2e-5 over 4.3T, then 2.2e-5 for 333B and 7.3e-6 for 167B

Source: paper · p.22 §4.2
Subsequently, we gradually decay the learning rate to 2.2 × 10−5 in 4.3T tokens, following a cosine decay curve. During the training of the final 500B tokens, we keep a constant learning rate of 2.2 × 10−5 in the first 333B tokens

Learning-rate schedule shape with phase boundaries.

Warmup

2000 steps

Source: paper · p.22 §4.2
we first linearly increase it from 0 to 2.2 × 10−4 during the first 2K steps.

Warmup length in steps or tokens.

Batch size

3,072 → 15,360 × 4,096 (62.9M tokens) over the first 469B tokens, then constant

Source: paper · p.23 §4.2
the batch size is gradually increased from 3072 to 15360 in the training of the first 469B tokens, and then keeps 15360 in the remaining training.

Global batch size, including any batch-size ramp: sequences × sequence length (token total), or the token total alone when only that is stated.

Batch (tokens)

62.91M tokens

Inferred from the source; see the explanation below.

Source: paper · p.23 §4.2
and then keeps 15360 in the remaining training.

15360 sequences × 4096 tokens (4K pretraining sequence length, p.22 §4.2), after the ramp from 3072 over the first 469B tokens.

Global batch size in tokens during the main pretraining stage, after any ramp (sequences × sequence length when stated in sequences, marked inferred).

Weight decay

0.1

Source: paper · p.22 §4.2
with hyper-parameters set to 𝛽1 = 0.9, 𝛽2 = 0.95, and weight_decay = 0.1.

Decoupled weight decay coefficient.

Adam betas

(0.9, 0.95)

Source: paper · p.22 §4.2
with hyper-parameters set to 𝛽1 = 0.9, 𝛽2 = 0.95, and weight_decay = 0.1.

(beta1, beta2) of the Adam-family optimizer or its AdamW fallback.

Grad clip

1

Source: paper · p.23 §4.2
The gradient clipping norm is set to 1.0.

Global gradient-norm clipping threshold.

Training precision

FP8 (E4M3) for Fprop, Dgrad and Wgrad of Linear layers; scales per 1×128 activation tile and 128×128 weight block; embedding, output head, MoE gating, norms and attention kept in BF16/FP32

Source: paper · p.15 §3.3.1
we maintain the original precision (e.g., BF16 or FP32) for the following components: the embedding module, the output head, MoE gating modules, normalization operators, and attention operators.

E4M3 on all tensors and 1×128 / 128×128 scaling: p.16–17 §3.3.2. Optimizer moments in BF16, master weights and gradients in FP32 (p.18 §3.3.3).

Matmul precision of pretraining (BF16, FP8 recipe, NVFP4 recipe) with the scaling granularity where disclosed. Never inferred from the released checkpoint dtype.

Initialization

random init, std 0.006 for all learnable parameters

Source: paper · p.22 §4.2
All learnable parameters are randomly initialized with a standard deviation of 0.006.

Weight initialization (std or scheme) as stated by the publisher; config initializer_range alone is not evidence.

Document masking

packed documents, no cross-sample attention masking

Source: paper · p.22 §4.1
we implement the document packing method for data integrity but do not incorporate cross-sample attention masking during training.

Whether attention crosses document boundaries within a packed sequence.

Extra objectives

FIM at rate 0.1, PSM format, applied per document before packing

Source: paper · p.22 §4.1
The FIM strategy is applied at a rate of 0.1, consistent with the PSM framework.

Objectives beyond next-token prediction and MTP (fill-in-the-middle rate, distillation, multimodal tokens from the start).

Data mix

14.8T tokens; math and code share raised vs DeepSeek-V2; multilingual coverage beyond English and Chinese

Source: paper · p.21 §4.1
enhancing the ratio of mathematical and programming samples

Pretraining data composition as disclosed (domain shares, synthetic fraction, repetition).

Hardware

2048 H800 GPUs

Source: paper · p.5 §1
3.7 days on our cluster with 2048 H800 GPUs

Pretraining took less than two months (same paragraph).

Accelerators used for pretraining, count and duration where stated.

Accelerators

2,048 H800

Source: paper · p.11 §3.1
DeepSeek-V3 is trained on a cluster equipped with 2048 NVIDIA H800 GPUs.

Accelerator count and type for the main pretraining run, as the count with thousands separators and the chip's short name ("2,048 H800", "2,048 GH200"). A stated range or bound stays as stated ("2,048–4,096 GH200").

Parallelism

PP16 · EP64 · ZeRO-1 DP

Source: paper · p.11 §3.2
DeepSeek-V3 applies 16-way Pipeline Parallelism (PP) (Qi et al., 2023a), 64-way Expert Parallelism (EP) (Lepikhin et al., 2021) spanning 8 nodes, and ZeRO-1 Data Parallelism (DP)

Parallelism layout of the main pretraining run as stated, as degree-annotated terms in the order TP, PP, VPP, EP, CP, DP ("PP16 · EP64 · ZeRO-1 DP"); a term without a stated degree has none ("FSDP").

Compute

2.664M H800 GPU-hours pretraining + 119K context extension (2.788M with 5K post-training)

Source: paper · p.5 §1, Table 1
costs 2664K GPU hours. Combined with 119K GPU hours for the context length extension and 5K GPU hours for post-training

Pretraining compute as stated (GPU-hours or FLOPs).

Stages
  • main

    Tokens
    14800000000000
    Seq len
    4096
    Source: paper · p.22–23 §4.2, §4.3
    We set the maximum sequence length to 4K during pre-training, and pre-train DeepSeek-V3 on 14.8T tokens.
  • context-1

    Seq len
    32768
    Lr
    7.3e-06
    Batch sequences
    1920
    Steps
    1000
    Source: paper · p.22–23 §4.2, §4.3
    In the first phase, the sequence length is set to 32K, and the batch size is 1920.
  • context-2

    Seq len
    131072
    Lr
    7.3e-06
    Batch sequences
    480
    Steps
    1000
    Source: paper · p.22–23 §4.2, §4.3
    During the second phase, the sequence length is increased to 128K, and the batch size is reduced to 480.
Source: paper · p.22–23 §4.2, §4.3

Ordered pretraining stages. Each item: name, tokens, seq_len, lr, batch_tokens, batch_sequences, steps, note, quote, and source when it differs from the fact's source.

Scaling & HP transfer

Scaling ladder

15.7B total (2.4B active) on 1.33T tokens; 228.7B total (20.9B active) on 540B tokens

Source: paper · p.26 §4.5.1 Table 4
At the small scale, we train a baseline MoE model comprising 15.7B total parameters on 1.33T tokens. At the large scale, we train a baseline MoE model comprising 228.7B total parameters on 540B tokens.

MTP ablation; aux-loss-free ablation uses the same sizes at 1.33T/578B tokens (Table 5), FP8 validation ~16B/1.33T and ~230B/~0.9T (App. B.1); active counts from Table 4.

Smaller models trained to choose the architecture or recipe (sizes, token budgets), as disclosed.

Tokens / param

22.0566

Calculated: train.tokens / params.total

train.tokens divided by params.total.

Tokens / active param (non-embedding)

414.578

Calculated: train.tokens / params.counted_active_non_embedding

train.tokens divided by params.counted_active_non_embedding, or by the stated params.active_non_embedding when there is no validated checkpoint count.

AdamW timescale τ

0.193227

Calculated: train.batch_tokens / (train.lr_peak × train.weight_decay × train.tokens)

B / (η λ D) with B = train.batch_tokens, η = train.lr_peak, λ = train.weight_decay and D = train.tokens: the AdamW EMA timescale as a fraction of training (Bergsma et al. 2025, Power Lines, arXiv 2505.13738). Computed only when the optimizer is AdamW; uses the peak LR.

KV cache

KV bytes / token

70,272 bytes

Calculated: kv.bytes_at_context / 131072 tokens; uniform BF16, payload only; quantization overhead excluded. Global KV: 61 × (576 × 16/8) B/entry

Retained KV cache divided by context length, including bounded SWA caches and indexer keys. Exports use uniform BF16 at 131,072 tokens. The website can select uniform payload precision (no quantization overhead) or sourced component formats (including scales and documented padding). This is cache payload, not peak prefill memory or persistent prefix storage.

Global KV bytes / token

70,272 bytes

Calculated: 70272 B / 1 tokens (Global KV); uniform BF16, payload only; quantization overhead excluded. Global KV: 61 × (576 × 16/8) B/entry

Long-context global KV bytes per token, including indexer keys; excludes bounded SWA caches. Compression rates and cross-layer cache reuse are included. Exports use uniform BF16; the website's storage selector also applies here. This is the field to compare with global-KV figures in reports, using the matching storage recipe.

KV bytes / token / B active

1,899 bytes

Calculated: kv.bytes_per_token (131072 tokens) / (params.active / 1e9); uniform BF16, payload only; quantization overhead excluded. Global KV: 61 × (576 × 16/8) B/entry

kv.bytes_per_token divided by active parameters in billions (131,072 tokens in exports).

KV at context / B active

248,937,610 bytes

Calculated: kv.bytes_at_context (131072 tokens) / (params.active / 1e9); uniform BF16, payload only; quantization overhead excluded. Global KV: 61 × (576 × 16/8) B/entry

kv.bytes_at_context divided by active parameters in billions (131,072 tokens in exports).

KV at context

9,210,691,584 bytes

Calculated: 70272 B × 131072 (Global KV); uniform BF16, payload only; quantization overhead excluded. Global KV: 61 × (576 × 16/8) B/entry

Retained KV cache for one sequence at the selected context, including SWA windows and indexer keys. Exports use uniform BF16 at 131,072 tokens. Excludes recurrent state, compressor tail state, draft/MTP caches, temporary prefill tensors, allocator metadata and persistent prefix snapshots. Does not estimate peak prefill or total serving memory.

Evaluations

AA Intelligence Index

8

Source: leaderboard · Artificial Analysis model page /models/deepseek-v3, Wayback snapshot 2026-10-19
DeepSeek V3 (Dec '24) scores 8 on the Artificial Analysis Intelligence Index

Score of DeepSeek-V3, post-trained from this base. Variant: DeepSeek V3 (Dec '24). Index v4.3.2.

Artificial Analysis Intelligence Index v4.3.2 of the post-trained model, from a dated Wayback snapshot of its Artificial Analysis page. The note names the variant (reasoning setting).

All models · Link to this model