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

Autor: Jakub Rusinowski · Ostatnia aktualizacja: 15 sierpnia 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). Weights plus framework overhead only — this model publishes no architecture we can read, so no KV cache is included. A real session needs more; the figure is a floor, not a target. 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.

QuantBits/weightWeightsVRAM neededEst. speedFit on 24 GB
Q2_K2.639.9 GB10.7 GB~212 tok/s (est.)Fits comfortably
Q3_K_M3.4112.8 GB13.6 GB~196 tok/s (est.)Fits comfortably
Q4_K_M4.8318.1 GB18.9 GB~172 tok/s (est.)Fits comfortably
Q5_K_M5.6721.3 GB22.1 GB~160 tok/s (est.)Tight fit
Q6_K6.5624.6 GB25.4 GB~22 tok/s (est.)Offloads to system RAM (slow)
Q8_08.5031.9 GB32.7 GB~20 tok/s (est.)Offloads to system RAM (slow)
F1616.0060 GB60.8 GBWon't fit

Want to set your own context length and KV-cache quantization? Use the interactive 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).

Ujawnienie afiliacyjne: Niektóre odnośniki na tej stronie to linki afiliacyjne — jeśli dokonasz zakupu za ich pośrednictwem, LLM Configurator może otrzymać prowizję bez dodatkowych kosztów dla Ciebie. Jako uczestnik programu Amazon Associates, LLM Configurator zarabia na kwalifikujących się zakupach.
AMD Radeon RX 7900 XT 20GB
20 GB VRAM · 315 W board power
Ceny w 2026 są niestabilne — sprawdź aktualną ofertę.
Sprawdź cenę na 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