GLM-4.7-Flash 30B-A3B — VRAM, Speed & Local Setup

Written by Jakub Rusinowski · Last updated August 15, 2026

Model libraryGLM-4.7 / GLM-Z1 → GLM-4.7-Flash 30B-A3B

Z.ai's local-first coder: a 30B-total / 3B-active MoE that delivers 30B-class output quality at roughly 3B-class speed, which is what makes it practical on a single consumer card. Q4_K_M is ~19 GB, so it fits a 24GB GPU with room for a long context; q8_0 (~32 GB) and bf16 (~60 GB) tags exist for workstation setups. 198K context and an MIT license make it one of the least restrictive local coding models available.

GLM-4.7-Flash 30B-A3B needs about 19 GB of VRAM at Q4_K_M — quantized weights plus framework overhead, before any KV cache. On Apple Silicon that figure comes out of unified memory.

Specifications

Parameters30 Billion (3B active)
Context window198,000
ArchitectureMixture-of-Experts
ProviderZhipu AI (Z.ai)
LicenceMIT
Specified atQ4_K_M
System RAM32 GB
Record updated2026-08-15

Licence

MITcommercial use permitted. Commercial use permitted. No usage restrictions beyond attribution.

VRAM and Speed by Quantization

Modelled on a reference NVIDIA RTX 4090 (24 GB), with no KV cache (this record has no published architecture). Speed figures are ESTIMATES from the memory-bandwidth roofline described on the methodology page, not benchmarks we ran — rows marked measured come from published or reader-submitted runs. VRAM here includes the KV cache, so it reads higher than the headline figure above, which does not.

QuantWeightsVRAM neededEst. speedFit on 24 GB
Q2_K9.9 GB10.7 GB~212 tok/s (est.)Fits comfortably
Q3_K_M12.8 GB13.6 GB~196 tok/s (est.)Fits comfortably
Q4_K_M18.1 GB18.9 GB~172 tok/s (est.)Fits comfortably
Q5_K_M21.3 GB22.1 GB~160 tok/s (est.)Tight fit
Q6_K24.6 GB25.4 GB~22 tok/s (est.)Offloads to system RAM (slow)
Q8_031.9 GB32.7 GB~20 tok/s (est.)Offloads to system RAM (slow)
F1660.0 GB60.8 GBWon't fit

Want the memory numbers alone, at every quantization level and your own context length? Use the GLM-4.7-Flash 30B-A3B VRAM calculator.

Buy This HardwareAMD Radeon RX 7900 XT 20GB — 20 GB VRAM · 315 W board powerDeploy in the Cloud NowRTX 4090 on RunPod — from $0.34/hr · rate checked 2026-07

or compare on Vast.ai from $0.35/hr (typical low · varies)

As an Amazon Associate we earn from qualifying purchases. Cloud GPU links are referral links — we may earn a commission at no extra cost to you.

Recommended GPU

The cheapest catalogued GPU that runs GLM-4.7-Flash 30B-A3B is the AMD Radeon RX 7900 XT (20 GB).

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.
AMD Radeon RX 7900 XT 20GB
20 GB VRAM · 315 W board power
2026 prices are volatile — check the current listing.
Check price on Amazon

How to Run GLM-4.7-Flash 30B-A3B

Install Ollama, then run:

ollama run glm-4.7-flash

Weights on Hugging Face: zai-org/GLM-4.7-Flash.

Best for: coding, agentic tasks, local first, long documents.

Can I Run GLM-4.7-Flash 30B-A3B on My GPU?

Other GLM-4.7 / GLM-Z1 Sizes

GLM-4.7-Flash 30B-A3B — Frequently Asked Questions

How much VRAM does GLM-4.7-Flash 30B-A3B need?
About 19 GB at Q4_K_M — quantized weights plus framework overhead, before any KV cache. The cache grows with context length and is added on top; the table above folds it in. Apple Silicon counts unified memory toward the same figure.
Does GLM-4.7-Flash 30B-A3B run on an RTX 4090 (24 GB)?
Yes. GLM-4.7-Flash 30B-A3B needs about 19 GB at Q4_K_M, inside a 24 GB card, at an estimated 172 tokens/sec.
How do I run GLM-4.7-Flash 30B-A3B locally?
Install Ollama and run `ollama run glm-4.7-flash`. That pulls the weights and starts a local OpenAI-compatible endpoint; after the download nothing leaves the machine.
What other sizes does GLM-4.7 / GLM-Z1 come in?
GLM-4.7 9B (6 GB), GLM-Z1 32B (Reasoning) (20 GB), GLM-4.7-Flash 30B-A3B (19 GB). Every size shares the family's training and licence; the larger ones score higher and need proportionally more memory.

← All GLM-4.7 / GLM-Z1 models | VRAM calculator | Build a PC for this model | Check your own hardware