{
 "id": "glm-5.1",
 "name": "GLM-5.1",
 "repo": "zai-org/GLM-5.1",
 "lab": {
  "name": "Z.ai",
  "country": "China"
 },
 "released": "2026-04-03",
 "parameters": 753.864139008,
 "activeParameters": 42,
 "maxContext": 202752,
 "architecture": "78 layers · MLA (512 + 64 latent) on 78 · indexer keys on 78",
 "page": "https://studiotvai.com/vram-requirements/glm-5-1",
 "calculator": "https://studiotvai.com/llm-vram-calculator?model=glm-5.1",
 "weightsGiB": {
  "bf16": 1385.64,
  "fp8": 694.59,
  "q4_k_m": 418.48
 },
 "kvCacheGiBPerRequest": [
  {
   "context": 8192,
   "bf16": 0.764,
   "fp8": 0.469
  },
  {
   "context": 32768,
   "bf16": 3.056,
   "fp8": 1.876
  },
  {
   "context": 131072,
   "bf16": 12.226,
   "fp8": 7.503
  },
  {
   "context": 202752,
   "bf16": 18.911,
   "fp8": 11.606
  }
 ],
 "recurrentStateGiBPerRequest": 0,
 "gpusNeeded": {
  "scenario": "one request of 8192 tokens, BF16 KV cache; vLLM on data-center GPUs, llama.cpp elsewhere",
  "gpus": [
   {
    "gpu": "rtx-4090",
    "name": "GeForce RTX 4090",
    "memoryGB": 24,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 96,
     "fp8": 48,
     "q4_k_m": 24
    }
   },
   {
    "gpu": "rtx-5090",
    "name": "GeForce RTX 5090",
    "memoryGB": 32,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 64,
     "fp8": 32,
     "q4_k_m": 16
    }
   },
   {
    "gpu": "rtx-pro-6000",
    "name": "RTX PRO 6000 Blackwell",
    "memoryGB": 96,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 16,
     "fp8": 8,
     "q4_k_m": 5
    }
   },
   {
    "gpu": "mac-m5-max-128",
    "name": "Mac M5 Max 128 GB",
    "memoryGB": 96,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 16,
     "fp8": 8,
     "q4_k_m": 5
    }
   },
   {
    "gpu": "h100",
    "name": "NVIDIA H100",
    "memoryGB": 80,
    "engine": "vLLM",
    "byFormat": {
     "bf16": 24,
     "fp8": 16,
     "q4_k_m": 7
    }
   },
   {
    "gpu": "h200",
    "name": "NVIDIA H200",
    "memoryGB": 141,
    "engine": "vLLM",
    "byFormat": {
     "bf16": 16,
     "fp8": 6,
     "q4_k_m": 4
    }
   },
   {
    "gpu": "b200",
    "name": "NVIDIA B200 (HGX)",
    "memoryGB": 180,
    "engine": "vLLM",
    "byFormat": {
     "bf16": 16,
     "fp8": 5,
     "q4_k_m": 3
    }
   }
  ]
 },
 "ggufFiles": {
  "repo": "bartowski/zai-org_GLM-5.1-GGUF",
  "gib": {
   "IQ1_M": 163.93,
   "IQ1_S": 147.3,
   "IQ2_M": 237.4,
   "IQ2_S": 215.49,
   "IQ2_XS": 211.04,
   "IQ2_XXS": 189.92,
   "IQ3_M": 335.52,
   "IQ3_XS": 320.32,
   "IQ3_XXS": 293.34,
   "IQ4_NL": 397.3,
   "IQ4_XS": 375.69,
   "Q2_K": 247.56,
   "Q2_K_L": 248.43,
   "Q3_K_L": 334.23,
   "Q3_K_M": 320.96,
   "Q3_K_S": 305.77,
   "Q3_K_XL": 335,
   "Q4_0": 398.24,
   "Q4_1": 440.26,
   "Q4_K_L": 428.77,
   "Q4_K_M": 428.11,
   "Q4_K_S": 411.1,
   "Q5_K_M": 501.62,
   "Q5_K_S": 484.36,
   "Q6_K": 607.66,
   "Q8_0": 746.31
  }
 },
 "runsWith": [
  "vLLM",
  "SGLang",
  "llama.cpp (Ollama, LM Studio)",
  "MLX (Mac)"
 ],
 "verified": null,
 "updated": "2026-10-11T19:08:05.666Z"
}
