Z.ai logo

GLM-5.2

Z.aiOpen WeightsPending Human Review

GLM-5.2 expands the GLM engineering line to a million-token context and improves reliability on sustained coding tasks. IndexShare reuses sparse-attention indexing across groups of layers to lower long-context computation, while multi-token prediction improvements accelerate decoding. Training emphasizes maintaining goals and using noisy repository and tool context over extended sessions. Public MIT weights and official API access support deployment. The million-token limit is an input-context capability, not a guarantee of reliable retrieval or correct execution at every length. GLM-5.2 Fast is a faster-serving route with the same weights, grouped here rather than cataloged as a separate trained model.

2026-06-16
744B total, 40B activated
Mixture of Experts (MoE) with sparse attention and IndexShare
MIT

Specifications

Parameters
744B total, 40B activated
Architecture
Mixture of Experts (MoE) with sparse attention and IndexShare
License
MIT
Context Window
1,048,576 tokens
Type
text
Modalities
text

Benchmark Scores

Advanced Specifications

Model Family
GLM
API Access
Available
Chat Interface
Not Available
Variants
GLM-5.2-Fast (same weights; high-throughput serving)

Capabilities & Limitations

Capabilities
reasoningcode generationtool uselong-context understanding
Known Limitations
Self-hosting the full MoE checkpoint requires substantial weight memory.Long-horizon agent results depend on the harness, tools, and reasoning budget.
Notable Use Cases
software engineering agentscoding assistantsresearch workflows
Function Calling Support
Yes
Tool Use Support
Yes

Related Models