Z.AI Open Platform 的免费额度给到哪一步
官方定价表把 GLM-4.7-Flash 和 GLM-4.5-Flash 的输入、缓存输入与输出都标成 $0,也就是真的免费调用,而不只是打折。Z.AI 没有在定价页上给出这两个模型的 RPM 或 TPM,限流说明在另一个页面上,实际以控制台为准。
- 官方公布限额
- 部分模型标价为零
- 免费形式
- 厂商免费额度
- 信用卡
- 不需要
- 协议
- 兼容 OpenAI,端点
https://api.z.ai/api/paas/v4 - 生命周期
- 正常开放
- 来源核验日期
- 2026-07-25
免费的 Flash 模型和付费的 GLM 模型共用同一个 key,所以要留意发出去的 model ID,免得意外产生费用。
Z.AI Open Platform 在这份清单里处于什么位置
本站详列的 25 家服务商里,属于厂商免费额度的有 15 家,Z.AI Open Platform 是其中之一。它不要求绑信用卡,25 家里有 23 家是这样。它没有公布固定的请求次数,25 家里有 16 家同样没有。
| 对比对象 | 官方公布限额 | 信用卡 | 端点 |
|---|---|---|---|
| Z.AI Open Platform(当前页) | 部分模型标价为零 | 不需要 | api.z.ai |
| Novita AI | 部分模型标价为零 | 不需要 | api.novita.ai |
| Mistral La Plateforme | 有限流但未公布数值 | 不需要 | api.mistral.ai |
| Alibaba Cloud Model Studio | 按模型公布 | 不需要 | dashscope-intl.aliyuncs.com |
Z.AI Open Platform 标为免费的模型
本站另有 3 家服务商也以免费条款提供 GLM 系列,而且条款并不相同:SiliconFlow、Cerebras Inference、Chutes。
怎么验一个 Z.AI Open Platform 的 key
CORS 预检回显了发起请求的源,并允许 Authorization 请求头,所以浏览器可以直接调用这个端点。这一结论是 2026-07-25 针对 https://api.z.ai 实测得到的。
所以不用装任何东西,直接在浏览器检测页里就能验。如果你不愿意把 key 粘进网页,下面这条命令是等价的:
#!/usr/bin/env sh
set -eu
: "${ZAI_API_KEY:?Set ZAI_API_KEY to a key you created yourself at the provider console}"
# Prints the models this key can reach, then the HTTP status on its own line so
# 200, 401, and 429 stay distinguishable.
curl --silent --show-error \
--write-out '\nHTTP %{http_code}\n' \
--header "Authorization: Bearer $ZAI_API_KEY" \
'https://api.z.ai/api/paas/v4/models'
怎么用一个 Z.AI Open Platform 的 key
Z.AI Open Platform 在 https://api.z.ai/api/paas/v4 上提供 OpenAI chat completions 协议。把任何支持自定义 base URL 的客户端指过去,并让客户端从 ZAI_API_KEY 读取 key,这样 key 本身永远不会落进配置文件:
# Merge this snippet into ~/.codex/config.toml.
# Project-level config cannot select a custom model provider.
model = "GLM-4.7-Flash"
model_provider = "zai"
[model_providers.zai]
name = "Z.AI Open Platform OpenAI-compatible gateway"
base_url = "https://api.z.ai/api/paas/v4"
env_key = "ZAI_API_KEY"
wire_api = "responses"
关于 Z.AI Open Platform 免费额度的常见问题
Z.AI Open Platform 需要绑信用卡吗?
不需要。本站有 23 家不用绑卡就能拿到免费访问,Z.AI Open Platform 是其中之一,所以试一下的成本只有注册本身。
Z.AI Open Platform 免费额度的限流是多少?
Z.AI Open Platform 没有公布单一的免费额度数字:它的限额形式是「部分模型标价为零」。本清单在这里留空,而不是猜一个数。
Z.AI Open Platform 的 key 撞到限额会怎样?
端点返回 429。这只说明那一次请求被拒了,不说明还剩多少额度;只有服务商返回的 reset 响应头才能告诉你什么时候恢复。
Z.AI Open Platform 的免费额度会取消吗?
截至 2026-07-25,Z.AI Open Platform 自己的文档里没有这样的说法。免费的 Flash 模型和付费的 GLM 模型共用同一个 key,所以要留意发出去的 model ID,免得意外产生费用。
Z.AI Open Platform 能配合 Codex、Cline 或 Continue 使用吗?
可以。Z.AI Open Platform 在 https://api.z.ai/api/paas/v4 上提供 OpenAI chat completions 协议,任何支持自定义 base URL 的客户端都能用。例外是 Claude Code,它讲的是 Anthropic 协议。
官方来源
- Z.AI pricinghttps://docs.z.ai/guides/overview/pricing
- Z.AI rate limitshttps://docs.z.ai/api-reference/rate-limit
- OpenAI Python SDK with Z.AIhttps://docs.z.ai/guides/develop/openai/python
以上每个数字都是 2026-07-25 从这些页面上读到的。如果某家只在控制台里给出限额,本清单就如实记下这件事,而不是填一个数字。收录标准和纠错流程见数据方法。