ApX logoApX logo

GLM-4.7

Active Parameters

358B

Context Length

200K

Modality

Text

Architecture

Mixture of Experts (MoE)

License

MIT

Release Date

8 Jan 2026

Knowledge Cutoff

Sep 2024

API Pricing (per 1M)

Input: $0.60 · Output: $2.20

System Requirements

VRAM requirements for different quantization methods and context sizes

1,024 tokens

702.05 GB VRAM

Consumer

39x RTX 4090

24GB VRAM

Datacenter

11x NVIDIA A100

80GB VRAM

Apple Silicon

8x Apple M3 Max

128GB VRAM

200,000 tokens

775.37 GB VRAM

Consumer

43x 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: 200K · Vocab: 151.6kx 92 layersRMSNormPre-AttentionMulti-Head Attention96Q / 8KV headsHead dim: 128+RMSNormPre-FFNSparse MoE FFN (8/160 experts)SwishIntermediate: 1.5k+Final RMSNormOutput Logits

Evaluation Benchmarks

Rank

#67

BenchmarkScoreRank

Professional Knowledge

MMLU Pro

0.843

17

Graduate-Level QA

GPQA

0.857

42

Web Development

WebDev Arena

1434

66

Agentic Index

Artificial Analysis

0.26

71

General Text

Text Arena

1441

73

auto

0.45

101

Intelligence Index

Artificial Analysis
auto

0.22

Standard

0.17

152

194

Rankings

Overall Rank

#67

Coding Rank

#84

About GLM-4.7

GLM-4.7 is an open-weights Mixture-of-Experts model by Z.ai engineered for agentic programming, terminal automation, and frontend vibe coding. It incorporates a triple-tier thinking framework to preserve reasoning coherence across long interactions.

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

-

Sliding Window Ratio

-

Linear Attention

-

Linear Attention Ratio

-

Normalization

RMS Normalization

Activation Function

Swish

Dimensions

Auxiliary Parameters

-

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

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

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