GLM-5.2 Models by Zhipu AI

Zhipu AIMITOpen source
Zhipu AI releases · 15 in the last 12 months · this family litChangelog →
1 model2026Up to 1M ctxFrom $0.600/1M input

Last refreshed 2026-11-27. Next refresh: weekly.

Details

ResearcherZhipu AI
LicenseMITOSI-approved
Commercial usePermitted
Models1
Released2026
Max context1M

Capabilities

ReasoningAll models
JSON / Tool useAll models
Structured OutputsAll models
Code ExecutionAll models

About

GLM-5.2 is Z.ai's flagship model for long-horizon tasks. It adds multiple thinking-effort levels for coding and an IndexShare architecture that reuses one indexer across every four sparse-attention layers. The weights are released under the MIT license.

Decision facts

Best fit
codingreasoningJSON / Tool use
Capability starting point
GLM-5.2 with 1M context and reasoning, JSON / Tool use, and structured outputs
Lowest tracked input
GLM-5.2 · $0.600/1M · FlexAI
Closest related family
AutoGLM

Archived Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

1 in view1 retired
GLM-5.2Replaced

Keep for legacy integrations; evaluate GLM-5.3 before new work.

2026-06coding1M contextreasoning

Release Timeline

1 release group
2026-06
1 retired
GLM-5.2
coding1M contextreasoning
Replaced

Replaced By

Keep for legacy integrations; evaluate GLM-5.3 before new work.

Specifications(1 models)

GLM-5.2 model specifications comparison
ModelReleasedContextParametersReasoningJSON / Tool useStructured OutputsCode Exec
GLM-5.22026-061M753B total, 40B activeYesYesYesYes

Available From(3 providers)

Pricing

GLM-5.2 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
GLM-5.2FlexAI$0.6$2Serverless
GLM-5.2OpenRouter$1.4$4.4Serverless
GLM-5.2Z.ai$1.4$4.4Serverless

Popular comparisons in this family