Arrakis / Models / GLM-5.1

GLM-5.1 GPU requirements

GLM-5.1 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.

PrecisionMemory and the smallest setup
16-bit1,809 GB: 8 × B300, from $36.80 per hour for all 8
8-bit905 GB: 4 × B300, from $18.40 per hour for all 4
4-bit452 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.

MethodMemory and the smallest setup
QLoRA528 GB: 4 × H200, from $16.12 per hour for all 4
LoRA1,809 GB: 8 × B300, from $36.80 per hour for all 8
Full fine-tuning12,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-04-03
Weights
zai-org/GLM-5.1

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
vllm serve zai-org/GLM-5.1 --tensor-parallel-size 8

Questions

Live prices for every GPU are on the GPU prices page.

How much GPU memory does GLM-5.1 need?
To serve it, about 1,809 GB in 16-bit, 905 GB in 8-bit, 452 GB in 4-bit, including about 20% for the KV cache and activations. To fine-tune it, about 528 GB with QLoRA, 1,809 GB with LoRA and 12,062 GB for full fine-tuning with Adam, before activations.
Can I run GLM-5.1 on one GPU?
No. Even in 4-bit it needs about 452 GB: 2 B300 GPUs.
What does it cost to run GLM-5.1?
In 16-bit it needs 8 B300 GPUs; in 4-bit, 2 B300 GPUs. Each setup on this page shows the lowest price per GPU-hour on Arrakis right now, and you pay by the hour from a prepaid balance.
How do I deploy GLM-5.1 on Arrakis?
Open Models in the Arrakis console, paste zai-org/GLM-5.1, 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.