Skip to content

Best PicksGPU

Best GPUs for GLM-4.7-Flash in 2026: Graphics Cards for Z.ai's 30B Local Model

GLM-4.7-Flash needs about 18GB for a 4-bit version, but its mixture-of-experts design lets part of it sit in system RAM. We pick the best graphics cards for running it locally, from the 32GB RTX 5090 to 16GB NVIDIA and AMD cards, based on official specifications and file sizes.

By , Buying Guides & Peripherals Editor

4 min read

Best GPUs for GLM-4.7-Flash in 2026: Graphics Cards for Z.ai's 30B Local Model

Our picks at a glance

  1. 1
    NVIDIA GeForce RTX 5090 Founders Edition
  2. 2
    ASUS RTX 5060 Ti 16GB Dual OC
    ASUS RTX 5060 Ti 16GB Dual OC
  3. 3
    ASUS RTX 5070 Ti 16GB TUF Gaming OC
    ASUS RTX 5070 Ti 16GB TUF Gaming OC
  4. 4
    ASUS RX 9070 XT 16GB Prime OC
    ASUS RX 9070 XT 16GB Prime OC

7-Flash on any of these graphics cards. Our picks are based on Unsloth's published memory guidance for the model, the file sizes of the official Ollama and Unsloth model files, the llama.cpp documentation, and NVIDIA's and AMD's official specifications, all read on 6 December 2026. Where we say a card should fit a given setup, that's our estimate, not a measured result.

GLM-4.7-Flash is Z.ai's free, MIT-licensed 30B mixture-of-experts model, with about 3B parameters active per token. That design means the whole model has to sit in memory, but it doesn't all have to sit on the graphics card: llama.cpp can keep some of the expert weights in system RAM. So for this model, the question isn't only "does it fit in VRAM?" but "how much of it fits?" If you haven't set it up yet, start with our GLM-4.7-Flash setup guide.

How much VRAM does GLM-4.7-Flash need?

Unsloth says GLM-4.7-Flash runs on 24GB of RAM, VRAM or unified memory, or 32GB for full precision, and its 4-bit guide needs around 18GB. The main file sizes are:

  • Q4_K_M (4-bit): about 18.3GB (Ollama's default download is listed at 19GB)

  • UD-Q4_K_XL (4-bit): about 17.5GB

  • UD-Q3_K_XL (3-bit): about 13.8GB

  • Q6_K (6-bit): about 24.7GB

  • Q8_0 (8-bit): about 31.8GB

On top of the file, you need memory for context, which grows as conversations get longer. Our LLM context length and VRAM explainer covers how that works.

Best overall: NVIDIA GeForce RTX 5090 Founders Edition

Why we picked it: it's the only card in our list that holds a 4-bit GLM-4.7-Flash entirely in VRAM, with room left for a long context.

NVIDIA lists the RTX 5090 with 32GB of GDDR7 on a 512-bit memory interface. In our estimate, that leaves roughly 13GB free after loading the 18.3GB Q4_K_M file, plenty for a long context, and it's enough to try the 24.7GB Q6_K file for higher quality. The 31.8GB Q8_0 file would leave almost nothing for context, so we wouldn't plan on it. It's an expensive, power-hungry card, so it only makes sense if you'll use it for other local AI work or gaming too.

Linked product: NVIDIA GeForce RTX 5090 Founders Edition

Best value: ASUS RTX 5060 Ti 16GB Dual OC

Why we picked it: 16GB is the most affordable way to run a 4-bit GLM-4.7-Flash with most of it on the GPU.

NVIDIA's RTX 5060 Ti comes in 16GB and 8GB versions, both with GDDR7 on a 128-bit bus. A 4-bit file is a little too big for 16GB, so you have two options. You can use llama.cpp's --n-cpu-moe option, which keeps the MoE weights of some layers in system RAM, and pair the card with at least 32GB of RAM. Or you can drop to the 13.8GB UD-Q3_K_XL file, which in our estimate fits on the card with a short context. Make sure you buy the 16GB model, not the 8GB one.

Linked product: ASUS RTX 5060 Ti 16GB Dual OC

Faster 16GB option: ASUS RTX 5070 Ti 16GB TUF Gaming OC

Why we picked it: the same 16GB as the 5060 Ti, with twice the memory bus width.

NVIDIA lists the RTX 5070 Ti with 16GB of GDDR7 on a 256-bit interface, against the 5060 Ti's 128-bit bus. You'll use the same tricks to fit a 4-bit file, but the wider bus means the layers that do sit on the card can be read faster. In our estimate that makes it the better choice if you'll use GLM-4.7-Flash for coding agents that generate a lot of text, or if the PC also plays games at high settings.

Linked product: ASUS RTX 5070 Ti 16GB TUF Gaming OC

Best AMD option: ASUS RX 9070 XT 16GB Prime OC

Why we picked it: a 16GB, 256-bit alternative for people who prefer AMD.

AMD lists the Radeon RX 9070 XT with 16GB of GDDR6 on a 256-bit interface and up to 640 GB/s of memory bandwidth. llama.cpp's build documentation covers both a HIP build for AMD cards and a Vulkan build, and LM Studio and Jan run on llama.cpp too, so the GGUF route works on Radeon cards. As with the NVIDIA 16GB cards, plan on offloading some expert weights to system RAM or using a 3-bit file. Bear in mind that some AI tools beyond llama.cpp are built for NVIDIA's CUDA first.

Linked product: ASUS RX 9070 XT 16GB Prime OC

What about 24GB cards and unified memory?

Any graphics card with 24GB of VRAM should hold a 4-bit GLM-4.7-Flash file entirely on the card with a modest context, in our estimate, which is in line with Unsloth's 24GB guidance. Unsloth's figure also applies to unified memory, so a mini PC or laptop with 32GB or more of shared memory is another route, though usually slower than a desktop graphics card. Our best GPUs for local LLMs guide covers those options more broadly.

Don't forget the rest of the PC

  • System RAM: if you're using a 16GB card and offloading experts, 32GB is the sensible minimum and 64GB gives room for longer contexts.

  • Storage: a 4-bit file is about 18GB, and you may want to keep more than one version. A fast NVMe SSD makes loading quicker.

  • Software: Ollama's own glm-4.7-flash model is the easiest start; llama.cpp gives you the --n-cpu-moe control you need on 16GB cards. Our guide to running MoE models on low VRAM explains the offloading in detail.

Wondering whether to aim higher? Our GLM-4.7-Flash vs GLM-5.3-Flash comparison explains why Z.ai's bigger 320B Flash model needs 100GB or more of memory.

The bottom line

The NVIDIA GeForce RTX 5090 is the best card for GLM-4.7-Flash, because its 32GB of VRAM holds a 4-bit version of the model entirely on the card with room for a long context. For most people, a 16GB card is the sensible choice: the RTX 5060 Ti 16GB for value, the RTX 5070 Ti for its wider 256-bit bus, or the RX 9070 XT if you prefer AMD. On any 16GB card, pair it with at least 32GB of system RAM and use llama.cpp's --n-cpu-moe option or a 3-bit file, in our estimate.

Sources

  1. 01Unsloth, GLM-4.7-Flash: How To Run Locally
  2. 02Unsloth, GLM-4.7-Flash GGUF files (Hugging Face)
  3. 03Z.ai, GLM-4.7-Flash model card (Hugging Face)
  4. 04Ollama, glm-4.7-flash model library page
  5. 05llama.cpp, server documentation (GitHub)
  6. 06llama.cpp, build documentation (GitHub)
  7. 07NVIDIA, GeForce RTX 5090 specifications
  8. 08NVIDIA, GeForce RTX 5070 family specifications
  9. 09NVIDIA, GeForce RTX 5060 family specifications
  10. 10AMD, Radeon RX 9070 XT specifications

About the author

Hannah Vance

Buying Guides & Peripherals Editor

Hannah edits Forge PC's buying guides and component roundups across gaming monitors, mechanical keyboards, mice, cases and power supplies. She specialises in OLED and Mini-LED panel characteristics, low-latency wireless peripherals, acoustic damping and value-for-money component selection for UK PC builders.

More from Hannah Vance

Read next

Best GPUs for Running Microsoft Phi-4 Locally in 2026

Best Picks

Best GPUs for Running Microsoft Phi-4 Locally in 2026

Phi-4 is a dense 14B model, so VRAM decides how well it runs. We pick the best graphics cards for running Microsoft's Phi-4 locally, from 16GB RTX 5060 Ti and RX 9060 XT cards to the 12GB RTX 5070, the 32GB RTX 5090 and an 8GB card for Phi-4-mini, based on official specs and file sizes.

Hannah Vance4 min

Phi-4 vs Phi-4-mini for Local AI: Which Microsoft Model Suits Your PC?

Versus

Phi-4 vs Phi-4-mini for Local AI: Which Microsoft Model Suits Your PC?

Microsoft's Phi-4 and Phi-4-mini share a name but suit very different PCs. We compare the 14B Phi-4 with the 3.8B Phi-4-mini on Microsoft's benchmark scores, context window, languages, function calling, download sizes and the VRAM each needs, to help you pick the one your hardware can run.

Callum Reid3 min

How to Run Microsoft Phi-4 Locally: Hardware, Downloads and Setup on a Home PC

How-To

How to Run Microsoft Phi-4 Locally: Hardware, Downloads and Setup on a Home PC

Microsoft's Phi-4 is a free, MIT-licensed 14B model whose 4-bit version is only about 9GB, so it suits ordinary gaming PCs. We explain which Phi-4 model to pick, how much VRAM each needs, and how to run it with Ollama, LM Studio or llama.cpp, including the settings Microsoft recommends for Phi-4-reasoning.

Marcus Thorne4 min