LLMs · Zhipu AI
GLM-5 (744B-A40B)
- Parameters
- 754B (40.0B active)
- Architecture
- Mixture of experts
- Max context
- 198K tokens
- License
- mit
- Released
- 2026-02
How to run it
On a mobile device
GLM-5 (744B-A40B) is too big for a device like yours: it needs more memory than the device has. Models that run on mobile devices.
Ollama
Ollama only offered this as a cloud model, and has since retired it. To run it locally, use the GGUF files below with llama.cpp or LM Studio.
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/unsloth/GLM-5-GGUF (opens in a new tab)
ollama run hf.co/unsloth/GLM-5-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 (744B-A40B)
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 | 302 GB | 303 GB | 305 GB | GGUF · folder (opens in a new tab) |
Q3_K_M |
Low | 369 GB | 371 GB | 373 GB | GGUF · folder (opens in a new tab) |
Q4_K_M |
Good | 460 GB | 461 GB | 463 GB | GGUF · folder (opens in a new tab) |
Q5_K_M |
High | 535 GB | 537 GB | 539 GB | GGUF · folder (opens in a new tab) |
Q6_K |
High | 618 GB | 620 GB | 622 GB | GGUF · folder (opens in a new tab) |
Q8_0 |
Very high | 799 GB | 800 GB | 803 GB | GGUF · folder (opens in a new tab) |
F16 |
Full | 1,508 GB | 1,509 GB | 1,511 GB | GGUF · folder (opens in a new tab) Original weights (opens in a new tab) |
Best hardware for GLM-5 (744B-A40B)
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 66Good quality (B) · 66 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (512 GB) |
Q2_K | 334 GB / 384 GB | 32.0 tok/s | Runs welltight fit |
| 66Good quality (B) · 66 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | Apple M5 Ultra (512 GB) |
Q2_K | 334 GB / 384 GB | 44.8 tok/s | Runs welltight fit |
| 79Great quality (A) · 79 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | AMD EPYC 7002 / 7003 series NAS (512 GB) |
Q3_K_M | 408 GB / 471 GB | 4.4 tok/s | Slowtight fit |
| 79Great quality (A) · 79 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | Intel Xeon Silver (4100 to 4300 series) NAS (512 GB) |
Q3_K_M | 408 GB / 471 GB | 2.2 tok/s | Very slowtight fit |
| 79Great quality (A) · 79 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | Intel Xeon W-2100 series NAS (512 GB) |
Q3_K_M | 408 GB / 471 GB | 2.1 tok/s | Very slowtight fit |
| 79Great quality (A) · 79 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | Intel Xeon D-2700 series NAS (512 GB) |
Q3_K_M | 408 GB / 471 GB | 1.6 tok/s | Very slowtight fit |
Run it on a cluster
Devices that can’t run GLM-5 (744B-A40B) 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.





