zai-org·GLM·Glm4MoeForCausalLM

GLM 4.5 — Hardware Requirements & GPU Compatibility

Chat

GLM 4.5 is a 358.3B-parameter open language model from zai-org in the GLM family. It supports a context window of up to 131,072 tokens. At Q4_K_M it needs about 215.62 GB of VRAM — see which GPUs and Macs can run it below.

185.5K downloads 1.4K likes131K context

Specifications

Publisher
zai-org
Family
GLM
Parameters
358.3B
Architecture
Glm4MoeForCausalLM
Context Length
131,072 tokens
Vocabulary Size
151,552
License
MIT

Get Started

HuggingFace

zai-org/GLM-4.5

How Much VRAM Does GLM 4.5 Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_K3.40152.9 GB
Q3_K_S3.50157.4 GB
Q3_K_M3.90175.3 GB
Q4_04.00179.8 GB
Q4_K_M4.80215.6 GB
Q5_K_M5.70255.9 GB
Q6_K6.60296.3 GB
Q8_08.00359.0 GB

Which GPUs Can Run GLM 4.5?

Q4_K_M · 215.6 GB

GLM 4.5 (Q4_K_M) requires 215.6 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 281+ GB is recommended. Using the full 131K context window can add up to 20.3 GB, bringing total usage to 235.9 GB. No single GPU has enough memory — multi-GPU or cluster setups are needed.

Which Devices Can Run GLM 4.5?

Q4_K_M · 215.6 GB

2 devices with unified memory can run GLM 4.5, including NVIDIA DGX H100, NVIDIA DGX A100 640GB.

Benchmarks

View all 1

Related Models

Frequently Asked Questions

How much VRAM does GLM 4.5 need?

GLM 4.5 requires 215.6 GB of VRAM at Q4_K_M, or 359.0 GB at Q8_0. Full 131K context adds up to 20.3 GB (235.9 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 358.3B × 4.8 bits ÷ 8 = 215 GB

KV Cache + Overhead 0.6 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead 20.9 GB (at full 131K context)

VRAM usage by quantization

215.6 GB
235.9 GB

Learn more about VRAM estimation →

Can NVIDIA GeForce RTX 5090 run GLM 4.5?

No — GLM 4.5 requires at least 99.2 GB at IQ2_XXS, which exceeds the NVIDIA GeForce RTX 5090's 32 GB of VRAM.

What's the best quantization for GLM 4.5?

For GLM 4.5, Q4_K_M (215.6 GB) offers the best balance of quality and VRAM usage. Q5_K_S (247.0 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 99.2 GB.

VRAM requirement by quantization

IQ2_XXS
99.2 GB
Q3_K_S
157.4 GB
IQ4_XS
193.2 GB
Q4_K_M
215.6 GB
Q5_K_S
247.0 GB
Q8_0
359.0 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run GLM 4.5 on a Mac?

GLM 4.5 requires at least 99.2 GB at IQ2_XXS, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.

Can I run GLM 4.5 locally?

Yes — GLM 4.5 can run locally on consumer hardware. At Q4_K_M quantization it needs 215.6 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.

What's the download size of GLM 4.5?

At Q4_K_M, the download is about 215.00 GB. The full-precision Q8_0 version is 358.34 GB. The smallest option (IQ2_XXS) is 98.54 GB.

Which GPUs can run GLM 4.5?

No single consumer GPU has enough VRAM to run GLM 4.5 at Q4_K_M (215.6 GB). Multi-GPU or professional hardware is required.

Which devices can run GLM 4.5?

2 devices with unified memory can run GLM 4.5 at Q4_K_M (215.6 GB), including NVIDIA DGX A100 640GB, NVIDIA DGX H100. Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.