llmrun
Z.aiGLM 4Glm4MoeForCausalLM

GLM 4.5 — Hardware Requirements & GPU Compatibility

ChatFunctions

GLM-4.5 is Z.ai's flagship model in the GLM-4.5 series, a foundation model built for intelligent-agent applications with 355 billion total parameters and about 32 billion active via its Mixture-of-Experts design. It is a hybrid reasoning model, offering a thinking mode for complex reasoning and tool use alongside a non-thinking mode for fast responses, and it unifies reasoning, coding, and agentic capabilities in one checkpoint alongside the smaller GLM-4.5-Air. It ships with a 128K token context window under the MIT license, permitting commercial and research use. At 355 billion total parameters, even 4-bit quantization needs roughly 200 GB of memory, which puts local use in multi-GPU server territory; most people will access it through a hosted endpoint instead.

358.3B params · MoE36B active131K contextMIT109.4K downloads1.4K likes6.8K quant downloads

GLM 4.5 runs on a 256 GB+ Mac or a datacenter GPU

Best local pick → Mac Studio (M3 Ultra, 256GB) · Q4_K_M · 217.9 GB · ~18 tok/s

Macs from128 GB IQ2_M · ~25 tok/s

Score 100.9#54 of 106 open#38 of 89 that fit ≤256 GBMIT

Not set up for it?

Reference GPU · RTX 4090 24 GB

Estimates, ±20% · how we estimate

Run GLM 4.5

One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.

Recommended

Ollama
one command · needs Ollama installed
$ollama run hf.co/unsloth/GLM-4.5-GGUF:Q4_K_M

Q4_K_M runs on one Instinct MI325X 256 GB · 16K context

Download: Q4_K_M/GLM-4.5-Q4_K_M-00001-of-00005.gguf216.46 GB + 4 partsunsloth

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run in cloud

Rent 4× H100 SXM · Q4_K_M

Estimated hourly price
~$9.09/hr
est., whole server
GPUs
4 GPUs
320 GB of VRAM

How Much VRAM Does GLM 4.5 Need?

Select a quantization level; the listed hardware adheres to it.

QuantizationVRAM+32KRuns on
152.9 GB157.7 GB2-bit · K-quant — 2-bit quantization with K-quant improvementsRuns on B200 192 GB
157.4 GB162.2 GB3-bit small — 3-bit small quantizationRuns on B200 192 GB
175.3 GB180.1 GB3-bit medium — 3-bit medium quantizationRuns on B200 192 GB
179.8 GB184.6 GB4-bit · legacy — 4-bit legacy quantizationRuns on B200 192 GB
215.6 GB220.4 GB4-bit medium — 4-bit medium quantization — most popular sweet spotRuns on Instinct MI325X 256 GB
255.9 GB260.8 GB5-bit medium — 5-bit medium quantization — good quality/size tradeoffRuns on Instinct MI350X 288 GB
296.3 GB301.1 GB6-bit, very good — 6-bit quantization, very good qualityRuns on 5× H100 SXM 80 GB
359.0 GB363.8 GB8-bit, near-lossless — 8-bit quantization, near-losslessRuns on 6× H100 SXM 80 GB

Selected Q4_K_M

4-bit medium quantization

217.9GBat 16K context

Weights
215.0 GB
KV cache
2.6 GB
Overhead
0.3 GB

Server-class: ~217.9 GB at 16K context · one Instinct MI325X 256 GB

Which Hardware 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 consumer GPU has enough memory. 2 devices with unified memory can run GLM 4.5, including Mac Studio (M3 Ultra, 512GB), Mac Studio (M3 Ultra, 256GB).

By VRAM tier · typical GPUs and Macs at Q4_K_M

Consumer GPUs (up to 32 GB) and Macs up to 96 GB: too small for this model (needs ≥ 101.4 GB)8 GB tier →12 GB tier →16 GB tier →24 GB tier →Macs →

How good is GLM 4.5?

The llmrun Score merges 7 public benchmark boards into a single figure, where 100 represents the average for open models.

Score vs VRAM in the ≤256 GB tier

  • GLM 4.5
  • Other models
  • Best Score for its VRAM

#38 of 89 that fit ≤256 GB

Each dot is a model at the best quant that fits ≤256 GB. The line steps up to the best Score available at each amount of VRAM; a dot below it is beaten by a model that needs no more memory.

Full ≤256 GB ranking →

Benchmarks

The 6 boards that weigh most in the llmrun Score, of 8 with a result for this model; badges show who ran the test.

In the ≤256 GB class

89 models fit ≤256 GB

Same Score, only models that fit ≤256 GB at their best quant: the ranking a ≤256 GB owner actually chooses from.

  1. #1

    134.4

    ~107 tok/s · 229.5 GB

  2. #2

    131.9

    ~83 tok/s · 186.5 GB

  3. #3

    129.4

    ~108 tok/s · 210.4 GB

  4. #4

    128.0

    ~48 tok/s · 191.4 GB

  5. #5

    127.6

    ~76 tok/s · 183.0 GB

  6. #6

    124.1

    ~83 tok/s · 205.2 GB

Alternatives to GLM 4.5

GLM 4 family · 18 models →

Official models with an llmrun Score, each answering one question; sizes are each model's default quant (usually Q4_K_M) with a 16K-token context.

Similar models

10
ModelScoreVRAMWhy it is similar
DeepSeek V4 Flash 0731DeepSeek127.6183 GBsimilar score
GLM 5.3 FlashZ.ai124.1205.2 GBsimilar score
Beam 1.0 501B A23Breflection119.5304 GBsimilar score
DeepSeek V4 FlashDeepSeek115.3175.1 GBsimilar score
Qwen3.5 397B A17BAlibaba112.8242.6 GBsimilar score
MiniMax M3MiniMax112.6258 GBsimilar score
MiniMax M2.7MiniMax107.4139.6 GBsimilar score
DeepSeek V3.1 TerminusDeepSeek107.3412.2 GBsimilar score
MiniMax M2.1MiniMax106.2139.6 GBsimilar score
MiniMax M2MiniMax104.0139.6 GBsimilar score

Specifications

Publisher
Z.ai
Family
GLM 4
Parameters
358.3B
Active parameters
35.6B per token
Architecture
Glm4MoeForCausalLM
Context Length
131,072 tokens
Vocabulary Size
151,552
Release Date
2025-07-20
License
MIT

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 717.3 GB at BF16. 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)

Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.

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
IQ3_XS
148.4 GB
Q3_K_L
184.3 GB
Q4_K_M ★
215.6 GB
Q5_K_S
247.0 GB
BF16
717.3 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run GLM 4.5 on a Mac?

Yes — Mac Pro M2 Ultra (128 GB) and 14 other Macs can run GLM 4.5, the smallest at IQ2_M. Apple Silicon uses unified memory, so the model shares RAM with the system. At Q4_K_M you need at least 215.6 GB of usable unified memory (RAM minus macOS overhead), from Mac Studio (M3 Ultra, 256GB).

Can I run GLM 4.5 locally?

Yes — GLM 4.5 can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is GLM 4.5?

At Q4_K_M, GLM 4.5 can reach ~44 tok/s on AMD Instinct MI350X. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = 1000 ÷ (active GB ÷ (bandwidth GB/s × efficiency) × 1000 + layers × routing ms)

Mixture-of-Experts: just the active experts get read for each token, along with a fixed routing cost per layer.

Example: NVIDIA B300 → 21.4 GB active ÷ (8000 × 0.65) = 4.12 ms, plus 92 layers × 0.055 ms = 5.06 ms, so 1000 ÷ 9.18 ms = ~109 tok/s

Estimated speed at Q4_K_M (215.6 GB)

~109 tok/s
~44 tok/s
~44 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of GLM 4.5?

At Q4_K_M, the download is about 215.00 GB. The full-precision BF16 version is 716.68 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 Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.