1. Home
  2. Models
  3. Large LLM

Disclosure As an Amazon Associate I earn from qualifying purchases. Some links on this page are affiliate links. If you sign up or buy through them, LocalAI Moa may earn a commission at no extra cost to you.

GLM-5

Text #13 Overall #64Coding #32 Overall #100

GLM-5 (Q4_K_M) needs 467GB of VRAM/unified memory at 8K context. Runs locally on 1 tracked consumer devices starting with Mac Studio M5 Ultra 512GB.

February 2026 release of the 753B GLM-5 model. Even 2-bit quants weigh 281GB, requiring 512GB unified memory.

vs Inkling 2 Smallvs GLM-5.3
Developer
Z.ai
Parameters
753.9B 40B active
Context Window
203K
Released
Feb 11, 2026
License
MIT
Server & Multi-GPU Deployment Guide Exceeds single consumer GPU memory

Self-Hosting GLM-5 on Multi-GPU Hardware

GLM-5 requires 456GB for weights alone—too large for a single consumer desktop or laptop. Including KV cache and runtime buffers, plan for at least 527GB of aggregate GPU memory on a multi-GPU workstation or server running vLLM or SGLang with tensor parallelism.

1. Recommended Hardware & Storage

  • NVIDIA B200 192GB × 4 (768GB total): Comfortable resident fit with context headroom. Est. 1,068 tok/s.
  • RTX PRO 6000 Blackwell 96GB × 8 (768GB total): Comfortable resident fit with context headroom. Est. 277 tok/s.
  • NVIDIA H100 80GB × 8 (640GB total): Comfortable resident fit with context headroom. Est. 772 tok/s.
  • Storage & Host RAM: Provision at least 4TB NVMe SSD and 1TB+ host RAM (approx. 8 min download on 10Gbps, 71 min on 1Gbps).

2. Standard Serving Checklist

  1. Verify License: Review commercial terms for MIT.
  2. Download Shards: Pull all safetensors/quantized shards and tokenizer configs from Hugging Face.
  3. Launch Tensor Parallel Engine: Start vLLM or SGLang with --tensor-parallel-size matching your GPU count.
  4. Ramp Context Gradually: Validate loading at 8K context first, then scale concurrency and max context length.

Affiliate link: LocalAI Moa earns a commission when you sign up and use RunPod at no extra cost to you.

File size, required memory, and smallest compatible device for GLM-5 quantizations
QuantFile Size8K Context32K ContextMinimum Device
UD-Q2_K_XL 281GB292GB323GBMac Studio M5 Ultra 512GB
Q4_K_M 456GB467GB498GBNone · Server/Cloud recommended
Q8_0 801GB812GB843GBNone · Server/Cloud recommended

Compatible Hardware

Matched using the highest-quality quantization that fits each device.

GLM-5: compatibility and estimated TPS by device
DeviceQuantStatusTokens/sMemoryCheck
Mac Studio M5 Ultra 512GBUD-Q2_K_XLFast 40 Est. 512GB· 1,200GB/s Amazon ↗
Mac mini M6 16GBQ8_0No Fit – 16GB· 170GB/s Amazon ↗
Mac mini M6 24GBQ8_0No Fit – 24GB· 170GB/s Amazon ↗
Mac mini M5 Pro 24GBQ8_0No Fit – 24GB· 307GB/s Amazon ↗
Mac mini M4 Pro 24GBQ8_0No Fit – 24GB· 273GB/s Amazon ↗
Mac Studio M5 Max 36GBQ8_0No Fit – 36GB· 460GB/s Amazon ↗
Mac Studio M5 Max 48GBQ8_0No Fit – 48GB· 614GB/s Amazon ↗
Mac Studio M5 Max 64GBQ8_0No Fit – 64GB· 614GB/s Amazon ↗
Mac mini M6 32GBQ8_0No Fit – 32GB· 170GB/s Amazon ↗
Mac mini M5 Pro 48GBQ8_0No Fit – 48GB· 307GB/s Amazon ↗
Cloud GPU Alternative Affiliate link: LocalAI Moa earns a commission when you sign up and use RunPod at no extra cost to you.
Need to run GLM-5 right away without buying a GPU?

Even if a model exceeds your local VRAM, you can run it immediately on RunPod with hourly RTX 5090, H100, or B200 instances.

Referral perk · Spend your first $10 after signing up to unlock a $5–$500 random credit bonus.

After creating a RunPod account, paste this setup prompt into ChatGPT, Claude, or Gemini for step-by-step instructions.

I want to run GLM-5 on a cloud GPU using RunPod. I have already created a RunPod account, and this is my first time setting up a pod. Please look up the current setup steps and guide me step by step—from choosing the right GPU and template to downloading the weights and running inference smoothly.

Compare 1:1 with Similar Models

Specs verified . Original model card