Z.ai: GLM 5.2
Z.ai
z-ai/glm-5.2About this model
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,...
Make a request
OpenAI-compatible: set the base URL and your Promptix API key, keep your existing SDK.
curl https://promptix.tn/api/v1/chat/completions \ -H "Authorization: Bearer $PROMPTIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "z-ai/glm-5.2", "messages": [ {"role": "user", "content": "Hello! What can you do?"} ] }'Pricing
In TND per 1M tokens. VAT and the platform fee are added at top-up.
Input tokens
2.515 TNDper 1M tokens
Output tokens
7.903 TNDper 1M tokens
1,000 requests with 1K input and 500 output tokens cost about 6.466 TND.
Specifications
- Provider
- Z.ai
- Context window
- 1,048,576 tokens
- Input modality
- Text
- Added
- Jun 16, 2026
- Supported parameters
frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_pparallel_tool_callspresence_penalty