OpenModelAtlas
Help & about

Lines

DeepSeek

22 releases, Nov 2023 – Oct 2026 · 7 drawn

Llama’s layers

Drawn at Llama 3’s numbers

  1. DeepSeek LLMNov 20237B · 67B
    Numbers · 6.91B, 67.4B parameters
    Size
    Layers NN30
    Width dd4,096
    Query heads nhn_h32
    Key/value heads nkvn_{kv}32
    Head width dhd_h128
    MLP width dffd_{ff}11,008
    Vocabulary vv102,400
    Context4,096
    RoPE base θ\theta10,000
    Parameters
    Token embedding v dv\,d419,430,400
    Layers N ℓN\,\ell6,071,500,800
    ℓ=2d+2d nhdh+2d nkvdh+3d dff\ell=2d+2d\,n_h d_h+2d\,n_{kv}d_h+3d\,d_{ff}
    Final RMSNorm dd4,096
    Output projection v dv\,d419,430,400
    Total6,910,365,696
    Tensors summed273
    Pinned weights7683fea

    The total equals the sum over the pinned weights, from the bytes of its PyTorch index, 2 per bfloat16 weight (13,820,731,392 bytes).

    Unlike Llama 3’s drawing

    • A key and value for every query head, none shared

    config.json · tokenizer.json

    Layers NN95
    Width dd8,192
    Query heads nhn_h64
    Key/value heads nkvn_{kv}8
    Head width dhd_h128
    MLP width dffd_{ff}22,016
    Vocabulary vv102,400
    Context4,096
    RoPE base θ\theta10,000
    Parameters
    Token embedding v dv\,d838,860,800
    Layers N ℓN\,\ell65,747,271,680
    ℓ=2d+2d nhdh+2d nkvdh+3d dff\ell=2d+2d\,n_h d_h+2d\,n_{kv}d_h+3d\,d_{ff}
    Final RMSNorm dd8,192
    Output projection v dv\,d838,860,800
    Total67,425,001,472
    Tensors summed858
    Pinned weightsc3f813a

    The total equals the sum over the pinned weights, from the bytes of its PyTorch index, 2 per bfloat16 weight (134,850,002,944 bytes).

    config.json · tokenizer.json

    Training · 2T tokens · chat: SFT, DPO
Llama 3 · Layer · open →

DeepSeekMoE: fine-grained and shared experts , not drawn yet

  1. DeepSeekMoEJan 202416B

DeepSeek-V2: latent attention

  1. DeepSeek‑V2
    May 2024236B
  2. DeepSeek‑V2‑LiteMay 202416B
    Numbers · 15.7B parameters, 2.66B active
    Layers NN27
    Width dd2,048
    Query heads nhn_h16
    Key/value heads nkvn_{kv}16
    Key/value latent width dcd_c512
    Value head width128
    MLP width, dense layers dffd_{ff}10,944
    Routed experts EE64
    Experts per token kk6
    Shared experts2
    Expert width1,408
    Vocabulary vv102,400
    Context163,840
    RoPE base θ\theta10,000
    Parameters
    Token embedding209,715,200
    Attention371,602,944
    MLP, dense layers67,239,936
    Router3,407,872
    Shared experts449,839,104
    Routed experts14,394,851,328
    Norms112,640
    Output projection209,715,200
    Total15,706,484,224
    Active per token2,661,150,208
    Tensors summed5,291
    Pinned weights604d566

    The total is the sum over the tensors of the pinned weights, read from their safetensors headers. Active per token: every parameter but the routed experts a token does not reach, E−kE-k of EE in each layer that has experts; the embedding and the output projection included.

    Unlike DeepSeek-V2’s drawing

    • Its queries come straight from the stream, not through a compressed latent

    config.json

    Training · 5.7T tokens · chat: SFT
  3. DeepSeek‑V2.5Sep 2024236B
  4. DeepSeek‑V2.5‑1210Dec 2024236B
DeepSeek‑V2 · MoE layer · open →

DeepSeek-V3: auxiliary-loss-free routing

  1. DeepSeek‑V3
    Dec 2024671B
  2. DeepSeek‑R1 and R1‑ZeroJan 2025R1 · R1-Zero
  3. DeepSeek‑V3‑0324Mar 2025671B
  4. DeepSeek‑R1‑0528May 2025671B
  5. DeepSeek‑V3.1Aug 2025671B
  6. DeepSeek‑V3.1‑TerminusSep 2025671B
DeepSeek‑V3 · MoE layer · open →

DeepSeek-V3.2: sparse attention

  1. DeepSeek‑V3.2‑Exp
    Sep 2025671B
  2. DeepSeek‑V3.2‑SpecialeDec 2025671B
  3. DeepSeek‑V3.2
    Dec 2025671B
DeepSeek‑V3.2‑Exp · MoE layer · open →

DeepSeek-V4: compressed attention

  1. DeepSeek V4‑Flash
    Apr 2026284B
  2. DeepSeek V4‑Pro
    Apr 20261.6T
  3. DeepSeek V4 DSparkJun 2026Flash · Pro
    Numbers · 284B parameters, 13.8B active · 1.57T, 49.8B active
    Size
    Layers NN43
    Width dd4,096
    Query heads nhn_h64
    Key/value heads nkvn_{kv}1
    Head width dhd_h512
    Routed experts EE256
    Experts per token kk6
    Shared experts1
    Expert width2,048
    Vocabulary vv129,280
    Context1,048,576
    RoPE base, sliding‑window layers θ\theta10,000
    RoPE base, compressed‑attention layers160,000
    Parameters
    Token embedding529,530,880
    Attention5,086,317,888
    Router45,099,008
    Shared experts1,082,130,432
    Routed experts277,025,390,592
    Hyper‑connections33,884,439
    Norms356,352
    Output projection529,530,880
    Total284,332,240,471
    Active per token13,799,632,471
    Tensors summed34,220
    Pinned weights62af8ff
    Beside it in the weights, not in the total
    Multi‑token prediction19,845,850,983

    The total is the sum over the tensors of the pinned weights, read from their safetensors headers; quantization scales not counted; FP4 weights packed two to a byte, counted two each; the hash-routing tables stored with them are constants, not counted. Active per token: every parameter but the routed experts a token does not reach, E−kE-k of EE in each layer that has experts; the embedding and the output projection included.

    Unlike DeepSeek V4-Flash’s drawing

    • Its multi-token-prediction layers, counted apart, hold a draft block for faster decoding

    config.json

    Layers NN61
    Width dd7,168
    Query heads nhn_h128
    Key/value heads nkvn_{kv}1
    Head width dhd_h512
    Routed experts EE384
    Experts per token kk6
    Shared experts1
    Expert width3,072
    Vocabulary vv129,280
    Context1,048,576
    RoPE base, sliding‑window layers θ\theta10,000
    RoPE base, compressed‑attention layers160,000
    Parameters
    Token embedding926,679,040
    Attention19,465,103,232
    Router167,925,504
    Shared experts4,029,677,568
    Routed experts1,547,396,186,112
    Hyper‑connections84,069,603
    Norms881,664
    Output projection926,679,040
    Total1,572,997,201,763
    Active per token49,779,081,059
    Tensors summed71,980
    Pinned weights7c09739
    Beside it in the weights, not in the total
    Multi‑token prediction77,498,408,103

    The total is the sum over the tensors of the pinned weights, read from their safetensors headers; quantization scales not counted; FP4 weights packed two to a byte, counted two each; the hash-routing tables stored with them are constants, not counted. Active per token: every parameter but the routed experts a token does not reach, E−kE-k of EE in each layer that has experts; the embedding and the output projection included.

    Unlike DeepSeek V4-Flash’s drawing

    • Its multi-token-prediction layers, counted apart, hold a draft block for faster decoding

    config.json

    Training · more than 32T tokens · SFT, RL, distillation
  4. DeepSeek‑V4‑Flash‑0731Jul 2026284B
  5. DeepSeek‑V4‑Pro‑0813Aug 20261.6T
DeepSeek V4‑Pro · Compressed sparse layers · open →

DeepSeek-V4.1: Engram memory

  1. DeepSeek V4.1
    Sep 2026Flash
  2. DeepSeek‑V4.1‑Flash‑1017Oct 2026Flash
DeepSeek V4.1 · Sliding-window layer · open →