Zhipu: GLM 4.7API pricing
GLM-4.7 from Zhipu AI is an open-weight MoE text model under MIT for agentic coding, terminal work and tool use. Its thinking can run before each reply and tool call, carry over between turns, or be toggled per request.
- 每100万枚代币的价格
- $0.032 / $0.14input / output−92%
- 缓存的输入
- $0.0059per 1M tokens
- 上下文
- 202K tokens131K max output
- 服务提供商
- 9
- 最快
- 172 tok/sSurplus
服务提供商
9 家服务商 ·
128K 上下文 · 32K 最大输出
支持的参数9
- 抽样
温度top_plogit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
128K 上下文 · 32K 最大输出
支持的参数9
- 抽样
温度top_plogit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
200K context · 131K max output
支持的参数11
- 抽样
温度top_ptop_k种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
- Route 1 · fp4202K context · 131K max outputCache $0.067 · 1.91 s · 27 tok/s · 100 %1.91 s · 27 tok/sInput $0.34Cache read $0.067Output $1.47Latency 1.91 sSpeed 27 tok/sUptime 100 %$0.34 in$1.47 out
- Route 2 · fp4202K context · 131K max outputCache $0.084 · 0.84 s · 50 tok/s · 100 %0.84 s · 50 tok/sInput $0.42Cache read $0.084Output $1.84Latency 0.84 sSpeed 50 tok/sUptime 100 %$0.42 in$1.84 out
支持的参数16
- 抽样
温度top_ptop_kmin_p种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
202K context
支持的参数12
- 抽样
温度top_ptop_k种子logit_bias- 处罚
频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择
200K context · 65K max output
支持的参数12
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
198K context · 16K max output
支持的参数12
- 抽样
温度top_ptop_k- 处罚
频率惩罚存在惩罚- 输出
停止response_format结构化输出- 工具
工具工具选择- 推理
推理include_reasoning
202K context · 131K max output
支持的参数8
- 抽样
温度top_ptop_k- 输出
response_format- 工具
工具工具选择- 推理
推理include_reasoning- 未确认
停止
13.1万上下文 · 11.7万最大输出量
支持的参数13
- 抽样
温度top_ptop_kmin_ptop_a种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止- 推理
推理include_reasoning- 未确认
工具
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/glm-4.7", "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-4.7",
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-4.7",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 GLM 4.7 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/glm-4.7;其余代码保持不变。
About GLM 4.7
- 标价
- $0.40 / $1.75in / out per 1M
- 保存与列表
- 92 %on a 1 : 3 input-to-output mix
- 请求示例
- $0.0004610,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 4.7 costs from $0.032 per 1M input tokens and $0.14 per 1M output tokens on OpenCheap, with cached input at $0.0059 per 1M tokens. Its list price is $0.40 per 1M input tokens and $1.75 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 92 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.00046, and 1,000 such requests about $0.46.
9 providers serve GLM 4.7 on OpenCheap. Its context window is 202K tokens (202,752), room for roughly 150,000 words of English in one request.
GLM 4.7 is one of 53 Zhipu models on OpenCheap.
The public list price is $0.40 per 1M input tokens and $1.75 per 1M output tokens. OpenCheap is from $0.032 and $0.14, as of 2026-12-04 09:18 UTC.
Prices as of 2026-12-04 09:18 UTC.
关于定价的问题
How much does the GLM 4.7 API cost per 1M tokens?
GLM 4.7 costs from $0.032 per 1M input tokens and $0.14 per 1M output tokens on OpenCheap, with cached input at $0.0059 per 1M tokens. Prices as of 2026-12-04 09:18 UTC.
What does one GLM 4.7 request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00046, and 1,000 such requests about $0.46. Every answer reports its own cost in usage.cost.
Is GLM 4.7 cheaper on OpenCheap than its list price?
Its list price is $0.40 per 1M input tokens and $1.75 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 92 % less here.
Which providers serve GLM 4.7?
9 providers serve GLM 4.7 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 4.7?
Its context window is 202K tokens (202,752), room for roughly 150,000 words of English in one request.
How do I call the GLM 4.7 API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/glm-4.7. One OpenCheap key works for every model; the rest of your code stays the same.
更多来自智浦的内容
- GLM 4.7 Thinkingglm-4.7:thinking$0.40 / $1.93 per 1M · 200K 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.2glm-5.2$0.32 / $0.32 per 1M · 1M context
- GLM 5.1glm-5.1$0.16 / $0.50 per 1M · 204K context
- 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 万个上下文
类似型号
- 杰玛 4 31B 它Google · 26.2万条上下文$0.031 / $0.11 per 1M21 % cheaper
- gpt-oss-120bOpenAI · 131K context$0.019 / $0.074 per 1M47 % cheaper
- Ternary Bonsai2 9BPrismML · 262K context$0.08 / $0.13 per 1M
- DiffusionGemmaGoogle · 26.2万条上下文$0.05 / $0.15 per 1M
- Schematron V2 TurboInference.net · 128K context$0.03 / $0.15 per 1M
- Xiaomi Mimo V2.6 Pro小米 · 1M 上下文$0.054 / $0.11 per 1M17 % cheaper