Yes. GLM-4.7-Flash fits on the GeForce RTX 5090 at Q4: 18.8 GB needed against 30.4 GB of usable VRAM, so 11.6 GB to spare. The next quant up, Q8, needs 32.3 GB, which is 1.9 GB more than is usable. With an FP16 KV cache, the model's full 202,752-token window of context fit beside the 18.3 GB of Q4 weights.
Can the GeForce RTX 5090 run GLM-4.7-Flash?
Data updated . Last reviewed the same day, when this catalog snapshot was written.
Memory math
The GeForce RTX 5090 has 32.0 GB of dedicated VRAM on the card. The catalog counts 95% of it, 30.4 GB, as available for weights plus KV cache and leaves the other 1.6 GB out of the budget. A result under 2 GB of headroom is labeled tight.
GLM-4.7-Flash stores 31.2B parameters, 3B of them active per token. Against 30.4 GB usable, Q4 needs 18.8 GB (11.6 GB spare); Q8 needs 32.3 GB (1.9 GB short); FP16 needs 74.9 GB (44.5 GB short). Q4 is the highest of the three that fits. Q4 comes from GLM-4.7-Flash-Q4_K_M.gguf plus KV cache at 8K.
The Hub repo also has Q5_K_M (GLM-4.7-Flash-Q5_K_M.gguf, 21.9 GB with KV, 8.5 GB spare) and Q6_K (GLM-4.7-Flash-UD-Q6_K_XL.gguf, 26.6 GB with KV, 3.8 GB spare), between the catalog's Q4 and Q8 steps.
The GeForce RTX 5090
- NVIDIA GPU, released 2025. List price $1,999, about $66 per usable GB. NVIDIA launch MSRP, January 2025.
- Memory bandwidth 1,792 GB/s: the highest of the 16 machines in the can-run list.
- Usable memory 30.4 GB: 3 of the 16 machines have more.
The eBay link is a search of used listings, not a price or a recommendation of a seller. RigFit may earn a commission from qualifying eBay purchases made through links on this site, at no extra cost to you. See the disclosure.
GLM-4.7-Flash
- GLM family, mixture-of-experts, 31.2B parameters (3B active per token). License mit. The model card lists a 202,752-token context window. Hugging Face repo zai-org/GLM-4.7-Flash.
- Sizes come from unsloth/GLM-4.7-Flash-GGUF: Q4_K_M GLM-4.7-Flash-Q4_K_M.gguf is 18.3 GB; Q5_K_M GLM-4.7-Flash-Q5_K_M.gguf is 21.4 GB; Q6_K GLM-4.7-Flash-UD-Q6_K_XL.gguf is 26.2 GB; Q8_0 GLM-4.7-Flash-Q8_0.gguf is 31.8 GB.
- Mixture-of-experts. The safetensors files total 31.221B parameters. The model card calls it a 30B-A3B model, so the active count used here is that 3B designation. Context is config.json max_position_embeddings (202,752); the card introduction does not restate it. Attention is MLA, so the KV estimate uses the compressed cache, not a per-head KV.
Quant ladder
| Quant | Estimate | Headroom | Est. tok/s | Verdict |
|---|---|---|---|---|
| Q4 | 18.8 GB | 11.6 GB | 1018 tok/s | Yes |
| Q8 | 32.3 GB | -1.9 GB | — | No |
| FP16 | 74.9 GB | -44.5 GB | — | No |
- GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
- Formula estimate: parameter count × bytes per weight × 1.20. No GGUF file size is stored for this quant.
- Tokens/sec is an estimate, a bandwidth roofline: GB/s divided by active weight GB. It is not a measured generation speed, and it is blank for quants that do not fit.
Context length and KV cache
FP16 KV-cache estimate: 0.4 GB at 8,192 tokens and 1.8 GB at 32,768 tokens, about 54 KB per token (47 counted layers). MLA models use the compressed latent plus the RoPE key from config.json, not a per-head KV.
Context that fits in 30.4 GB usable VRAM, counting weights plus FP16 KV cache and nothing else (estimate: (usable - weight file) / KV per token, capped at the model's 202,752-token window): Q4: the model's full 202,752-token window.
Speed estimate
GLM-4.7-Flash is a mixture-of-experts model: 31.2B parameters total, 3B active per token (9.6%). Memory has to hold all 31.2B (18.3 GB of Q4 weights), but each token reads only about 1.8 GB of them, so its speed ceiling is about 10.4x higher than a dense model with the same file size.
Estimate, not a benchmark and not from a cited run: 1,792 GB/s divided by 1.8 GB of weights read per token at Q4 (18.3 GB file x 9.6% active) is a ceiling of 1018 tok/s. It ignores prompt processing, KV-cache reads, and software overhead, so real generation is slower.
Offload
The Q4 weights fit in usable VRAM, so this page does not assume a system-RAM offload. Q8 would overflow by 1.9 GB; that is the amount a partial offload would have to carry, and the catalog does not record system RAM or its bandwidth, so it is not counted as a fit.
Ollama
This command pulls the Q4_K_M file from unsloth/GLM-4.7-Flash-GGUF, the Hub repo whose file size is used above. It is not an official Ollama library tag.
ollama run hf.co/unsloth/GLM-4.7-Flash-GGUF:Q4_K_M
Nearby machines for GLM-4.7-Flash
- Next machine up in memory: Mac mini M4 Pro 64GB (64.0 GB unified memory, 44.8 GB usable, 273 GB/s, list $1,999), 14.4 GB more usable than here. Yes at Q8, 12.5 GB spare. The best quant moves from Q4 to Q8.
- Next machine down in memory: MacBook Pro 14-inch M4 Max 36GB (36.0 GB unified memory, 25.2 GB usable, 410 GB/s, list $3,199), 5.2 GB less usable than here. Yes at Q4, 6.4 GB spare. The best quant stays Q4.
- Cheapest catalog device at Q4: Radeon RX 7900 XT (19.0 GB usable, list $899).
Nearby models on the GeForce RTX 5090
- Next smaller model by Q4 size: Arete-27B (27.4B, Q4 17.7 GB) on the GeForce RTX 5090: Tight at Q8, 1.2 GB spare.
- Next larger model by Q4 size: Qwen3 30B-A3B (30.5B, 3B active, Q4 19.4 GB) on the GeForce RTX 5090: Yes at Q4, 11.0 GB spare.
- Largest catalog model that still fits at Q4: Mixtral 8x7B (46.7B, 12.9B active, Q4 27.5 GB): Yes at Q4, 2.9 GB spare.
All hardware for GLM-4.7-Flash · All models for the GeForce RTX 5090
Questions
- How much memory does GLM-4.7-Flash need at Q4?
- The Q4 figure used here is 18.8 GB, from GLM-4.7-Flash-Q4_K_M.gguf plus KV cache at 8K. GGUF file size plus an FP16 KV-cache estimate at 8,192 tokens. The cache counts only the layers and heads named in the method on the About page.
- Can the GeForce RTX 5090 run GLM-4.7-Flash?
- Yes. GLM-4.7-Flash fits on the GeForce RTX 5090 at Q4: 18.8 GB needed against 30.4 GB of usable VRAM, so 11.6 GB to spare. The next quant up, Q8, needs 32.3 GB, which is 1.9 GB more than is usable. With an FP16 KV cache, the model's full 202,752-token window of context fit beside the 18.3 GB of Q4 weights.
- How much context fits when GLM-4.7-Flash runs on the GeForce RTX 5090?
- Context that fits in 30.4 GB usable VRAM, counting weights plus FP16 KV cache and nothing else (estimate: (usable - weight file) / KV per token, capped at the model's 202,752-token window): Q4: the model's full 202,752-token window.
- How fast is GLM-4.7-Flash on the GeForce RTX 5090, as a bandwidth estimate?
- Estimate, not a benchmark and not from a cited run: 1,792 GB/s divided by 1.8 GB of weights read per token at Q4 (18.3 GB file x 9.6% active) is a ceiling of 1018 tok/s. It ignores prompt processing, KV-cache reads, and software overhead, so real generation is slower.
- What is the cheapest catalog device that runs GLM-4.7-Flash at Q4?
- Radeon RX 7900 XT, list price $899, with 19.0 GB usable.
- What changes with the next machine up from the GeForce RTX 5090?
- Mac mini M4 Pro 64GB (64.0 GB unified memory, 44.8 GB usable, 273 GB/s, list $1,999), 14.4 GB more usable than here. Yes at Q8, 12.5 GB spare. The best quant moves from Q4 to Q8.