GLM-5.3-Flash: Frontier Intelligence, Flash Cost
We introduce GLM-5.3-Flash, the first natively multimodal model in the GLM-5 series. With 320B total parameters and just 18B active parameters, it outperforms GLM-5.2 across benchmarks and real-world workloads at one-tenth the price, while approaching Claude Opus 4.8 on coding and agentic benchmarks.
GLM-5.3-Flash incorporates several architectural improvements over GLM-5. For the first time, we introduce a hybrid architecture combining sparse and linear attention, sharply reducing long-context serving costs while preserving precise long-context capabilities. It also adopts Manifold-Constrained Hyper-Connections (mHC) to further improve scaling efficiency. Combined with our latest 30T-token multimodal pre-training corpus, these changes let GLM-5.3-Flash produce more intelligence with less compute.
Before release, we tested GLM-5.3-Flash anonymously as ox-alpha
on OpenCode and OpenRouter to gather user feedback. It quickly became the most popular model of the week — with all of this traffic served on Chinese AI chips.
GLM-5.3-Flash pushes the Pareto frontier of the Artificial Analysis Intelligence Index v4.1.1, scoring 57 at just $0.045 per task (discounted) — a level of intelligence previously only available at roughly 10× the cost. This makes it a highly competitive default choice for a broad range of workloads.
Across six coding and agentic benchmarks, GLM-5.3-Flash consistently outperforms GLM-5.2, often by a wide margin — 63.4 vs. 46.2 on DeepSWE v1.1 and 48.8 vs. 26.2 on AutomationBench — while approaching Claude Opus 4.8 overall.
This holds on our in-house coding evaluation as well: on Z.ai Code Bench v1.0 (run on Claude Code 2.1.207), GLM-5.3-Flash clearly outperforms GLM-5.2 at every effort level, and at max effort nearly matches Claude Opus 4.8 (29.0 vs. 29.5).
Compared with the GLM-4.5 series, GLM-5.3-Flash is specifically designed for ultra-low-cost inference. Despite a similar total parameter count (320B vs. 355B), it nearly halves both the activated parameter count (18B vs. 32B) and the number of layers (45 vs. 92).
To minimize attention costs in long-context scenarios, we use a hybrid architecture combining linear and sparse attention. Linear attention captures local dependencies through state modeling, while sparse attention retrieves relevant global context through a lightweight indexer. To further reduce the latency and memory overhead of the indexer at a 1M-token context length, we introduce IndexPool, which compresses four indexer key vectors into one through weighted pooling.
To illustrate the efficiency of our architecture, we compare the per-token compute and KV cache size of GLM-5.3-Flash against GLM-5.3 and two recent open models DeepSeek-V4-Flash and Kimi-K3. For a fair comparison among different scales, we calculate the attention compute per head per layer and average KV cache size per layer (BF16). Compared with GLM-5.3, GLM-5.3-Flash reduces the attention compute and KV cache size by factors of 3.0x and 4.4x. GLM-5.3-Flash has the lowest attention compute among all models compared. The KV cache size is still slightly larger than Kimi-K3 and DeepSeek-V4-Flash, leaving further room for improvement.
The overall architecture improvements, combined with optimized pre-training corpus, enable GLM-5.3-Flash to produce more intelligence with less compute. In the table below we show the evaluation results of the base model of GLM-5.3-Flash, comparing with our previous base models and DeepSeek-V4-Flash-Base. The results show that GLM-5.3-Flash-Base outperforms GLM-4.5-Base overall and remains competitive with GLM-5-Base across most benchmarks.
| Benchmark | GLM-4.5-Base | GLM-5-Base | DeepSeek-V4-Flash-Base | GLM-5.3-Flash-Base |
|---|---|---|---|---|
| Activated Params | 32B | 40B | 13B | 18B |
| Total Params | 355B | 744B | 284B | 320B |
| MMLU | 86.1 | 88.3 | 88.5 | 88.1 |
| BBH | 86.2 | 87.4 | 84.9 | 86.6 |
| HellaSwag | 87.1 | 88.1 | 85.3 | 87.1 |
| LiveCodeBench-Base | 28.1 | 34.4 | 29.9 | 37.6 |
| SimpleQA | 30.0 | 36.0 | 31.2 | 33.5 |
(Results for DeepSeek-V4-Flash-Base were evaluated using our internal evaluation framework to control for implementation differences)
Visual coding is not just about processing images. It expands the boundary of what coding can reach. For tasks such as frontend development, game development, and 3D simulation, the final output is not code alone, but an interface, an interaction, or a world experienced by the user. Many failures only surface through rendering, interaction, or playtesting. CUA further extends coding beyond programmable systems into visible and interactive environments. Vision therefore needs to be natively integrated into the model, enabling it to decide when to observe and use visual feedback to guide subsequent actions.
We develop data synthesis pipelines for visual coding, with a focus on self-visual judgment and test-time improvement. The resulting trajectories require the model to interact with environments, inspect its own outputs, and refine them iteratively. For frontend coding, we also explored reinforcement learning with environment feedback and further strengthened GUI judgment through agent-based verification grounded in real user flows. This extends validation beyond functional correctness to the rendered and interactive product.
Code lets the model build and change the world. Vision lets it enter the world people see and use.Coding capabilities provide an important foundation for intelligent knowledge work, while visual intelligence extends these capabilities to a broader range of professional tasks. A substantial portion of professional activities involves interpreting heterogeneous visual and structured information, including documents, spreadsheets, presentations, dashboards, interfaces, and meeting artifacts.
Visual intelligence extends the model’s capabilities beyond code-centric environments by enabling it to jointly reason over textual, visual, and structural context. Rather than requiring users to explicitly translate their working environment into textual instructions, the model can directly interpret the artifacts associated with a task and identify relevant information. It can also assess its own outputs against the visual context and intended outcome, enabling more effective self-verification and refinement — including stronger judgments of presentation quality and aesthetics.
These capabilities become particularly evident in the following examples of professional workflows.
Over the past week, we have served GLM-5.3-Flash on a large-scale cluster of Chinese AI chips, supported by a high-bandwidth interconnect and a serving stack optimized for the underlying hardware.
To overcome the relatively limited compute and memory capacity of individual chips, we built a dedicated inference engine for this architecture on top of SGLang. Notably, this effort was accelerated by our GLM-5.3-powered infrastructure agent, which assisted engineers in developing and optimizing kernels, diagnosing performance bottlenecks, and improving the serving stack — creating a feedback loop in which the model helped optimize the system serving the model itself.
These chips are primarily constrained by memory capacity and bandwidth, especially when supporting context lengths of up to one million tokens. This calls for aggressive memory optimization, including compute-for-bandwidth and communication-for-bandwidth techniques tailored to the underlying architecture. Our stack combines intra-node tensor parallelism for Linear Attention and the LM head, ReplaySSM, W8A8 quantization, hybrid INT8/FP8/BF16 cache quantization, and Layer Split.
At cluster scale, our production-grade Encode–Prefill–Decode (EPD) disaggregated architecture separates multimodal encoding, prompt prefill, and token-by-token decoding into independently scheduled and scalable worker pools, enabling efficient and reliable serving across tens of thousands of domestically developed accelerators.
Compared with our initial baseline on the same hardware, we achieved a 3× improvement in end-to-end serving performance, reaching hardware efficiency and per-token cost comparable to mainstream NVIDIA GPUs. This demonstrates that Chinese chips can support frontier-model inference efficiently and economically at scale.
GLM-5.3-Flash shows that frontier intelligence does not have to come at frontier cost. This is not the result of any single trick, but of three layers working together: an architecture that delivers stronger capability from less compute, a richer multimodal pre-training corpus, and infrastructure co-designed with inference hardware. We are now scaling this recipe to larger models — GLM-5.3-Flash pushes the cost-performance frontier, and the lessons from building it are already shaping our next frontier model.
We've rolled out GLM-5.3-Flash to all GLM Coding Plan users. GLM-5.3-Flash gives you 3x the usable quota of GLM-5.3. Try GLM-5.3-Flash in z.ai/subscribe.
Unlock GLM-5.3-Flash's multimodal capabilities in ZCode with Browser Use and Computer Use: the agent clicks through and visually verifies web pages, and operates your desktop apps.
The model weights of GLM-5.3-Flash are publicly available on HuggingFace. For local deployment, GLM-5.3-Flash currently supports inference frameworks including SGLang, vLLM and TokenSpeed. Others will be ready soon.
| Benchmark | GLM-5.3-Flash | GLM-5.2 | DeepSeek-V4-Vision-Exp | Opus 4.8 | GPT-5.6 Terra | Gemini 3.7 Flash |
|---|---|---|---|---|---|---|
| Coding | ||||||
| Terminal Bench 2.1 | 84.3 | 81.0 | 83.9 | 85.0 | 87.4 | 85.8 |
DeepSWE v1.1 | 63.4 | 46.2 | 59.3 | 58.0 | 69.6 | 65.3 |
| NL2Repo | 56.3 | 48.9 | 57.7 | 69.7 | - | - |
| Agentic | ||||||
| Toolathlon Verified | 78.4 | 59.9 | 75.9 | 76.2 | 74.9 | - |
AutomationBench v1.0.6 | 48.8 | 26.2 | 38.8 | 41.0 | 37.2 | 52.3 |
| Agents' Last Exam | 26.3 | 20.4 | 27.3 | 27.0 | 28.0 | - |
| HLE w/ Tools | 55.3 | 54.7 | 55.1 | 57.9 | - | - |
| GDPval-AA v2 | 1773 | 1504 | 1675 | 1582 | 1571 | 1527 |
| Vision | ||||||
| OfficeQA Pro | 62.4 | - | 57.9 | 48.9 | - | - |
CharXiv Reasoning w/ Tools | 89.4 | - | 80.4 | 89.9 | 88.0 | 88.7 |
Chartography w/ Tools | 78.0 | - | 64.3 | 75.0 | 68.0 | 65.0 |
| BabyVision | 53.4 | - | 35.1 | 46.8 | 61.6 | 70.9 |
| MVbench | 77.8 | - | 69.4 | 67.1 | 75.0 | 82.2 |
| MMVU | 80.5 | - | 72.7 | 67.4 | 75.8 | 82.3 |
temperature=1.0
and top_p=0.95
for evaluation, with a maximum generation length of 163,840
tokens. The evaluation is conducted with a maximum context length of 300,000
tokens, using a context management strategy. We use GPT-5.6-luna (medium) as the judge model.temperature=0.95
, top_p=1.0
, timeout=6h
and 400K context.null
-type handling issue introduced in PR #13.
Facts Only
* GLM-5.3-Flash has 320B total parameters and 18B active parameters.
* It outperforms GLM-5.2 across benchmarks and workloads at one-tenth the price.
* It approaches Claude Opus 4.8 on coding and agentic benchmarks.
* The model uses a hybrid architecture combining sparse and linear attention to reduce long-context serving costs.
* It incorporates Manifold-Constrained Hyper-Connections (mHC) for scaling efficiency.
* Multimodal pre-training utilized a 30T-token corpus.
* GLM-5.3-Flash scored 57 on the Artificial Analysis Intelligence Index v4.1.1 at $0.045 per task (discounted).
* In coding benchmarks, GLM-5.3-Flash achieved 63.4 vs. 46.2 on DeepSWE v1.1 and 48.8 vs. 26.2 on AutomationBench.
* When compared to GLM-5.3, GLM-5.3-Flash reduced attention compute and KV cache size by factors of 3.0x and 4.4x.
* The base model evaluation showed GLM-5.3-Flash-Base outperformed GLM-4.5-Base overall.
Executive Summary
GLM-5.3-Flash is introduced as the first natively multimodal model in the GLM-5 series, featuring 320B total parameters and 18B active parameters. It demonstrates superior performance across benchmarks and real-world workloads compared to GLM-5.2, achieving results approaching Claude Opus 4.8 on coding and agentic tasks at a fraction of the cost. The model incorporates architectural improvements, including a hybrid sparse and linear attention mechanism and Manifold-Constrained Hyper-Connections (mHC), alongside multimodal pre-training on a 30T-token corpus to improve intelligence per compute.
The efficiency gains are demonstrated by reducing costs; GLM-5.3-Flash scores 57 on the Artificial Analysis Intelligence Index v4.1.1 at a heavily discounted rate of $0.045 per task, making it competitive with models costing ten times more. In coding and agentic benchmarks, GLM-5.3-Flash consistently outperforms GLM-5.2 and approaches top-tier models like Claude Opus 4.8 in evaluations on tasks such as DeepSWE and AutomationBench.
Architecturally, the model utilizes hybrid attention to manage long-context costs, employing IndexPool for efficient context retrieval. Furthermore, testing on Chinese AI chips revealed significant inference optimizations, achieving a 3x improvement in end-to-end serving performance compared to the baseline on similar hardware. The model's weights are publicly available, and it supports various inference frameworks like SGLang and vLLM for local deployment.
Full Take
The narrative constructs a strong case for the convergence of architectural efficiency, specialized multimodal training, and hardware-aware infrastructure to redefine cost-performance boundaries in frontier AI models. The core pattern involves reframing intelligence acquisition not as a linear increase in compute but as an optimization problem solvable through systemic design changes—specifically targeting attention overhead with hybrid mechanisms and optimizing inference pipelines for specific hardware. This directly challenges the assumption that larger models necessitate proportionally larger computational footprints.
The implications point toward a future where frontier intelligence is democratized by shifting the focus from raw parameter count to usable, efficient reasoning capabilities across multimodal domains. The integration of visual intelligence and coding into a unified framework suggests that separating modalities yields diminished returns; true advance comes from allowing the model to natively integrate visual context for self-verification, which reduces external human intervention in multi-step tasks.
The mechanism of scaling demonstrated—where infrastructure co-design facilitates performance gains on domestic hardware—signals a potential decoupling of frontier AI development from reliance solely on hyper-scale GPU clusters. The observation that this optimization recipe can be scaled to larger models suggests a methodology for continuous cost reduction is being established, which shifts the locus of competitive advantage from sheer scale to methodological innovation in system design and data synthesis.
Bridge Questions: If architectural efficiency remains the primary driver, what are the long-term implications for model safety when multimodal reasoning is tightly coupled? How can the infrastructure co-design philosophy be generalized beyond current hardware constraints, and what societal costs arise from concentrating this cost-saving methodology within specific national infrastructure ecosystems?
Sentinel — Human
The text reads as a highly technical announcement or research summary detailing the development and performance metrics of a new multimodal AI model, exhibiting the tone of internal technical disclosure rather than general narrative.
