GLM-5 GPU requirements
GLM-5 has 754B parameters. To serve it, plan for about 1,809 GB of GPU memory in 16-bit, 905 GB in 8-bit or 452 GB in 4-bit, including about 20% for the KV cache and activations.
It is a mixture of experts: 256 experts, 8 of them active for each token. All of them stay in GPU memory, so plan memory for all 754B parameters.
What it takes to serve it
GPU memory to run it for inference, with the smallest GPU setup that holds it and the lowest price on Arrakis right now.
| Precision | Memory and the smallest setup |
|---|---|
| 16-bit | 1,809 GB: 8 × B300, from $36.80 per hour for all 8 |
| 8-bit | 905 GB: 4 × B300, from $18.40 per hour for all 4 |
| 4-bit | 452 GB: 2 × B300, from $9.20 per hour for all 2 |
What it takes to fine-tune it
QLoRA trains adapters on a 4-bit frozen model, LoRA on a 16-bit one, and full fine-tuning updates every weight. Figures are before activations, which grow with batch size and sequence length.
| Method | Memory and the smallest setup |
|---|---|
| QLoRA | 528 GB: 4 × H200, from $16.12 per hour for all 4 |
| LoRA | 1,809 GB: 8 × B300, from $36.80 per hour for all 8 |
| Full fine-tuning | 12,062 GB: more than one 8-GPU machine |
About the model
From its card and files on Hugging Face. Memory figures here follow the GPU memory guide.
- Parameters
- 754B
- Experts
- 256
- Experts for each token
- 8
- Context window (tokens)
- 202,752
- Published in
- BF16
- License
- mit
- Released
- 2026-02-11
- Weights
- zai-org/GLM-5
Deploy it on Arrakis
Open Models in the console, choose vLLM, SGLang or llama.cpp, and rent a GPU it fits on. You get an OpenAI-compatible endpoint with its own API key, and root SSH to the machine. Or run it yourself on any machine with enough GPU memory:
vllm serve zai-org/GLM-5 --tensor-parallel-size 8
Questions
Live prices for every GPU are on the GPU prices page.
How much GPU memory does GLM-5 need?
Can I run GLM-5 on one GPU?
What does it cost to run GLM-5?
How do I deploy GLM-5 on Arrakis?
More models
- GLM-5.1754B
- GLM-5.3753B
- GLM-5.3-Flash321B
- GLM-4.5-Air110B
- DeepSeek-V4.1-Flash763B
- DeepSeek-V3.2685B