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.
- Developer
- Z.ai
- Parameters
- 753.9B 40B active
- Context Window
- 203K
- Released
- Feb 11, 2026
- License
- MIT
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
- Verify License: Review commercial terms for MIT.
- Download Shards: Pull all safetensors/quantized shards and tokenizer configs from Hugging Face.
- Launch Tensor Parallel Engine: Start
vLLMorSGLangwith--tensor-parallel-sizematching your GPU count. - 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.
VRAM by Quantization
Adjust context length in TPS Calculator| Quant | File Size | 8K Context | 32K Context | Minimum Device |
|---|---|---|---|---|
| UD-Q2_K_XL | 281GB | 292GB | 323GB | Mac Studio M5 Ultra 512GB |
| Q4_K_M | 456GB | 467GB | 498GB | None · Server/Cloud recommended |
| Q8_0 | 801GB | 812GB | 843GB | None · Server/Cloud recommended |
Compatible Hardware
Matched using the highest-quality quantization that fits each device.
| Device | Quant | Status | Tokens/s | Memory | Check |
|---|---|---|---|---|---|
| UD-Q2_K_XL | Fast | 40 Est. | 512GB· 1,200GB/s | Amazon ↗ |
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.
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
594B MoE model activating 17B parameters per token, ranking near the top of open coding and agent leaderboards.
Compare with GLM-5 →753B model with a ~260GB 4-bit footprint, runnable on a single 512GB unified-memory workstation.
Compare with GLM-5 →June 2026 release of the 753B GLM-5 series, now succeeded by GLM-5.3.
Compare with GLM-5 →Specs verified . Original model card