VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase. As an Amazon Associate I earn from qualifying purchases.We may earn from eBay and Amazon links.Learn more

GPUs tracked64Price history94 daysPrice points (24h)29,155 pointsBiggest 24h dropTesla V100 16GB-6.1%Biggest 24h riseInstinct MI100+12.8%Updated
$ USD

Run GLM 5.2 Locally: VRAM & GPU Requirements

GLM 5.2 is Zhipu's 744B flagship MoE released in June 2026 that needs about 466 GB of VRAM at 4-bit, too big for any single GPU or 128GB machine. GLM 5.3, released in August, uses the same base model and nearly identical hardware while being more capable, so new local deployments should go straight to 5.3. There are two main reasons to keep 5.2: it can turn thinking off completely, and its license is plain MIT with no added terms.

GLM 5.2 details

  • Min VRAM at 4-bit (8K context)468 GB
  • Parameters744B
  • Active params40B
  • Max context1M
Architecture
MoE
Experts offloaded
14 GB VRAM + 455 GB RAM
License
MIT
Launch date
Jun 16, 2026
Vendor
Z.ai / Zhipu AI
Hugging Face repo
zai-org/GLM-5.2
NVFP4 repo (Blackwell)
nvidia/GLM-5.2-NVFP4
Layers
78
Hidden size
6,144
KV heads
64
Head dim
192

How much VRAM does GLM 5.2 need?

The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.

QuantizationWeightsGB32K contextGB128K contextGB256K contextGB1M context (max)GB
1-bit228.5GGUF232.5241.4253.1323.8
2-bit253.9GGUF257.9266.8278.5349.2
3-bit343GGUF347355.9367.6438.3
4-bit465.8GGUF469.8478.7490.4561.1
5-bit560.8GGUF564.8573.7585.4656.1
8-bit801.4GGUF805.4814.3826896.7
BF16/FP161,508GGUF1,5121,520.91,532.61,603.3

Full calculation rules are on the Methodology page.

Can a single GPU run GLM 5.2?

No. No graphics card can hold GLM 5.2: even 2-bit needs about 254 GB of VRAM, far beyond the largest 96GB cards. The one single-machine exception is the 512GB Mac Studio M3 Ultra: 2-bit and 3-bit fit outright, while 4-bit exceeds the memory macOS lets the GPU use by default unless you raise that limit with a system setting. Reading only about 40B parameters per token, 2-bit still runs in the high 30s of tokens/s on the Mac, which is fine for quick Q&A with thinking turned off. On GPUs, you need multiple cards or one large card in a high-RAM server with expert offload.

The table below assumes all experts stay in VRAM with no RAM offloading. If you are short on VRAM, you can offload experts to RAM; see the complete builds below.

eBay
DevicePriceSpeed t/sMax context
Mac Studio M3 Ultra 512GBWhole system · 512 GB$19,95017 listings22.1900K

Only common GPUs and systems are listed, from cheapest to most expensive.

How many GPUs do you need to run GLM 5.2?

GLM 5.2 uses the same multi-GPU setups as the similarly sized GLM 5.3, and 4-bit takes eight high-VRAM cards. Because 4-bit with 32K context needs about 470 GB of VRAM, four 96GB cards (384GB total) fall short and can only run the faster 2-bit file, while eight 96GB RTX PRO 6000 cards reach about 42 tokens/s and eight 80GB A100s about 44. Consumer 24GB and 32GB cards can't hold even 2-bit with eight in one box. Four DGX Sparks hold 4-bit at around 8 tokens/s, where 5.2's ability to turn thinking off completely keeps short questions from waiting behind a long reasoning pass.

eBay
DeviceCardsTotal priceTotal VRAMSpeed t/sTotal power
DGX Spark 128GB128 GB per unit4 units$31,600512 GB7.6960 W
Instinct MI21064 GB per card8 cards$40,312512 GB38.82,400 W
RTX PRO 5000 72GB72 GB per card8 cards$79,000576 GB32.92,400 W
RTX PRO 600096 GB per card8 cards$148,800768 GB41.74,800 W
A100 80GB PCIe80 GB per card8 cards$159,192640 GB44.32,400 W

Mac Studios link up over Thunderbolt 5 and run with MLX or exo; vLLM doesn't support them. Full calculation rules are on the Methodology page.

What PC or server build do you need to run GLM 5.2 locally?

GLM 5.2's expert-offloading setups are the same as GLM 5.3's: at 2-bit, a used 8-channel DDR4 server (fully populated with 256GB) plus one RTX 3090 reaches about 14 tokens/s, and a 12-channel DDR5 server with an RTX PRO 6000 reaches about 42. Only that 12-channel DDR5 setup can run 4-bit, at about 23 tokens/s. On machines generating a dozen to a few dozen tokens per second, turning thinking off pays off even more: short questions don't have to wait for a long stretch of reasoning first.

eBay

Tesla V100 32GB + Dual Xeon E5 DDR4

Budget
Generation speed5.2t/s
Memory bandwidth137GB/s
GPU
Tesla V100 32GB3 / 78 expert layers in 32 GB VRAM
$1,378
RAM
512 GB DDR4-213316 × 32 GB sticks
$2,144
CPU
2 × Intel Xeon E5-2680 v428 cores / 56 threads · 8-channel in total
$40
Board
Supermicro X10DRi16 DIMM slots
$450
PSU
Corsair RM750e750 W
$70
Reference build price$4,082

GeForce RTX 3090 + Dual EPYC DDR4

Best value
Generation speed11.1t/s
Memory bandwidth341GB/s
GPU
GeForce RTX 30902 / 78 expert layers in 24 GB VRAM
$1,992
RAM
512 GB DDR4-266616 × 32 GB sticks
$2,960
CPU
2 × AMD EPYC 753264 cores / 128 threads · 16-channel in total
$588
Board
Supermicro H12DSi-N616 DIMM slots
$1,100
PSU
Corsair RM1200x SHIFT1,200 W
$135
Reference build price$6,775

GeForce RTX 5090 + Dual EPYC DDR5

Flagship
Generation speed26t/s
Memory bandwidth922GB/s
GPU
GeForce RTX 50903 / 78 expert layers in 32 GB VRAM
$7,385
RAM
768 GB DDR5-480024 × 32 GB sticks
$24,000
CPU
2 × AMD EPYC 935464 cores / 128 threads · 24-channel in total
$3,410
Board
Gigabyte MZ73-LM024 DIMM slots
$1,300
PSU
Seasonic PRIME PX-16001,600 W
$502
Reference build price$36,597

4 × RTX PRO 6000 + Dual EPYC DDR5

Giant models
Generation speed39.3t/s
Memory bandwidth922GB/s
GPU
4 × RTX PRO 600067 / 78 expert layers in 384 GB VRAM
$74,400
RAM
384 GB DDR5-480024 × 16 GB sticks
$13,200
CPU
2 × AMD EPYC 935464 cores / 128 threads · 24-channel in total
$3,410
Board
Gigabyte MZ73-LM024 DIMM slots
$1,300
PSU
2 × Seasonic PRIME PX-22004,400 W
$1,452
Reference build price$93,762

Detailed calculation rules are on the Methodology page.

As an eBay Partner, VRAMGlass may be compensated if you buy through the eBay links on this page. The price you pay stays the same.

What to know before running GLM 5.2 locally

  1. How it differs from GLM 5.3

    Zhipu says 5.3 and 5.2 share the same base model, and all the gains come from post-training: 5.3 is clearly stronger at complex coding and long tasks, with a 50% improvement on Zhipu's internal coding benchmark. Parameters, architecture and file sizes are nearly identical, so moving from 5.2 to 5.3 doesn't require new hardware.

  2. Turning off thinking is its strength

    5.2 has three modes: no thinking, High and Max. To turn thinking off, pass enable_thinking: false via chat_template_kwargs; in llama.cpp you can also just add --reasoning off. 5.3's thinking can't be turned off, only adjusted between low, high and max, so services that need fast, short answers still have a use for 5.2.

  3. License

    5.2 is plain MIT, and Zhipu explicitly states there are no regional restrictions. 5.3 switched to Zhipu's own license, which adds one clause: model API providers with very large revenue must pass Zhipu's safety review before commercial use. For individuals and ordinary companies deploying it for their own use, the two licenses make no practical difference.

  4. llama.cpp needs a build from late July or later

    The sparse attention in the GLM 5 series relies on an “indexer” to pick out what to look at, and that indexer only landed in mainline llama.cpp on July 24, 2026 (PR #25407). Earlier versions ignore it, and the original PR explicitly said quality suffers as a result. Unsloth GGUFs you've already downloaded don't need re-downloading; just update llama.cpp.

Launch commands

llama.cpp

  • NVIDIA
  • AMD
  • Mac
  • CPU
All on GPU
Terminal
llama-server -hf unsloth/GLM-5.2-GGUF:Q4_K_M -c 8192
MoE offloading

Short on VRAM? Add --cpu-moe to keep the routed experts in system RAM (about 455 GB needed).

Terminal
llama-server -hf unsloth/GLM-5.2-GGUF:Q4_K_M -c 8192 -ngl 99 --cpu-moe

vLLM

  • Linux
  • NVIDIA

Follow the deployment guide to prepare the required runtime and hardware.

Terminal
vllm serve zai-org/GLM-5.2-FP8 \
  --kv-cache-dtype fp8 \
  --tensor-parallel-size 8 \
  --speculative-config.method mtp \
  --speculative-config.num_speculative_tokens 5 \
  --tool-call-parser glm47 \
  --reasoning-parser glm47 \
  --enable-auto-tool-choice \
  --served-model-name glm-5.2-fp8

MLX

  • Apple Silicon

On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.

Terminal
mlx_lm.server --model mlx-community/GLM-5.2-4bit

Ollama

  • Windows
  • macOS
  • Linux

Ollama only has a cloud version, glm-5.2:cloud, which runs on Ollama's servers rather than on your machine.

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

Other models in the GLM family

ModelTotal paramsActive params4-bit size
GLM 4.7 FlashMoE30B3B18.3 GB
GLM 4.5 AirMoE106B12B73 GB
GLM 5.3 FlashMoE320B18B199.7 GB
GLM 5.3MoE744B40B467.3 GB

About GLM