Z.ai's GLM-5.3-Flash 320B Model Now Runs on Just Two Consumer GPUs
An independent quantizer squeezed Z.ai's 320B-parameter GLM-5.3-Flash into a 4-bit checkpoint that runs multimodal inference on two workstation GPUs.
Takeaways
- Independent quantizer brandonmusic released GLM-5.3-Flash-tr3-4bpw, a 4-bit EXL3 quant of Z.ai's 320B MoE.
- Runs on two RTX PRO 6000 Blackwell 96GB cards using a custom vLLM/B12X build for SM120.
- Language-only MTP3 profile exposes 1.37M KV tokens and 10.5x concurrency at the tested ceiling.
- Measured 145 to 151 tok/s single-stream decode from empty to 64K context with DFlash2 speculation.
- NVFP4 MLA KV divergence of 0.055 nats vs BF16 teacher; fails LAVD-low quality gate at 3/10.
- Ships with hash-verified reproducibility bundle, embedded provenance manifest, and custom ShapleyMCG 1.0 license.
Community quantizer brandonmusic has published a 4-bit checkpoint of Z.ai’s GLM-5.3-Flash, a 320-billion-parameter multimodal mixture-of-experts model. The Hugging Face release has drawn close to 10,000 downloads and includes measured benchmarks, runtime containers, launch configurations, and reproducibility bundles.
GLM-5.3-Flash contains 320 billion total parameters but activates about 18 billion for each token. Its 45-layer language model routes every token through 8 of 288 experts and combines KDA linear attention with sparse MLA attention, which compresses the key-value state used during inference. The native FP8 model supports text, images, video, a declared 1,048,576-token context window, and one multi-token-prediction draft layer.
Two GPUs, three memory budgets
The release uses uniform K4 EXL3/TR3 quantization and targets SM120 Blackwell hardware. Tests ran on two RTX PRO 6000 Blackwell GPUs with 96 GB of memory each. Serving requires the project’s custom vLLM fork because stock upstream vLLM lacks the necessary kernels and runtime changes.
Three supplied profiles divide GPU memory among model weights, vision components, speculative decoding, and the KV cache. The KV cache stores attention state as prompts and generated sequences grow, so its capacity determines practical context length and concurrency.
| Profile | Vision | Speculator | KV capacity | Reported concurrency |
|---|---|---|---|---|
| Multimodal DFlash2-7 | Enabled | External 7-layer draft | 129,473 tokens | 1.32x |
| Language-only DFlash2-7 | Disabled | External 7-layer draft | 184,619 tokens | 1.88x |
| Language-only MTP3 | Disabled | Built-in MTP head | 1,376,256 tokens | 10.50x |
Disabling vision increases the DFlash KV pool by roughly 43%. Removing the external draft model and using the built-in multi-token-prediction head raises aggregate KV capacity above 1.37 million tokens. That figure covers the cache pool across requests; individual requests remain subject to the model and profile limits.
Decode reaches about 150 tokens per second
Published tests with the DFlash2 speculator recorded cold-prefill throughput of 6,225 client tokens per second at 32K context and 6,083 at 64K. Single-stream decoding reached 145.5 tokens per second with an empty context, 147.2 at 32K, and 151.5 at 64K.
Speculative decoding accelerates generation by letting a smaller draft model propose several tokens before the main model verifies them. On GSM8K, DFlash2 averaged 5.428 accepted tokens per step across five distinct prompts, all answered correctly. The first 16 samples averaged 5.739 accepted tokens per step, close to the published 5.78 reference measured over 128 samples.
Quantization quality has a visible KV tradeoff
Quantization can change the model’s output probabilities, so the release compares each configuration with a sealed BF16 teacher at every causal position in a 2,048-token window. KL divergence, where lower values indicate closer output distributions, measured 0.0246 with an FP8 MLA KV cache and 0.0548 with an NVFP4 MLA KV cache.
The lower-precision KV cache also performed worse on the LAVD-low evaluation slice. Across 10 runs, the NVFP4 configuration recorded 3 accepted runs, below the release’s quality gate, while FP8 KV recorded 8. The NVFP4 profile offers more memory efficiency, but these results show a measurable quality cost on at least one difficult slice.
Launching requires the custom runtime
The supplied Docker Compose configuration starts the multimodal profile after the quantized model and separate DFlash2 checkpoint have been downloaded:
curl -L -o compose.sm120-tp2.yaml \
https://raw.githubusercontent.com/brandonmmusic-max/glm-5.3-flash-exl3-4bpw/main/runtime/compose.sm120-tp2.yaml
GLM53_MODEL_PATH=/path/to/GLM-5.3-Flash-tr3-4bpw \
GLM53_DFLASH_PATH=/path/to/GLM-5.3-Flash-DFlash2 \
docker compose -f compose.sm120-tp2.yaml up -d
The multimodal profile caps each request at 98,304 tokens. Its hybrid Mamba/DFlash rollback allocation leaves enough memory for one fully resident request, with additional requests placed in a queue. The higher-concurrency rows in the raw benchmark therefore document capacity limits and carry no throughput claim.
The runtime image also patches a packaging failure in the GLM-5.3 vision path. The original RoPE implementation unconditionally imported vllm.vllm_flash_attn.layers.rotary, although the deployed wheel included only compiled flash-attention extensions. The patched build falls back to native PyTorch rotary-position calculations and was tested with cold multimodal startup and remote JPEG chat requests.
Hashes and benchmark records ship with the release
Z.ai reports that the base model outperforms GLM-5.2 across its evaluations at one-tenth the serving price and approaches Claude Opus 4.8 on coding and agentic benchmarks. Its sparse expert routing, hybrid attention, and Manifold-Constrained Hyper-Connections reduce the compute and memory required per token, although every deployment must still store the full parameter set.
Red Hat provides an official NVFP4 recipe for datacenter Blackwell systems. Brandonmusic’s release instead packages a measured configuration for two high-memory workstation GPUs, along with records intended to make the conversion and benchmark results auditable:
- A hash-verified R10 Python encoder bundle that is byte-identical to a pinned Hugging Face revision, plus an offline verification script.
- A
PROVENANCE.jsonfile inside the OCI image that binds runtime source and benchmark artifacts to SHA-256 hashes. - An explicit statement that the image contains no telemetry, callback, or hidden watermark.
- Complete benchmark JSON, including disclosure that a previously reported 60.1-token-per-second decode result came from a harness rollover and was removed.
Blackwell and licensing set firm boundaries
Deployment depends on the custom vLLM/B12X build and SM120 Blackwell GPUs. The DFlash2 profiles also require a separate speculative-decoding checkpoint distributed under CC BY-NC-ND 4.0, which prohibits commercial use and modified redistribution of that component.
The quantized checkpoint uses the custom ShapleyMCG License 1.0, including identifier requirements for derivative releases. Z.ai’s MIT license for the base weights does not govern this quantized checkpoint, so downstream distribution and commercial deployment depend on the additional terms.
For teams with two 96 GB Blackwell workstation cards, the release provides a documented route to local GLM-5.3-Flash inference: multimodal serving with a 98,304-token request ceiling, language-only capacity above one million aggregate KV tokens, and measured decode throughput near 150 tokens per second. Its custom runtime, hardware target, KV-quality tradeoffs, and license conditions define the deployment envelope.