ApX logoApX logo
CalculatorCoursesPricing

GLM-5

Open Source
Open Weights

Active Parameters

744B

Context Length

205K

Modality

Multimodal

Architecture

Mixture of Experts

KV Cache Rate

1280 KB/tok

License

MIT

Release Date

12 Feb 2026

Knowledge Cutoff

Dec 2025

API Pricing (per 1M)

Input: $1.00 · Output: $3.20

Hardware & System Requirements

Precision

Context

Workload Memory: 1398.31 GB

FP16 · 8K context

Base Weights: 1385.81 GB

KV Cache: 10.00 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

16x NVIDIA H200 141GB

1398.3 / 2030.4 GB · TP 8 · PP 2

Determine requirements for your specific workload:

Runtime requirements

Checkpoint format

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.0.2.dev0

ArchitecturePrecisionAttention kernel

Blackwell, Hopper

Native FP16

FlashMLA

Ada Lovelace, Ampere

Native FP16

FlashAttention-2

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 6.1k · Context: 205K · Vocab: 154.9kx 80 layersRMSNormPre-AttentionMulti-Head Attention64Q / 64KV headsHead dim: 64+RMSNormPre-FFNSparse MoE FFN (8/256 experts)SwishIntermediate: 2k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#88

BenchmarkScoreRank

Software Engineering

SWE-bench Verified

0.73

#9

0.551

#20

General Text

Text Arena

1457.22

#65

Web Development

WebDev Arena

1434.79

#83

Intelligence Index

Artificial Analysis
auto

0.28

Standard

0.22

#116

#165

Rankings

Overall Rank

#88

Coding Rank

#88

About GLM-5

GLM-5 is Z.ai's 744B-parameter flagship Mixture-of-Experts multimodal foundation model activating 40B parameters for complex systems engineering. Featuring DeepSeek Sparse Attention and open weights, it supports up to 128K token generations over a 205K context window.

Specifications

Attention

Attention Structure

Multi-Head Attention

Attention Heads

64

Key-Value Heads

64

Attention Head Dimension

64

Position Embedding

Absolute Position Embedding

RoPE Theta

1,000,000

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Base Precision

FP16

Hidden Dimension Size

6,144

Number of Layers

80

FFN Intermediate Size (Dense)

2,048

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

154,880

Mixture of Experts

Total Expert Parameters

40.0B

Number of Experts

256

Active Experts

8

Shared Experts

1

FFN Intermediate Size (per Expert)

2,048

Dense Layers Before MoE

3

About GLM 5

GLM 5 is the fifth generation of General Language Models developed by Z.ai. It represents a significant leap in multimodal foundational capabilities, featuring advanced reasoning and long-horizon agentic capabilities across diverse systems engineering tasks.


Other GLM 5 Models
  • No related models available
GLM-5 Size, VRAM & Hardware Requirements