ApX logoApX logo

GLM-4.5

Active Parameters

355B

Context Length

128K

Modality

Multimodal

Architecture

Mixture of Experts (MoE)

License

MIT License

Release Date

28 Jul 2025

Knowledge Cutoff

Jan 2025

System Requirements

VRAM requirements for different quantization methods and context sizes

1,024 tokens

747.42 GB VRAM

Consumer

41x RTX 4090

24GB VRAM

Datacenter

11x NVIDIA A100

80GB VRAM

Apple Silicon

9x Apple M3 Max

128GB VRAM

128,000 tokens

799.85 GB VRAM

Consumer

45x RTX 4090

24GB VRAM

Datacenter

12x NVIDIA A100

80GB VRAM

Apple Silicon

9x Apple M3 Max

128GB VRAM

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 5.1k · Context: 128K · Vocab: 151.6kx 96 layersRMSNormPre-AttentionMulti-Head Attention96Q / 8KV headsHead dim: 128+RMSNormPre-FFNSparse MoE FFN (8/160 experts)SwiGLUIntermediate: 1.5k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#66

BenchmarkScoreRank

Web Development

WebDev Arena

1410

30

Graduate-Level QA

GPQA

0.791

30

Professional Knowledge

MMLU Pro

0.81

32

General Text

Text Arena

1411

48

Rankings

Overall Rank

#66

Coding Rank

#50

About GLM-4.5

GLM-4.5 is a flagship multimodal large language model developed by Z.ai that integrates complex reasoning, software engineering, and agentic capabilities within a unified architecture. It employs a sophisticated Mixture-of-Experts (MoE) design with 355 billion total parameters, specifically engineered to optimize parameter efficiency by activating only 32 billion parameters during a forward pass. A defining feature of the model is its dual-mode execution framework, which allows it to alternate between a high-latency 'Thinking Mode' for multi-step planning and an instantaneous 'Non-Thinking Mode' for standard interactive tasks.

Technical innovations in GLM-4.5 focus on architectural depth over width to enhance logical deduction and mathematical processing. The model utilizes Grouped-Query Attention (GQA) with 96 attention heads and a hidden dimension size of 5120. Its MoE implementation features sigmoid-gated routing and QK-Norm to ensure stable expert utilization and load balancing. The training pipeline involved a massive 23-trillion-token corpus, including 7 trillion tokens dedicated to code and reasoning datasets, followed by reinforcement learning using the custom-built 'slime' infrastructure to refine autonomous decision-making.

Designed for production-grade agent applications, GLM-4.5 supports native function calling and complex web browsing with a high success rate. It features an expansive 128,000-token context window and a substantial maximum output limit of 96,000 tokens, making it suitable for long-form document analysis and full-stack software development. The model is released with open weights under the MIT License, facilitating broad adoption in both research and commercial environments.

Technical Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

96

Key-Value Heads

8

Attention Head Dimension

128

Position Embedding

Absolute Position Embedding

RoPE Theta

1,000,000

Sliding Window Attention

No

Sliding Window Size

-

Normalization

RMS Normalization

Activation Function

SwigLU

Dimensions

Hidden Dimension Size

5,120

Number of Layers

96

FFN Intermediate Size (Dense)

1,536

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

151,552

Mixture of Experts

Total Expert Parameters

32.0B

Number of Experts

160

Active Experts

8

Shared Experts

1

FFN Intermediate Size (per Expert)

1,536

Dense Layers Before MoE

3

Model Integrity

Total Score

B

69 / 100

GLM-4.5 Model Integrity Report

Total Score

69

/ 100

B

Audit Note

GLM-4.5 exhibits strong transparency in its architectural specifications and licensing, providing clear distinctions between active and total parameters for its MoE design. The model's accessibility is bolstered by its permissive MIT license and detailed hardware requirements for local deployment. However, significant opacity remains regarding the specific sources of its 23-trillion-token training data and the total compute resources expended during its development.

Upstream

20.0 / 30

Architectural Provenance

8.0 / 10

The model's architecture is extensively documented in the official technical report (arXiv:2508.06471) and blog. It is a sparse Mixture-of-Experts (MoE) transformer with 355B total and 32B active parameters. Specific technical details are provided, including the use of Grouped-Query Attention (GQA) with 96 heads, sigmoid-gated routing, QK-Norm for stability, and Multi-Token Prediction (MTP) layers for speculative decoding. The 'Thinking Mode' implementation is described as a hybrid reasoning framework. While the base model is clearly defined, the exact initialization state (whether from a previous GLM version or scratch) is less explicitly detailed than the structural components.

Dataset Composition

5.0 / 10

Z.ai discloses a total training corpus of 23 trillion tokens, with a breakdown of 15T general-domain tokens and 7T tokens dedicated to code and reasoning. Documentation mentions specific cleaning and filtering techniques like SemDeDup and quality-tiered up-sampling. However, the specific sources of the 'general-domain' data remain vague (e.g., 'webpages, books, papers'), and no detailed percentage breakdown by language or specific dataset names is provided, which is a significant gap for a model of this scale.

Tokenizer Integrity

7.0 / 10

The tokenizer is publicly accessible via the official Hugging Face repository and integrated into standard frameworks like transformers, vLLM, and SGLang. It supports a 128,000-token context window. While the vocabulary size and specific tokenization algorithm (likely a Tiktoken-based BPE variant consistent with previous GLM models) are verifiable through the code, the official technical report lacks a dedicated section detailing the tokenizer's training data alignment or specific compression efficiency metrics for non-English languages.

Model

26.0 / 40

Parameter Density

9.0 / 10

Transparency regarding parameter counts is exemplary. The provider clearly distinguishes between total parameters (355B) and active parameters (32B) for the MoE architecture. This distinction is maintained across all official documentation, model cards, and marketing materials, preventing the common industry practice of inflating capability claims based on total MoE size. Architectural ratios (e.g., active vs. total) are easily verifiable through the released model weights.

Training Compute

2.0 / 10

Information regarding training compute is almost entirely absent. While the 'slime' reinforcement learning infrastructure is mentioned, there is no disclosure of total GPU/TPU hours, specific hardware cluster configurations used for the 23T token pre-training, or the estimated carbon footprint. The only hardware information relates to downstream inference requirements rather than upstream training resources.

Benchmark Reproducibility

6.0 / 10

Z.ai provides results for 12 industry-standard benchmarks (MMLU Pro, AIME24, SWE-bench, etc.) and has released the 'CC-Bench' dataset and agent trajectories on Hugging Face to facilitate verification of its agentic claims. However, the full evaluation code for all reported benchmarks is not consolidated in a single reproducible repository, and some results rely on 'internal evaluation suites' or proprietary models (like GPT-4o) as judges, which limits independent verification.

Identity Consistency

9.0 / 10

The model demonstrates high identity consistency, correctly identifying itself as GLM-4.5 and maintaining awareness of its 'Thinking' vs. 'Non-Thinking' modes. It does not exhibit the identity confusion common in fine-tuned models that claim to be GPT-4. Versioning is clear, and the model's self-description aligns with the technical specifications provided by Z.ai.

Downstream

23.0 / 30

License Clarity

10.0 / 10

The model weights and code are released under the MIT License, which is explicitly stated in the GitHub repository, Hugging Face model card, and official blog. This is a highly transparent, permissive license that clearly allows for both commercial use and derivative works without the 'janky' custom restrictions seen in earlier GLM releases.

Hardware Footprint

8.0 / 10

Hardware requirements are thoroughly documented for various precisions (FP16, BF16, FP8). Detailed VRAM estimates are provided for both the flagship 355B model and the 'Air' variant, including specific GPU counts (e.g., 16x H100 for BF16) and system RAM requirements (1TB+). The impact of context length on memory is also addressed, though more granular data on quantization-accuracy tradeoffs would further improve this score.

Versioning Drift

5.0 / 10

Z.ai uses a clear naming convention (GLM-4.5, GLM-4.5-Air, GLM-4.5V), but a formal, public changelog tracking minor weight updates or 'silent' API optimizations is lacking. While the transition from GLM-4 to GLM-4.5 is well-documented, there is limited information on how the model's behavior is maintained or monitored for drift over time following the initial release.

About GLM Family

General Language Models from Z.ai


Other GLM Family Models