GLM 5.2
Zhipu AIReleased Jun 13, 2026
- providers
- 1
- context
- 1.0M
- max out
- 131K
- input /M
- $1.40
- output /M
- $4.40
- cached input /M
- $0.26
About
Drafted from the provider's own page.
GLM-5.2 is a flagship model built for the era of long-horizon tasks. With truly usable 1M-token context, it has been tested to handle project-scale engineering context, delivering more stable long-task execution, more reliable adherence to engineering standards, and higher success rates in development scenarios.
- open weights
- yes
- best for
- extractioncodingcompute
Capabilities
What the model accepts and returns, where a probe through our own gateway proved it.
- streaming
- tools
- json mode
- vision
- audio
Providers
What you pay through us for each provider, and its own list price where that differs.
Z.ai
z-ai/glm-5.2- input /M
- $1.40
- output /M
- $4.40
- cache read /M
- $0.26
Cache read $0.26/M
list price$0.38$3.49
The provider's own published list price, not what a request is charged.
cache read list price /M$0.26
Speed
- fastest over 24 hours
- 141.8 t/s
Fastest: Z.ai
- Z.ai2,165 ms to first token141.8 t/smedian of 23
Served
- served in the last 24 hours
- 100.00%
Across 1 provider, 28 of 28 requests
- Z.ai100.00% · 28 of 28
Rebuilt once a day from the requests we sent, so it is a daily figure and not a live one.
Not yet. These figures come from Artificial Analysis, which the publish pipeline reads once a day.
Integrations
What the model holds, rather than a compatibility grade: nothing here measures how well a particular tool gets on with it, so nothing here scores one.
- answers on
- chat completions
- accepts
- text
- returns
- text
Use this model
Works with the OpenAI SDK. Point it at our base URL and use this id.
curl https://api.hopscotchlabs.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "z-ai/glm-5.2",
"messages": [{"role": "user", "content": "Hello"}],
"max_tokens": 256
}'