Skip to content
English

Switch theme

// GLM / CogVideoX (Z.ai) · Text LLM

GLM-4-32B-0414: VRAM & local deployment

32.6B parameters. About 22.7 GB at 4-bit and 72.7 GB at BF16 with one 8K-token request.

released 2025-04-07licence: Commercial OKmemory figures are estimates

01Specs

PublisherZ.ai (Zhipu) · zai-org
Family / seriesGLM / CogVideoX (Z.ai) · GLM-4
TypeText LLM (text-generation)
Parameters32.6B Source: counted from official safetensors weights
Context length32K tokens (32,768)max_position_embeddings in config.json
Architecture61 layers · GQA
Released weightsBF16 · 65.1 GBdownload
LicenceMIT · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed.
Released2025-04-07 (Hugging Face repo created)

02How much VRAM it needs (estimate)

Total = weights + 10% + 0.5GB overhead + KV cache for one request (FP16 KV). More concurrent users multiply the KV column.

PrecisionWeightsTotal @ 8KTotal @ 32KSmallest GPUMac
BF16 / FP16 (original)65.1 GB 72.7 GB74.2 GB RTX PRO 6000 96GBMac 128GB
FP8 / INT8 / Q8_034.6 GB 39.1 GB40.6 GB 2 × RTX 5090 (64GB)Mac 64GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)19.7 GB 22.7 GB24.3 GB RTX 5090 32GBMac 64GB

KV cache per request: 8K 0.5 GB · 32K 2.0 GB

Bits per weight: BF16 16, FP8 8.5, 4-bit 4.85. “Fits” = total ≤ 90% of memory; Mac GPU can use ~2/3 of unified memory (≤36GB) or ~3/4 (larger). For MoE, all experts must be in memory, so size by total parameters. Method →

03How to run it

Only runtimes the publisher or the runtime’s official library names for this model.

Which inference engine to choose →

04Official repositories & quantised builds

1 official repo(s) from zai-org.

05Other GLM / CogVideoX (Z.ai) models

All 35 →
ModelParams4-bit totalReleased
GLM-4-9B-0414 · same series9.4B7.1 GB2025-04-07
GLM-5.3753.3B504 GB2026-08-25
GLM-5.3-Flash320B / 18B214 GB2026-08-25
GLM-5.2753.3B504 GB2026-06-16
SCAIL-2——2026-06-09
GLM-5.1753.9B504 GB2026-04-03
GLM-5744B / 40B497 GB2026-02-11
GLM-OCR1.32B1.9 GB2026-01-30
GLM-4.7-Flash31.2B / 3B21.8 GB2026-01-19

06Sources

Data checked 2025-05-01. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

Data updated: Self-host open models(UTC+8)