Zhipu: GLM 5.2 ThinkingAPI pricing
GLM-5.2 is Zhipu AI's open-weight successor to GLM-5.1, a 753B-parameter text model released under MIT. It is aimed at long-horizon tasks such as project-scale software engineering and offers several thinking effort levels.
- 每100万枚代币的价格
- $0.53 / $1.79input / output
- 缓存的输入
- $0.10per 1M tokens
- 上下文
- 100万枚代币最大产出量为13.1万枚
- 服务提供商
- 2
服务提供商
2 providers ·
1M 上下文 · 131K 最大输出
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
- 1 more provider through partner hosts · from $0.56 in · $1.87 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/glm-5.2:thinking", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/glm-5.2:thinking",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/glm-5.2:thinking",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 GLM 5.2 Thinking 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/glm-5.2:thinking;其余代码保持不变。
About GLM 5.2 Thinking
- 请求示例
- $0.007110,000 in + 1,000 out
- 实验室
- 53 款智浦型号
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
GLM 5.2 Thinking costs from $0.53 per 1M input tokens and $1.79 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0071, and 1,000 such requests about $7.09.
2 providers serve GLM 5.2 Thinking on OpenCheap. Its context window is 1M tokens (1,048,576), room for roughly 790,000 words of English in one request.
GLM 5.2 Thinking is one of 53 Zhipu models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the GLM 5.2 Thinking API cost per 1M tokens?
GLM 5.2 Thinking costs from $0.53 per 1M input tokens and $1.79 per 1M output tokens on OpenCheap, with cached input at $0.10 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one GLM 5.2 Thinking request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0071, and 1,000 such requests about $7.09. Every answer reports its own cost in usage.cost.
Which providers serve GLM 5.2 Thinking?
2 providers serve GLM 5.2 Thinking on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of GLM 5.2 Thinking?
其上下文窗口为100万个令牌(1,048,576),单次请求可处理约79万个英语单词。
How do I call the GLM 5.2 Thinking API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/glm-5.2:thinking. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自智浦的内容
- GLM 5.2glm-5.2$0.07 / $0.22 per 1M · 1M context
- GLM 5.3glm-5.3$0.12 / $0.037 per 1M · 1M context
- GLM 5.3 Flashglm-5.3-flash$0.0064 / $0.022 per 1M · 1M context
- GLM 5.1glm-5.1每1M · 204K上下文 $0.15 / $0.46
- GLM 4.7glm-4.7每100万·20.2万上下文为 $0.032 / $0.14
- GLM 4.6glm-4.6每100万·20.2万上下文 $0.044 / $0.18
- GLM 4.5glm-4.5每100万 $0.15 / $0.55 · 13.1万个上下文
- GLM 4.5 Airglm-4.5-air0.098 美元 / 0.60 美元 每 1M · 13.1 万个上下文
类似型号
- 基米 K3Moonshot · 1M context$1.57 / $0.94 per 1M25 % cheaper
- Kimi K3.1 ProMoonshot · 1M context$0.21 / $1.07 per 1M42 % cheaper
- GPT 6.2 SolOpenAI · 100万上下文$0.40 / $2.00 per 1M
- Qwen3.8 2.4t A95BQwen · 1M 语料库$0.55 / $1.66 per 1M6 % cheaper
- GPT 6.1 TerraOpenAI · 100万上下文$0.41 / $2.05 per 1M
- Muse Spark 1.1Meta · 100万上下文$0.56 / $1.91 per 1M