All Models

GLM 5.2

glm Reasoning Tool Calling Open Weights Structured Output

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Providers 40
Released Jun 13, 2026
Input Modalities text, image
Output Modalities text
Tarsk Use coding

Available Providers (40)

Provider Model ID Input Cost Output Cost Context Max Output Docs
Alibaba Token Plan (China) glm-5.2 $0/MTok $0/MTok 1M 131.1K
Z.AI Coding Plan glm-5.2 $0/MTok $0/MTok 1M 131.1K
Umans AI Coding Plan umans-glm-5.2 $0/MTok $0/MTok 405.5K 131.1K
Alibaba Token Plan glm-5.2 $0/MTok $0/MTok 1M 131.1K
Zhipu AI Coding Plan glm-5.2 $0/MTok $0/MTok 1M 131.1K
CrofAI glm-5.2 $0.50/MTok $2.20/MTok 1M 131.1K
Lilac zai-org/glm-5.2 $0.90/MTok $3/MTok 524.3K 524.3K
OpenRouter z-ai/glm-5.2 $0.94/MTok $3/MTok 1.0M 32.8K
Deep Infra zai-org/GLM-5.2 $0.95/MTok $3/MTok 1.0M 32.8K
GMI Cloud zai-org/GLM-5.2-FP8 $0.98/MTok $3.08/MTok 1M 131.1K
AIHubMix glm-5.2 $1.13/MTok $3.94/MTok 1M 128K
Inceptron zai-org/GLM-5.2 $1.20/MTok $4.20/MTok 1M 131.1K
Wafer GLM-5.2 $1.20/MTok $4.10/MTok 1.0M 131.1K
LLM Gateway glm-5.2 $1.26/MTok $3.96/MTok 1M 131.1K
Hugging Face zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 262.1K 131.1K
NovitaAI zai-org/glm-5.2 $1.40/MTok $4.40/MTok 1.0M 131.1K
Fireworks AI accounts/fireworks/models/glm-5p2 $1.40/MTok $4.40/MTok 1.0M 131.1K
Zhipu AI glm-5.2 $1.40/MTok $4.40/MTok 1M 131.1K
Nebius Token Factory zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 432K 432K
Cloudflare Workers AI @cf/zai-org/glm-5.2 $1.40/MTok $4.40/MTok 262.1K 262.1K
OpenCode Go glm-5.2 $1.40/MTok $4.40/MTok 1M 131.1K
Venice AI zai-org-glm-5-2 $1.40/MTok $4.40/MTok 1M 131.1K
ZenMux z-ai/glm-5.2 $1.40/MTok $4.50/MTok 1M 131.1K
SiliconFlow (China) zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 1.0M 262K
Merge Gateway zai/glm-5.2 $1.40/MTok $4.40/MTok 1M 131.1K
Z.AI glm-5.2 $1.40/MTok $4.40/MTok 1M 131.1K
OpenCode Zen glm-5.2 $1.40/MTok $4.40/MTok 1M 131.1K
SiliconFlow zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 1.0M 262K
Friendli zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 1M 131.1K
Umans AI umans-glm-5.2 $1.40/MTok $4.40/MTok 405.5K 131.1K
Together AI zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 262.1K 164K
Baseten zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 202.7K 202.7K
Synthetic hf:zai-org/GLM-5.2 $1.40/MTok $4.40/MTok 524.3K 65.5K
Cortecs glm-5.2 $1.44/MTok $4.53/MTok 1M 131.1K
Neuralwatt glm-5.2 $1.45/MTok $4.50/MTok 1.0M 1.0M
Vercel AI Gateway zai/glm-5.2 $1.50/MTok $4.50/MTok 1M 128K
Tinfoil glm-5-2 $1.50/MTok $5.25/MTok 384K 131.1K
Berget.AI zai-org/GLM-5.2 $1.54/MTok $4.84/MTok 524.3K 32.8K
Scaleway glm-5.2 $1.80/MTok $5.50/MTok 256K 16.4K
Ollama Cloud glm-5.2 /MTok /MTok 976K 131.1K

Capabilities

Reasoning
Tool Calling
Attachments
Open Weights
Structured Output