GLM 5.3 Flash

321.3B total, 25.4B active · 1024k context · mit · released 2026-08-26

chatcodingagenticreasoningvision

In short

GLM 5.3 Flash is an open model from Z.ai with 321.3B parameters (25.4B active per token). At UD-Q4_K_XL, GLM 5.3 Flash needs about 187 GB of memory at 8k context and 187 GB at 8k, counting the weights, the KV cache and runtime buffers. The cheapest hardware in the US that runs GLM 5.3 Flash fully in memory at 8k context is the Mac Studio M3 Ultra 256GB, $9,500 at eBay, at about 20 tok/s (estimated).

Updated . Speeds are estimates; how they are worked out.

Cheapest way to run it in the US today

Mac Studio M3 Ultra 256GB, used at eBay

Runs GLM 5.3 Flash at UD-Q4_K_XL fully in memory at 8k context, about 20 tok/sest.

$8,850

In stock, checked

What to run it on in the US

Fully in memory at 8k context, priced at retailers today.

All hardware that runs it

Everything we price, best value first. Two cards split the model by layers.

HardwareQuantFitsDecodePricetok/s per 1,000
ASUS Ascent GX10 128GBUD-Q2_K_XLfits12 tok/s$6,1001.9
NVIDIA DGX Spark 128GBUD-Q2_K_XLfits12 tok/s$7,8001.5
Mac Studio M3 Ultra 256GBUD-Q4_K_XLfits20 tok/s$9,5002.1
Mac Studio M3 Ultra 512GBQ8_0fits12 tok/s$30,0000.4
Lenovo ThinkStation PGX GB10 128GBUD-Q2_K_XLfits12 tok/s––
Dell Pro Max with GB10 128GBUD-Q2_K_XLfits12 tok/s––
NVIDIA RTX PRO 6000 BlackwellUD-Q2_K_XLoffload33 tok/s$16,0002.0

56 other cards and machines we price cannot hold it at this context.

Memory needed

Weights, KV cache and runtime buffers at each context length (KV cache at fp16).

QuantFile@8k@32k@64k@128k
UD-Q4_K_XLgguf186.0 GB187.0 GB187.4 GB187.9 GB188.9 GB
UD-Q2_K_XLgguf101.3 GB102.2 GB102.6 GB103.1 GB104.2 GB
UD-Q3_K_XLgguf137.4 GB138.4 GB138.8 GB139.3 GB140.4 GB
mlx-4bitmlx190.0 GB190.9 GB191.3 GB191.9 GB192.9 GB
UD-Q5_K_XLgguf223.8 GB224.8 GB225.2 GB225.7 GB226.8 GB
UD-Q6_K_XLgguf271.8 GB272.8 GB273.2 GB273.7 GB274.7 GB
Q8_0gguf317.6 GB318.5 GB318.9 GB319.5 GB320.5 GB

Run it

Copy a command for the runtime you use.

  • UD-Q4_K_XL
    • Ollamaollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:UD-Q4_K_XL
    • LM Studiolms get unsloth/GLM-5.3-Flash-GGUF@ud-q4_k_xl
    • llama.cppllama-server -hf unsloth/GLM-5.3-Flash-GGUF:UD-Q4_K_XL
  • UD-Q2_K_XL
    • Ollamaollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:UD-Q2_K_XL
    • LM Studiolms get unsloth/GLM-5.3-Flash-GGUF@ud-q2_k_xl
    • llama.cppllama-server -hf unsloth/GLM-5.3-Flash-GGUF:UD-Q2_K_XL
  • UD-Q3_K_XL
    • Ollamaollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:UD-Q3_K_XL
    • LM Studiolms get unsloth/GLM-5.3-Flash-GGUF@ud-q3_k_xl
    • llama.cppllama-server -hf unsloth/GLM-5.3-Flash-GGUF:UD-Q3_K_XL
  • mlx-4bit
    • LM Studiolms get mlx-community/GLM-5.3-Flash-4bit
    • MLXmlx_lm.server --model mlx-community/GLM-5.3-Flash-4bit
  • UD-Q5_K_XL
    • Ollamaollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:UD-Q5_K_XL
    • LM Studiolms get unsloth/GLM-5.3-Flash-GGUF@ud-q5_k_xl
    • llama.cppllama-server -hf unsloth/GLM-5.3-Flash-GGUF:UD-Q5_K_XL
  • UD-Q6_K_XL
    • Ollamaollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:UD-Q6_K_XL
    • LM Studiolms get unsloth/GLM-5.3-Flash-GGUF@ud-q6_k_xl
    • llama.cppllama-server -hf unsloth/GLM-5.3-Flash-GGUF:UD-Q6_K_XL
  • Q8_0
    • Ollamaollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:Q8_0
    • LM Studiolms get unsloth/GLM-5.3-Flash-GGUF@q8_0
    • llama.cppllama-server -hf unsloth/GLM-5.3-Flash-GGUF:Q8_0

Notes

Estimates are approximate. Sparse or compressed attention: KV read per token is estimated as full attention. glm5_next_text layout is new; verify against measured results.

Questions

How much VRAM does GLM 5.3 Flash need?
At UD-Q4_K_XL, GLM 5.3 Flash needs about 187 GB of memory at 8k context and 187 GB at 8k, counting the weights, the KV cache and runtime buffers.
What is the best GPU for running GLM 5.3 Flash locally?
The cheapest hardware in the US that runs GLM 5.3 Flash fully in memory at 8k context is the Mac Studio M3 Ultra 256GB, $9,500 at eBay, at about 20 tok/s (estimated).
What is the cheapest way to run GLM 5.3 Flash in the US today?
The Mac Studio M3 Ultra 256GB, $8,850 used at eBay, in stock: it runs GLM 5.3 Flash at UD-Q4_K_XL fully in memory at 8k context, at about 20 tok/s (estimated).
Can I run GLM 5.3 Flash on a 16 GB GPU?
No: it does not fit in 16 GB at 8k context, even with system RAM.
Can I run GLM 5.3 Flash on a 24 GB GPU?
No: it does not fit in 24 GB at 8k context, even with system RAM.
How do I run GLM 5.3 Flash locally?
With Ollama: ollama run hf.co/unsloth/GLM-5.3-Flash-GGUF:UD-Q4_K_XL (the UD-Q4_K_XL build). LM Studio and llama.cpp commands are on this page.
What licence is GLM 5.3 Flash released under?
mit, which allows commercial use.

More hardware for local AI