Can I Run GLM-4 9B on NVIDIA GeForce RTX 4090?

Written by Jakub Rusinowski · Last updated September 29, 2026

Yes. GLM-4 9B needs 7.4 GB at 8K context (5.4 GB weights + 2 GB KV cache/overhead) at Q4_K_M and the NVIDIA GeForce RTX 4090 has 24 GB, leaving about 16.6 GB of headroom, at roughly 115 tok/s (estimated) with room for up to 64K of context.

See what else this hardware can run →

The numbers

ModelGLM-4 9B
Parameters9B
QuantizationQ4_K_M
VRAM needed (8K context)7.4 GB
NVIDIA GeForce RTX 4090 VRAM24 GB
VerdictRuns
Max context64K
Estimated speed~115 tok/s

GLM-4 9B on the NVIDIA GeForce RTX 4090: VRAM by quantization

QuantVRAM neededFits 24 GB?Max contextWhole PC
F1620 GB✓ Yes32K—
Q8_011.6 GB✓ Yes64K—
Q6_K9.4 GB✓ Yes64K—
Q5_K_M8.4 GB✓ Yes64K—
Q4_K_M7.4 GB✓ Yes64K—
Q3_K_M5.8 GB✓ Yes64K—
Q2_K5 GB✓ Yes64K—

Assumes an 8K-token context with an f16 KV cache, on an estimated architecture — this model publishes no config we can read. A longer window needs more; a quantized KV cache needs less. “Max context” is the largest window that still fits in 24 GB. Figures are estimates from parameter count, quantization and memory bandwidth — the analyzer lets you tune KV-cache quant and context.

Context costs VRAM too. At Q4_K_M on the NVIDIA GeForce RTX 4090: 8K 7.4 GB · 32K 11.1 GB · 125K 25.1 GB ✗. Past 125K it no longer fits 24 GB — a q8_0 KV cache buys roughly half of that back, which the calculator will price for you.

What to do next

Nothing to change — run it at Q4_K_M. If you want more capability, check whether the next size up also fits.

No compatible GPU? GLM-4 9B on 8 GB of system RAM, CPU only: runs, but it is tight.

Affiliate disclosure: Some links on this page are affiliate links — if you buy through them, LLM Configurator may earn a commission at no extra cost to you. As an Amazon Associate, LLM Configurator earns from qualifying purchases.

Running GLM-4 9B on this card:

NVIDIA GeForce RTX 4090 24GB
24 GB VRAM · 450 W board power
2026 prices are volatile — check the current listing.
Check price on Amazon

Buy vs. rent GLM-4 9B
Buy the GPU
~$1,599
NVIDIA GeForce RTX 4090 · MSRP
Rent by the hour
from $0.34/hr
RTX 4090 (24 GB) class

At 2 hrs/day, buying (~$1,599) beats renting at $0.34/hr after about 6.5 years.

Affiliate links — we may earn a commission if you sign up, at no extra cost to you.

RunPod $0.34/hr
Rent on RunPod →
Vast.ai $0.35/hr · typical low · varies
Rent on Vast.ai →

Cloud rates verified 2026-07 — estimates, and marketplace prices vary. Buying price is GPU MSRP only, not a full PC.

Other GLM-4.7 / GLM-Z1 sizes on the NVIDIA GeForce RTX 4090

GLM-4 9B on nearby hardware

All GLM-4.7 / GLM-Z1 sizes on the NVIDIA GeForce RTX 4090 | GLM-4 9B model page | NVIDIA GeForce RTX 4090 GPU page | VRAM calculator | Check your hardware