ApX logoApX logo
CalculatorCoursesPricing

GLM-4.6

Open Source
Open Weights

Parameters

357B

Context Length

200K

Modality

Text

Architecture

Mixture of Experts

KV Cache Rate

368 KB/tok

License

MIT License

Release Date

30 Sept 2025

Knowledge Cutoff

-

API Pricing (per 1M)

Input: $0.50 · Output: $2.00

Hardware & System Requirements

Precision

Context

Workload Memory: 670.34 GB

vLLM

FP16 · 8K context · 1 user

Base Weights: 664.96 GB

KV Cache: 2.88 GB

Runtime & Graphs: 2.50 GB

Minimum Required Hardware

8x NVIDIA H200 141GB

vLLM

670.3 / 1015.2 GB · TP 8

Determine requirements for concurrent users or multi-node clusters:

Runtime compatibility

Verified on hardware and checkpoint files.

Checkpoint format

BF16

PyTorch

2.6.0

Transformers

5.22.2

ArchitecturePrecisionKernel

Apple Silicon

Native FP16

Metal Performance Shaders

Architecture Diagram

Input TokensToken EmbeddingPosition: AbsoluteHidden: 5.1k · Context: 200K · Vocab: 151.6kx 92 layersRMSNormPre-AttentionMulti-Head Attention96Q / 8KV headsHead dim: 128+RMSNormPre-FFNSparse MoE FFNSwish8/160 experts + 1 shared · Intermediate: 1.5k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#125

BenchmarkScoreRank

Software Engineering

SWE-bench Verified

0.68

#17

Graduate-Level QA

GPQA

0.81

#62

0.46

#95

General Text

Text Arena

1424.39

#103

Web Development

WebDev Arena

1341.95

#111

Intelligence Index

Artificial Analysis
auto

0.18

Standard

0.15

#198

#225

Rankings

Overall Rank

#125

Coding Rank

#101

About GLM-4.6

GLM-4.6 is a 357B Mixture-of-Experts model developed by Z.ai activating 32B parameters for advanced coding, UI generation, and agentic search. It delivers enhanced token efficiency and bilingual reasoning across a 200K token context window.

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

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Base Precision

BF16

Hidden Dimension Size

5,120

Number of Layers

92

FFN Intermediate Size (Dense)

1,536

Multi-Token Prediction Heads

1

Tokenizer

Vocabulary Size

151,552

Mixture of Experts

Active 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

About GLM-4

GLM-4 is a series of bilingual (English and Chinese) language models developed by Zhipu AI. The models feature extended context windows, superior coding performance, advanced reasoning capabilities, and strong agent functionalities. GLM-4.6 offers improvements in tool use and search-based agents.


Other GLM-4 Models