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.