Context
1M
Input
text
Output
text
Tool calling
Supported
About this model
GLM-5.2 is Z.ai's latest flagship open-weights MoE model engineered specifically to dominate long-horizon autonomous coding and engineering tasks. It features a solid 1-million-token context window, multiple thinking effort levels, and an improved IndexShare architecture that significantly boosts reasoning and agentic performance.
Input modalities
text
Accepted as model input
Providers
Available routing options for this model through OneInfer.
Pricing
Current OneInfer pricing for this model.
| Usage | Price |
|---|---|
| Input tokens | $1.400 / 1M tokens |
| Output tokens | $4.400 / 1M tokens |
| Cached input tokens | $0.260 / 1M tokens |
Performance
Published evaluation results associated with this model.
Coding
Terminal-Bench 2.181
SWE-bench Pro62.1
Design Arena1360
Long-Horizon
FrontierSWE74.4
PostTrainBench34.3
SWE-Marathon13
API example
curl https://api.oneinfer.ai/v1/ula/chat/completions \
-H "Authorization: Bearer $JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "zai-org/Glm-5.2",
"messages": [
{ "role": "user", "content": "Hello!" }
]
}'