LLMs · Zhipu AI
GLM-5.3 Flash (320B-A18B)
- Parameters
- 321B (18.0B active)
- Architecture
- Mixture of experts
- Max context
- 1,024K tokens
- License
- mit
- Released
- 2026-08
How to run it
On a mobile device
GLM-5.3 Flash (320B-A18B) is too big for a device like yours: it needs more memory than the device has. Models that run on mobile devices.
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/unsloth/GLM-5.3-Flash-GGUF (opens in a new tab)
ollama run hf.co/unsloth/GLM-5.3-Flash-GGUFOriginal weights · Hugging Face
Full-precision files from Zhipu AI, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Zhipu AI. The weights themselves download from Hugging Face.
github.com/zai-org/GLM-5 (opens in a new tab)
git clone https://github.com/zai-org/GLM-5Apps that run GLM-5.3 Flash (320B-A18B)
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| LM Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | GGUF from Hugging Face | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Jan | |
| MLX LM | CLI + API | MLX | macOS |
|
|
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| SGLang | Server | Original weights | WSLWindowsLinux |
|
|
| Docker Model Runner | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Lemonade | Desktop app | GGUF | macOSWindowsLinux |
|
|
| Unsloth Desktop | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Atomic Chat | |
| Pi | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Hermes Agent | Assistant | GGUF or MLX | macOSWSLWindowsLinux | ||
| OpenClaw | Assistant | GGUF or MLX | macOSWSLWindowsLinux | ||
| OpenCode | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Codex CLI | Coding agent | GGUF or MLX | macOSWSLWindowsLinux | ||
| OpenHands | Coding agent | GGUF or MLX | macOSWSLWindowsLinux | ||
| Zed | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Cline | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Open Interpreter | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Goose | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Aider | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Crush | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Qwen Code | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Kilo Code | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| Open WebUI | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Khoj | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Letta | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| KoboldCpp | Desktop app | GGUF | macOSWindowsLinux | Get KoboldCpp | |
| Text Generation WebUI | Desktop app | GGUF | macOSWindowsLinux | Get Text Generation WebUI | |
| llamafile | CLI + API | GGUF | macOSWindowsLinux | Get llamafile | |
| Msty Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Msty Studio | |
| Llama (macOS) | Desktop app | GGUF | macOS | Open in Llama (macOS) | |
| RecurseChat | Desktop app | GGUF | macOS | Open in RecurseChat | |
| Inferencer | Desktop app | MLX | macOS | Get Inferencer | |
| node-llama-cpp | Library | GGUF | macOSWindowsLinux | Get node-llama-cpp | |
| exo | Server | MLX | macOSLinux | Get exo | |
| Continue | Coding agent | GGUF or MLX | macOSWindowsLinux | ||
| SillyTavern | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| LibreChat | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Cherry Studio | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| Chatbox | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| PrivateGPT | Assistant | GGUF or MLX | macOSWindowsLinux | ||
| PocketPal AI | Mobile app | GGUF | iOSAndroid | App Store Google Play | |
| ChatterUI | Mobile app | GGUF | Android | Download the APK | |
| LLM Farm | Mobile app | GGUF | iOS |
Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps. Try another context length.
| Quantization | Quality | Weights | Total at 8K context | Total at 32K context | Download |
|---|---|---|---|---|---|
Q2_K |
Low | 129 GB | 129 GB | 129 GB | GGUF (UD-Q2_K_XL) · folder (opens in a new tab) |
Q3_K_M |
Low | 157 GB | 158 GB | 158 GB | GGUF (UD-Q3_K_XL) · folder (opens in a new tab) |
Q4_K_M |
Good | 196 GB | 197 GB | 197 GB | GGUF (UD-Q4_K_XL) · folder (opens in a new tab) |
Q5_K_M |
High | 228 GB | 229 GB | 229 GB | GGUF (UD-Q5_K_XL) · folder (opens in a new tab) |
Q6_K |
High | 263 GB | 264 GB | 264 GB | GGUF (UD-Q6_K_XL) · folder (opens in a new tab) |
Q8_0 |
Very high | 341 GB | 341 GB | 342 GB | GGUF · folder (opens in a new tab) |
F16 |
Full | 643 GB | 643 GB | 644 GB | GGUF · folder (opens in a new tab) Original weights (opens in a new tab) |
Best hardware for GLM-5.3 Flash (320B-A18B)
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 92Excellent quality (A+) · 92 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 95/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (512 GB) |
Q4_K_M | 227 GB / 384 GB | 41.4 tok/s | Runs great |
| 81Great quality (A) · 81 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 90/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (256 GB) |
Q3_K_M | 173 GB / 192 GB | 51.7 tok/s | Runs welltight fit |
| 67Good quality (B) · 67 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking. | Apple M2 Ultra (192 GB) |
Q2_K | 141 GB / 144 GB | 62.2 tok/s | Runs welltight fit |
| 95Excellent quality (A+) · 95 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 98/100 (quality, fit, speed and memory use) sets the ranking. | Apple M5 Ultra (512 GB) |
Q6_K | 295 GB / 384 GB | 41.6 tok/s | Runs great |
| 93Excellent quality (A+) · 93 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 97/100 (quality, fit, speed and memory use) sets the ranking. | AMD Instinct MI350X |
Q5_K_M | 243 GB / 288 GB | 165 tok/s | Runs great |
| 92Excellent quality (A+) · 92 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 96/100 (quality, fit, speed and memory use) sets the ranking. | AMD Instinct MI325X |
Q4_K_M | 209 GB / 256 GB | 161 tok/s | Runs great |
| 92Excellent quality (A+) · 92 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 96/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GB300 Grace Blackwell Ultra Desktop Superchip |
Q4_K_M | 209 GB / 252 GB | 184 tok/s | Runs great |
| 81Great quality (A) · 81 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 90/100 (quality, fit, speed and memory use) sets the ranking. | AMD Instinct MI300X |
Q3_K_M | 168 GB / 192 GB | 175 tok/s | Runs welltight fit |
| 81Great quality (A) · 81 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 90/100 (quality, fit, speed and memory use) sets the ranking. | Apple M5 Ultra (256 GB) |
Q3_K_M | 173 GB / 192 GB | 70.3 tok/s | Runs welltight fit |
| 81Great quality (A) · 81 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 90/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA B200 |
Q3_K_M | 167 GB / 180 GB | 215 tok/s | Runs welltight fit |
Run it on a cluster
Devices that can’t run GLM-5.3 Flash (320B-A18B) alone can run it together. These example clusters do:
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.







