GLM-4.7-Flash runs at 47 tok/s (46.6 as recorded) on a 32 GB M6, a community run reported by omlx.ai (MLX, oQ4e, 1k context). It needs about 18 GB of unified memory. It is Zhipu AI's 31B mixture-of-experts model (3B active), released under the MIT licence.
Want to run GLM-4.7-Flash faster — or step up to bigger models? Find your Mac →This is a community run: a real run, reported by its source and linked below. The index records it as given and never adjusts it.
| Metric | Value |
|---|---|
| Tokens per second | community47 tok/s |
| Provenance | community run · omlx.ai |
| Quantization | oQ4e |
| Engine | MLX |
| Time to first token | 1.092s |
| Prompt processing (prefill) | community893 tok/s at 4K context |
| Context | 1k |
| Figure dated | 2026-11-11 |
| Minimum RAM | 18 GB |
| Parameters | 31B MoE (3B active) |
| Chip bandwidth | 170 GB/s |
Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (18 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.
| Speed | Quant | Engine | Mac RAM | Context | Source | Note |
|---|---|---|---|---|---|---|
| community46.6 tok/s | oQ4e | MLX | 32 GB | 1k | omlx.ai | 12-core GPU. oMLX v0.7.4.dev1, MTP/DFlash off; GLM-4.7-Flash-oQ4e-fp16-mtp (MTP head not used); 17.0 GB peak. 37.6 tok/s at 4k. |
Measured figures only, each from its source’s own session; the index does not estimate long-context or prefill speed, so a missing cell is —. Each @ column is plain decode with that many tokens already in the prompt, from the same session as the row’s short-context figure: decode slows as the KV cache it reads grows. Prefill is prompt processing, the tokens per second a runtime reads a prompt at; with long agent contexts it sets how long you wait before the first token.
| Run | Decode (row) | @4K | Prefill | TTFT |
|---|---|---|---|---|
| MLX · oQ4e · 32 GB Mac · omlx.ai | community46.6 tok/s | community37.6 tok/s | community893 tok/s | community1.092 s |
Ollama — install it (brew install ollama or the app from ollama.com), then pull the model by its tag, checked on ollama.com on 2026-11-14:
MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:
Downloads: Ollama page → · Hugging Face model card →
The 47 tok/s figure above came from MLX at oQ4e; other runtimes and quants run at different speeds.
Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.
| Chip | Speed | Quant | Engine | Bandwidth |
|---|---|---|---|---|
| M5 Max | estimated107 tok/s | Q4_K_M | MLX | 614 GB/s |
| M4 Max | estimated102 tok/s | Q4_K_M | MLX | 546 GB/s |
| M4 Pro | estimated68 tok/s | Q4_K_M | Ollama | 273 GB/s |
Zhipu AI's MIT-licensed 31B MoE with ~3B active (19 Jan 2026; its card calls it a 30B-A3B model), 200K context. Until November 2026 the index listed it as a dense 31B model, which understated its speed several-fold. A community oMLX run measured 46.6 tok/s on a 32 GB Mac mini M6 (oQ4e, MTP off).
MIT licence · 31B MoE · 200K context · LLMCheck capability 35/50 · see its leaderboard rank →
Estimated, not measured: the index’s minimum for GLM-4.7-Flash (18 GB — the weights at the quant that fits, plus ~2 GB) plus the KV cache for that many tokens, computed from its config.json. MLA on all 47 layers (kv_lora_rank 512 + rope 64); runtimes that expand MLA to per-head K/V use far more. A 16-bit KV cache is the default in llama.cpp, Ollama, LM Studio and mlx-lm; a q8 cache halves the KV part. Coding agents hold 64K tokens or more. Runtimes also add a buffer that grows with context, so leave a few GB spare. macOS lets the GPU use only part of a Mac’s memory by default (figures for an M6 Mac, which runs macOS 26 or later): “fits” means within the GPU memory a Mac of that tier can use with the limit raised, a tier tagged raise GPU limit fits only after sudo sysctl iogpu.wired_limit_mb raises it (the tooltip has the exact command), and the last column is the smallest Mac memory size whose default limit holds it (the GPU memory limit).
| Context | KV cache (16-bit) | RAM needed | RAM, q8 KV | Smallest tier that fits | Within the default GPU limit |
|---|---|---|---|---|---|
| 8K | ~0.4 GB | ~18.2 GB | ~18.1 GB | 24 GB Mac raise GPU limit | 32 GB Mac |
| 32K | ~1.8 GB | ~19.6 GB | ~18.8 GB | 24 GB Mac raise GPU limit | 32 GB Mac |
| 64K (coding-agent context) | ~3.5 GB | ~21.3 GB | ~19.7 GB | 32 GB Mac | |
| 128K | ~7.1 GB | ~24.9 GB | ~21.4 GB | 32 GB Mac |
GLM-4.7-Flash needs about 18 GB of unified memory. These Apple Silicon Macs have enough to run it. Apple builds the higher-memory configurations to order; Amazon does not stock them.
As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.
See how GLM-4.7-Flash stacks up against other models on your specific Mac hardware.
Open Compare Tool Full Leaderboard