Back to Models
GLM-5.2
FeaturedActiveglm-5.2Zhipu flagship
Technical Specifications
Context Length200K tokens
Max Output131K tokens
Available Providers1
Lowest Input Price$1.40/1M tokens
Lowest Output Price$4.40/1M tokens
Capabilities
chatcodefunction_calling
Provider Availability & Pricing
| Provider | Provider Model ID | Input Price (per 1M tokens) | Output Price (per 1M tokens) | Status |
|---|---|---|---|---|
Z.ai (Zhipu) | glm-5.2 | $1.40 | $4.40 | active |
Code Examples
curl https://api.tokligence.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "glm-5.2",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"max_tokens": 1024
}'Ready to use GLM-5.2?
Try it out in our interactive playground or integrate it into your application with just a few lines of code.