Zhipu AI

GLM 5.2

Built for reasoning, coding, and long-context agent tasks, improving over GLM-5.1 in context length, tool use, and complex multi-step workflows. Compared with Chinese flagship peers such as Qwen, DeepSeek, and Kimi, it fits enterprise automation, project-level code analysis, and knowledge work in Chinese.

  • Reasoning
  • Tool use
  • Function calling
  • Structured output
  • Long context

AI Chat

Send a prompt and see the response here.

glm-5.2
Current conversation
How can I help you?

Start a conversation with this model and ask follow-up questions.

Uses your account balance at the model’s current rates.

Insufficient balance

Your account balance is insufficient for this generation. Top up, then return here to try again.

USD /1M tokens

Pricing

GroupInputOutputCache Read
default$1.14$4.000032$0.286026
glm-0.85$0.969$3.400027$0.243122
default
Input$1.14Output$4.000032Cache Read$0.286026
glm-0.85
Input$0.969Output$3.400027Cache Read$0.243122

Public list prices are shown in USD. Final charges may vary by account group and usage tier.

API

Code examples

curl --location --request POST 'https://api.tokenhot.ai/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "glm-5.2",
    "messages": [
        {
            "role": "user",
            "content": "What model are you"
        }
    ]
}'

FAQ

Frequently asked questions

What is GLM 5.2 best suited for?

GLM 5.2 is suited to the input, output, and capability types listed on this page. Test production workloads before choosing it for a critical system.

How is GLM 5.2 priced?

Pricing is shown in the pricing section above. Actual cost depends on usage volume, account group, and the request payload.

How can I call GLM 5.2?

Use the model ID shown above with one of the supported API protocols. Code examples are provided when usage data is available.

Get started

Build with GLM 5.2

Use in Console