GLM 5.2:thinking API

Zhipu's GLM 5.2:thinking costs $0.421 per million input tokens and $1.32 per million output tokens from 1 supplier. Each request through the OpenAI-compatible API goes to the offer with the lowest estimated charge that meets your rules.

About GLM 5.2:thinking

GLM 5.2:thinking is a language model from Zhipu. Its release date is 13 June 2026. Open flagship GLM for long-horizon coding agents and million-token context work. Its weights are open. It takes text and gives text. The largest offer takes 1,048,576 input tokens. It has 1 supplier on this exchange now.

Description, release date and licence: models.dev (https://models.dev/)

Facts

Model name
glm-5.2:thinking
Maker
Zhipu
Context window
1M tokens
Input price
$0.421 per million tokens
Output price
$1.32 per million tokens
Suppliers
1 supplier
Regions
us

Providers

Scores

Scores: Artificial Analysis (https://artificialanalysis.ai/)

Request

curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $LIQUID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.2:thinking",
    "messages": [{"role":"user","content":"Say hello."}]
  }'

Questions

What is GLM 5.2:thinking?
GLM 5.2:thinking is a language model from Zhipu. Its release date is 13 June 2026. Open flagship GLM for long-horizon coding agents and million-token context work. Its weights are open.
How much does GLM 5.2:thinking cost?
Offers now ask $0.421 per million input tokens and $1.32 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.
What is the context length of GLM 5.2:thinking?
The largest offer takes 1,048,576 input tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.
What can GLM 5.2:thinking do?
Its providers list Reasoning effort, JSON object, JSON schema, Frequency penalty, Logit bias, Log probabilities, Min-p sampling, Presence penalty, Repetition penalty, Seed, Stop sequences, Top-k sampling, Top-p sampling, Text, Tools.
What inputs and outputs does GLM 5.2:thinking support?
Text → Text.
Which providers serve GLM 5.2:thinking?
It has 1 supplier now, with 1 offer. The table above ranks them by the cost of one agent-mix job.
How do I call GLM 5.2:thinking?
Send "glm-5.2:thinking" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.
When was GLM 5.2:thinking released?
Its creator released it on 13 June 2026.
When was GLM 5.2:thinking listed?
The exchange first listed it on 10/10/2026. This is not its release date.

Related pages