Zhipu AI (Z.ai)30B (3B active)~19 GB VRAM at Q4_K_M

GLM-4.7-Flash 30B-A3B — VRAM, speed & local setup

Written by Jakub Rusinowski · Last updated

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.

Logic88
Creative82
Coding91

VRAM and speed by quantization

Quoted against NVIDIA RTX 4090 (24 GB). Weights plus overhead only: this model's architecture is unpublished, so no KV cache is added.

QuantVRAMSpeed (est.)Fit
Q2_K
2.63 bpw
10.7 GB~212 tok/sFits
Q3_K_M
3.41 bpw
13.6 GB~196 tok/sFits
Q4_K_M
4.83 bpw
18.9 GB~172 tok/sFits
Q5_K_M
5.67 bpw
22.1 GB~160 tok/sTight
Q6_K
6.56 bpw
25.4 GB~22 tok/sOffload
Q8_0
8.50 bpw
32.7 GB~20 tok/sOffload
F16
16.00 bpw
60.8 GB—Too big

Black marker = usable memory on the NVIDIA RTX 4090 (24 GB). Estimates from the memory-bandwidth roofline on the methodology page. GLM-4.7-Flash 30B-A3B VRAM calculator →

Get GLM-4.7-Flash 30B-A3B running

The cheapest catalogued GPU that runs GLM-4.7-Flash 30B-A3B is the AMD Radeon RX 7900 XTX (24 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 XTX 24GB
24 GB VRAM · 355 W board power
2026 prices are volatile — check the current listing.

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 ↗

Specifications

Preview — The model is released, but these specs are thin or rest on a single source. Individual fields may be wrong.

Preview — The model is released, but these specs are thin or rest on a single source. Individual fields may be wrong.

Parameters
30 Billion (3B active)
Context window
198,000
Architecture
Mixture-of-Experts
Provider
Zhipu AI (Z.ai)
Licence
MIT
Practical deployment
Single consumer GPU
Specified at
Q4_K_M
System RAM
32 GB
Record updated
2026-08-15
LicenceMITCommercial use permitted

Commercial use permitted. No usage restrictions beyond attribution.

Quality and use cases

Scores as published by the model’s authors or an independent evaluator — quality, not throughput, and not measured by us.

Best forcodingagentic taskslocal firstlong 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 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.