Z.ai: GLM 4.7 Flash
Z.ai (Zhipu) (China) · Language (text)
GLM-4.7-Flash is a 30B-A3B MoE model. As the strongest model in the 30B class, GLM-4.7-Flash offers a new option for lightweight deployment that balances performance and efficiency.
Which way is for me?
🌐 Online, right now
- Open the model's page on OpenRouter: openrouter.ai/z-ai/glm-4.7-flash
- Sign in (with Google or email) and press Chat; you can talk to the model right there.
- Cost: a short exchange (about a page in and a page out) costs about $0.00023, so $1 buys about 4,343 messages.
💻 On my own computer
- Download and install LM Studio (free): lmstudio.ai
- In LM Studio open Search (the magnifier) and type exactly:
ggml-org/GLM-4.7-Flash-GGUF - From the list of files pick the version the check above suggested; if unsure, take Q4_K_M (compressed, slightly lower quality, less memory).
- Press Download, then Load, and start talking in Chat.
Or, if you use Ollama, this one command is enough:
ollama run hf.co/ggml-org/GLM-4.7-Flash-GGUF🧑💻 For developers
vLLM
vllm serve zai-org/GLM-4.7-FlashTransformers (Python)
from transformers import pipeline
pipe = pipeline("text-generation", model="zai-org/GLM-4.7-Flash")llama.cpp
llama-server -hf ggml-org/GLM-4.7-Flash-GGUFWords used here
- GGUF
- The file format LM Studio, Ollama and llama.cpp use to run a model.
- Quantization (Q4, Q8)
- Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
- VRAM
- The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
- Context
- The most text the model can see at once in a conversation (questions, answers and files).
- Tokens per second
- How fast the answer is written; 20 is about reading speed, 5 is slow.
From the Hugging Face model card
GLM-4.7-Flash is a 30B-A3B MoE model. As the strongest model in the 30B class, GLM-4.7-Flash offers a new option for lightweight deployment that balances performance and efficiency.
Benchmarks (from the model card)
| Benchmark | GLM-4.7-Flash | Qwen3-30B-A3B-Thinking-2507 | GPT-OSS-20B |
|---|---|---|---|
| AIME 25 | 91.6 | 85.0 | 91.7 |
| GPQA | 75.2 | 73.4 | 71.5 |
| LCB v6 | 64.0 | 66.0 | 61.0 |
| HLE | 14.4 | 9.8 | 10.9 |
| SWE-bench Verified | 59.2 | 22.0 | 34.0 |
| τ²-Bench | 79.5 | 49.0 | 47.7 |
| BrowseComp | 42.8 | 2.29 | 28.3 |
Source: Hugging Face · zai-org/GLM-4.7-Flash · License: mit
Hardware and running it
Cloud and local Available through an API, and its weights are published to run on your own hardware.
- Minimum Q4
- 21 GB
- Recommended Q8
- 37.5 GB
- Full quality FP16
- 74.9 GB
On common hardware
| RTX 4060 · 8 GB | Won't run | |
|---|---|---|
| RTX 4090 · 24 GB | Usable | Q4 · ≈ 130–220 tokens/s |
| RTX 5090 · 32 GB | Usable | Q4 · ≈ 240–390 tokens/s |
| Mac M4 Max · 128 GB | Great | FP16 · ≈ 20–34 tokens/s |
| H100 · 80 GB | Great | FP16 · ≈ 120–210 tokens/s |
| 8× H100 · 640 GB | Great | FP16 · ≈ 990–1,650 tokens/s |
Speeds are estimates. estimated speed for one user, from memory bandwidth
Links come from the vendor's official site and the model card the vendor published · Updated: