Active Parameters
358B
Context Length
200K
Modality
Text
Architecture
Mixture of Experts
KV Cache Rate
368 KB/tok
License
MIT
Release Date
8 Jan 2026
Knowledge Cutoff
Sep 2024
API Pricing (per 1M)
Input: $0.60 · Output: $2.20
Precision
Context
Workload Memory: 731.81 GB
FP16 · 8K context
Base Weights: 726.43 GB
KV Cache: 2.88 GB
Runtime & Graphs: 2.50 GB
8x NVIDIA H200 141GB
731.8 / 1015.2 GB usable · TP 8
Determine requirements for your specific workload:
Upgrade to Pro
Checkpoint format
FP16
CUDA
>= 11.8
PyTorch
>= 2.1
Transformers
>= 4.54.0
| Architecture | Precision | Attention kernel |
|---|---|---|
Blackwell, Hopper | Native FP16 | FlashAttention-3 |
Ada Lovelace, Ampere | Native FP16 | FlashAttention-2 |
Rank
#88
| Benchmark | Score | Rank |
|---|---|---|
Professional Knowledge | 0.843 | 18 |
Graduate-Level QA | 0.857 | 42 |
Web Development | 1435 | 76 |
General Text | 1441 | 81 |
Coding Index | 0.45 | 96 |
Intelligence Index | auto 0.22 Standard 0.17 | 151 197 |
Overall Rank
#88
Coding Rank
#100
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.
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
FP16
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
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.