GLM-5.3-Flash: Specs, Benchmarks, and Local Deployment Guide
GLM-5.3-Flash is a 320B-parameter multimodal MoE model with 18B active params, rivaling Claude Opus 4.8 at a fraction of the cost.

What is GLM-5.3-Flash?
GLM-5.3-Flash is an open-weight mixture-of-experts model from Z.ai, the first natively multimodal release in the GLM-5 line. It has 320 billion total parameters but only activates 18 billion per token, which is why it can approach Claude Opus 4.8 on coding and agentic benchmarks while costing a fraction as much to run. It ships as an MIT-licensed model on Hugging Face with fp8 weights and support across most major inference frameworks.
TL;DR
- GLM-5.3-Flash is a 320B-parameter MoE model with 18B active parameters, trained from a new base model rather than fine-tuned from GLM-5.2.
- The model introduces a hybrid sparse and linear attention architecture, the first time GLM has combined the two, aimed at cutting long-context serving costs without losing precision.
- It also adopts Manifold-Constrained Hyper-Connections (mHC), an architectural tweak meant to improve scaling efficiency beyond standard residual connections.
- Z.ai trained it on a 30-trillion-token multimodal pre-training corpus, and the model card claims it beats GLM-5.2 across benchmarks and real workloads at roughly one-tenth the price.
- On coding and agentic benchmarks it closes much of the gap to Claude Opus 4.8, though it does not universally beat it.
- The model supports local deployment through SGLang, vLLM, Transformers, KTransformers, TokenSpeed, and Unsloth, with a Hugging Face repo already logging over 346,000 downloads.
- A reasoning_effort parameter (low, high, max) lets you trade latency for accuracy, defaulting to max unless set explicitly.
What’s new in the GLM-5.3-Flash architecture?
Remy doesn't write the code. It manages the agents who do.
Remy runs the project. The specialists do the work. You work with the PM, not the implementers.
The headline change is the hybrid attention mechanism. Prior GLM-5 models used a single attention scheme throughout the network. GLM-5.3-Flash mixes sparse attention with linear attention layers, a design choice specifically targeted at long-context inference. Sparse attention keeps computation focused on the most relevant tokens, while linear attention avoids the quadratic cost that standard attention incurs as context grows. Combined, the two are meant to sharply reduce the compute and memory needed to serve very long documents or conversations, without sacrificing the precision that comes with full attention over shorter contexts.
The second architectural addition is Manifold-Constrained Hyper-Connections, or mHC. Hyper-connections generalize the residual connections that let signal and gradient flow through deep networks, and the “manifold-constrained” variant is designed to keep that flow well-behaved as the model scales up. Z.ai frames this as a scaling-efficiency improvement, meaning the model gets more capability out of each additional parameter or training step rather than plateauing.
Both changes sit on top of a new base model rather than a fine-tune of the previous GLM-5.2 checkpoint. Z.ai trained this base on a 30-trillion-token corpus that is natively multimodal, which is what gives GLM-5.3-Flash image-text-to-text capability out of the box, according to its Hugging Face model tags.
How does GLM-5.3-Flash compare to GLM-5.2?
Z.ai’s own positioning is direct: GLM-5.3-Flash outperforms GLM-5.2 across benchmarks and real-world workloads at about one-tenth the price. That price difference comes from the parameter efficiency of the MoE design (18B active out of 320B total) combined with the cheaper long-context serving that the hybrid attention architecture enables.
It’s worth separating GLM-5.3-Flash from the closely-named GLM-5.3 (non-Flash), which Z.ai also released. GLM-5.3 reuses the same base model as GLM-5.2 and gets all of its improvement from post-training alone. On Z.ai’s in-house Code Bench, GLM-5.3 shows a 50% improvement over GLM-5.2, and it hits open-source state-of-the-art on Terminal-Bench 3.0 and Agents’ Last Exam. Published benchmark tables for GLM-5.3 show Terminal-Bench 2.1 at 88.2, Terminal-Bench 3.0 at 28.3 (versus 4.6 for GLM-5.2), and CyberGym at 84.5, the top score in that comparison set. GLM-5.3-Flash is the newer, architecturally distinct, multimodal sibling built for lower serving cost at similar or better capability.
How does GLM-5.3-Flash compare to Claude Opus 4.8?
Z.ai describes GLM-5.3-Flash as “approaching” Claude Opus 4.8 on coding and agentic benchmarks, which is a more measured claim than outright beating it. The GLM-5.3 benchmark table (which used the same base architecture question set) gives a sense of where things stand between the GLM-5 family and Opus 4.8: on Terminal-Bench 2.1, GLM-5.3 scores 88.2 versus 85.0 for Opus 4.8. On NL2Repo, Opus 4.8 leads clearly at 69.7 versus 58.0 for GLM-5.3. On SWE-Marathon, Opus 4.8 edges ahead at 48.8 versus 42.5. On ExploitBench, Opus 4.8 posts 40.0 against GLM-5.3’s 54.4, a case where GLM-5.3 comes out ahead.
The pattern across these tables is not a clean sweep in either direction. GLM-5.3 (and by extension the architecturally related GLM-5.3-Flash) tends to be competitive or ahead on terminal and cybersecurity-adjacent benchmarks, while Opus 4.8 holds an edge on repository-scale coding tasks like NL2Repo and long-horizon SWE-Marathon work. The practical takeaway for builders is that GLM-5.3-Flash is close enough to frontier proprietary models on many tasks that its price and openness become the deciding factor, rather than a large capability gap.
Is GLM-5.3-Flash worth deploying locally?
Seven tools to build an app. Or just Remy.
Editor, preview, AI agents, deploy — all in one tab. Nothing to install.
For teams that want an open-weight model with multimodal input and competitive agentic benchmark scores, GLM-5.3-Flash is a reasonable candidate, provided you have the hardware. At 320B total parameters, even with only 18B active per forward pass, the full weight set still needs to be held in memory somewhere, similar to other large MoE releases like DeepSeek’s. The model ships in fp8 on Hugging Face across 62 safetensors shards, which reduces memory footprint compared to bf16 but still implies a multi-GPU or high-memory single-node setup for full-precision serving.
Framework support is broad. Z.ai lists SGLang, vLLM, Transformers, KTransformers, TokenSpeed, and Unsloth as supported inference paths, each with its own recipe or cookbook. KTransformers is notable here since it specifically targets consumer and prosumer hardware setups for large MoE models by offloading experts intelligently, which matters if you don’t have a data-center GPU cluster. Ascend NPU support is also documented for the related GLM-5.3 model, suggesting Chinese-hardware deployment paths are a priority for Z.ai.
One deployment detail worth knowing: GLM-5.3-Flash exposes a reasoning_effort parameter with three settings (low, high, max), defaulting to max. Benchmark and leaderboard numbers reported by Z.ai use the max setting, so if you drop to low or high for latency reasons, expect scores to differ from the published figures. There’s also a clear_thinking flag in the chat template that defaults to false and needs to be explicitly set to true for typical chat use rather than raw benchmark reproduction.
What benchmarks does GLM-5.3-Flash lead on?
Z.ai’s disclosed benchmark suite spans coding, agentic, and security-adjacent tasks: Terminal-Bench 2.1 and 3.0, DeepSWE, NL2Repo, ProgramBench, FrontierSWE, SWE-Marathon, PostTrainBench, CyberGym, ExploitGym, ExploitBench, Toolathlon Verified, AutomationBench, Agents’ Last Exam, HLE with tools, and GDPval-AA v2. These cover everything from single-shot coding correctness to multi-hour autonomous agent runs in isolated containers, several capped at six or even ten-hour timeouts to simulate realistic long-horizon work.
The cybersecurity-related benchmarks stand out. Z.ai reports that as post-training scaled, cyber capability grew faster than expected, with GLM-5.3 (the non-Flash sibling) reaching state-of-the-art on CyberGym for vulnerability discovery and more than doubling GLM-5.2’s scores on exploitation benchmarks further up the chain. This kind of emergent capability is worth flagging for anyone evaluating these models for security research or red-teaming use, since it wasn’t a targeted design goal but showed up anyway.
Frequently Asked Questions
How many parameters does GLM-5.3-Flash have?
It has 320 billion total parameters in a mixture-of-experts design, with only 18 billion active for any given token, which keeps inference cost far below what the total parameter count would suggest.
Is GLM-5.3-Flash multimodal?
Yes. It is described as the first natively multimodal model in the GLM-5 series, trained on a 30-trillion-token multimodal corpus, and its Hugging Face listing tags it as image-text-to-text.
Can I run GLM-5.3-Flash locally?
Yes, it’s supported by SGLang, vLLM, Transformers, KTransformers, TokenSpeed, and Unsloth, each with published deployment recipes. Given the 320B total parameter count, full deployment still requires substantial memory even in fp8 format.
Does GLM-5.3-Flash beat Claude Opus 4.8?
Not consistently. Z.ai describes it as approaching Opus 4.8 on coding and agentic benchmarks. Related benchmark tables show GLM-5.3 ahead on some tasks like Terminal-Bench 2.1 and ExploitBench, and behind on others like NL2Repo and SWE-Marathon.
What is the difference between GLM-5.3 and GLM-5.3-Flash?
GLM-5.3 reuses GLM-5.2’s base model and improves purely through post-training. GLM-5.3-Flash is trained from a new base model with a redesigned hybrid attention architecture and mHC, and it is natively multimodal, whereas GLM-5.3 is not described as multimodal in its model card.




