{
  "model": "GLM-5.3-Flash / current W8A8 checkpoint",
  "authority": "actual_checkpoint_safetensors_headers_and_config",
  "unit": "B = 1,000,000,000 logical tensor elements; not bytes or GiB",
  "source": {
    "catalog_sha256": "6acb86d287cf5379fff3f51ad34bf4e2a9425bc404f8f1241afa9b330a5138d6",
    "config_sha256": "33e63ec7fe607658be712bd6dd3c16c6549960d8e7f0483d34b939881b55f943",
    "tensor_count": 113353
  },
  "parameters": {
    "quantization_metadata_excluded": 203776000,
    "text_backbone": 313326811966,
    "text_backbone_routed_experts": 304405807104,
    "vision": 563627008,
    "mtp": 8701369376,
    "mtp_routed_experts": 7247757312,
    "mtp_embedding_and_head": 1268776960,
    "quantization_rotation_excluded": 16777216,
    "text_backbone_non_routed": 8921004862,
    "activated_structural_estimate": 17376721726,
    "checkpoint_logical_model_total": 322591808350
  },
  "counting_notes": [
    "Text backbone includes layers 0–44, full input embedding and output head, norms, routers and model auxiliary tensors; excludes MTP, vision and quantization metadata/rotation.",
    "Activated estimate = all non-routed backbone tensors + routed expert parameters × 8/288; full embedding and output head are counted. This is an architecture convention, not unique tensor elements read for one token or FLOPs.",
    "MTP includes checkpoint layer 45 and its own stored embedding/head. Checkpoint total sums entries, without assuming runtime aliasing or weight sharing.",
    "W8A8 changes weight storage size, not logical matrix dimensions or parameter count."
  ],
  "text_config": {
    "attention_bias": false,
    "attention_dropout": 0.0,
    "dtype": "bfloat16",
    "eos_token_id": [
      154820,
      154827,
      154829
    ],
    "first_k_dense_replace": 3,
    "hc_eps": 1e-06,
    "hc_mult": 4,
    "hc_sinkhorn_iters": 20,
    "head_dim": 0,
    "hidden_act": "silu",
    "hidden_size": 4096,
    "index_head_dim": 128,
    "index_kpool": 4,
    "index_kpool_always_select_tail": true,
    "index_kpool_compress": true,
    "index_n_heads": 32,
    "index_topk": 2048,
    "index_share_for_mtp_iteration": true,
    "indexer_rope_interleave": true,
    "indexer_types": [
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full",
      "full"
    ],
    "initializer_range": 0.02,
    "intermediate_size": 12288,
    "kv_lora_rank": 512,
    "layer_types": [
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention",
      "linear_attention",
      "linear_attention",
      "deepseek_sparse_attention",
      "linear_attention"
    ],
    "linear_attn_config": {
      "num_heads": 64,
      "gate_lower_bound": -5.0,
      "head_dim": 128,
      "short_conv_kernel_size": 4,
      "kda_layers": [
        0,
        1,
        2,
        4,
        5,
        6,
        8,
        9,
        10,
        12,
        13,
        14,
        16,
        17,
        18,
        20,
        21,
        22,
        24,
        25,
        26,
        28,
        29,
        30,
        32,
        33,
        34,
        36,
        37,
        38,
        40,
        41,
        42,
        44
      ],
      "full_attn_layers": [
        3,
        7,
        11,
        15,
        19,
        23,
        27,
        31,
        35,
        39,
        43
      ]
    },
    "max_position_embeddings": 1048576,
    "mhc": true,
    "mla_use_nope": true,
    "mlp_layer_types": [
      "dense",
      "dense",
      "dense",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse",
      "sparse"
    ],
    "model_type": "glm5_next_text",
    "moe_intermediate_size": 2048,
    "moe_router_dtype": "float32",
    "n_group": 1,
    "n_routed_experts": 288,
    "n_shared_experts": 1,
    "norm_topk_prob": true,
    "num_attention_heads": 64,
    "num_experts_per_tok": 8,
    "num_hidden_layers": 45,
    "num_key_value_heads": 64,
    "num_nextn_predict_layers": 1,
    "output_router_logits": false,
    "pad_token_id": 154820,
    "q_lora_rank": 1536,
    "qk_head_dim": 256,
    "qk_nope_head_dim": 256,
    "qk_rope_head_dim": 0,
    "rms_norm_eps": 1e-05,
    "routed_scaling_factor": 2.5,
    "router_aux_loss_coef": 0.001,
    "scoring_func": "sigmoid",
    "swiglu_limit": 10.0,
    "tie_word_embeddings": false,
    "topk_group": 1,
    "topk_method": "noaux_tc",
    "use_cache": true,
    "v_head_dim": 256,
    "vocab_size": 154880
  },
  "vision_config": {
    "attention_bias": true,
    "attention_dropout": 0.0,
    "depth": 24,
    "hidden_act": "silu",
    "hidden_size": 1024,
    "image_size": 448,
    "in_channels": 3,
    "initializer_range": 0.02,
    "intermediate_size": 4096,
    "model_type": "glm5_next_vision",
    "num_heads": 16,
    "out_hidden_size": 4096,
    "patch_size": 14,
    "projection_intermediate_size": 10240,
    "rms_norm_eps": 1e-05,
    "spatial_merge_size": 2,
    "swiglu_limit": 10.0,
    "temporal_patch_size": 2
  },
  "validation": {
    "all_shapes_reconcile": true,
    "all_43_expert_sets_uniform_and_complete": true,
    "all_tensor_elements_accounted_for": true
  }
}
