OpenModelAtlas
Help & about

Lines

GLM

14 releases, Mar 2023 – Aug 2026 · 4 drawn

ChatGLM: blank infilling , not drawn yet

  1. ChatGLMMar 20236B

ChatGLM2: multi-query attention , not drawn yet

  1. ChatGLM2Jun 20236B
  2. ChatGLM3Oct 20236B
  3. GLM‑4-9BJun 20249B
    Numbers · 9.4B parameters
    Layers NN40
    Width dd4,096
    Query heads nhn_h32
    Key/value heads nkvn_{kv}2
    Head width dhd_h128
    MLP width dffd_{ff}13,696
    Vocabulary vv151,552
    Context8,192
    Parameters
    Token embedding620,756,992
    Attention1,426,247,680
    MLP6,731,857,920
    Norms331,776
    Output projection620,756,992
    Total9,399,951,360
    Tensors summed283
    Pinned weights8cd2b58

    The total is the sum over the tensors of the pinned weights, read from their safetensors headers; the RoPE frequencies stored with them are constants, not counted.

    config.json

GLM-4-0414 , not drawn yet

  1. GLM‑4-0414Apr 20259B · 32B

GLM-4.5: experts , not drawn yet

  1. GLM‑4.5Jul 2025355B · Air
    Numbers of GLM-4.5-Air · 107B parameters, 13.4B active
    Layers NN46
    Width dd4,096
    Query heads nhn_h96
    Key/value heads nkvn_{kv}8
    Head width dhd_h128
    MLP width, dense layers dffd_{ff}10,944
    Routed experts EE128
    Experts per token kk8
    Shared experts1
    Expert width1,408
    Vocabulary vv151,552
    Context131,072
    RoPE base θ\theta1,000,000
    Parameters
    Token embedding620,756,992
    Attention5,017,047,040
    MLP, dense layers134,479,872
    Router23,598,720
    Shared experts778,567,680
    Routed experts99,656,663,040
    Norms380,928
    Output projection620,756,992
    Total106,852,251,264
    Active per token13,424,129,664
    Tensors summed17,925
    Pinned weightsa24ceef
    Beside it in the weights, not in the total
    Multi‑token prediction3,616,573,568

    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.

    config.json

  2. GLM‑4.6Sep 2025355B
    Numbers · 353B parameters, 33.6B active
    Layers NN92
    Width dd5,120
    Query heads nhn_h96
    Key/value heads nkvn_{kv}8
    Head width dhd_h128
    MLP width, dense layers dffd_{ff}12,288
    Routed experts EE160
    Experts per token kk8
    Shared experts1
    Expert width1,536
    Vocabulary vv151,552
    Context202,752
    RoPE base θ\theta1,000,000
    Parameters
    Token embedding775,946,240
    Attention12,542,311,424
    MLP, dense layers566,231,040
    Router72,923,040
    Shared experts2,099,773,440
    Routed experts335,963,750,400
    Norms947,200
    Output projection775,946,240
    Total352,797,829,024
    Active per token33,632,266,144
    Tensors summed44,189
    Pinned weightsbe72194
    Beside it in the weights, not in the total
    Multi‑token prediction3,988,069,792

    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.

    config.json

  3. GLM‑4.7Dec 2025355B

Latent attention and experts

Drawn at Kimi K2’s numbers

  1. GLM‑4.7‑FlashJan 202630B
    Numbers · 29.9B parameters, 3.9B active
    Layers NN47
    Width dd2,048
    Query heads nhn_h20
    Key/value heads nkvn_{kv}20
    Key/value latent width dcd_c512
    Value head width256
    MLP width, dense layers dffd_{ff}10,240
    Routed experts EE64
    Experts per token kk4
    Shared experts1
    Expert width1,536
    Vocabulary vv154,880
    Context202,752
    RoPE base θ\theta1,000,000
    Parameters
    Token embedding317,194,240
    Attention1,022,683,904
    MLP, dense layers62,914,560
    Router6,032,256
    Shared experts434,110,464
    Routed experts27,783,069,696
    Norms194,560
    Output projection317,194,240
    Total29,943,393,920
    Active per token3,896,766,080
    Tensors summed9,491
    Pinned weights7dd2089
    Beside it in the weights, not in the total
    Multi‑token prediction1,278,094,656

    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 Kimi K2’s drawing

    • It has multi-token-prediction layers, counted apart
    • Its RoPE is not stretched

    config.json

Kimi K2 · MoE layer · open →

GLM-5: sparse attention

  1. GLM‑5
    Feb 2026744B
  2. GLM‑5.1
    Apr 2026744B
  3. GLM‑5.2
    Jun 2026743B
  4. GLM‑5.3
    Aug 2026743B
GLM‑5 · MoE layer · open →

GLM-5.3-Flash: linear attention , not drawn yet

  1. GLM‑5.3‑FlashAug 2026320B