Languagetext

GLM 5.2

智谱AI GLM-5.2,支持1M上下文,面向长程Coding Agent和复杂工程任务

Input

Top p
01
Thinking
Temperature
02
Max completion tokens
1200000
Ready to generateReady to generate

API Reference

POSThttps://api.token360.ai/v1/chat/completions
curl https://api.token360.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!"
    }
  ]
}'