Skip to content

Commit 7de1a3c

Browse files
lidge-junLucinegogo
andcommitted
docs(providers): distinguish the two GLM routes in every locale
Adds the open.bigmodel.cn endpoint row and a short note explaining that `zai` is the Z.AI international coding plan while `zhipu-bigmodel` is Zhipu's domestic BigModel pay-as-you-go endpoint — different hosts, keys, and billing. Translated for ko/ja/ru/zh-cn rather than left in English. Co-authored-by: Lucinegogo <103441383+Lucinegogo@users.noreply.github.com>
1 parent 224db1a commit 7de1a3c

5 files changed

Lines changed: 24 additions & 0 deletions

File tree

docs-site/src/content/docs/guides/providers.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ validates the key, and stores it. Notable entries:
182182
| Hugging Face | `https://router.huggingface.co/v1` |
183183
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
184184
| Z.AI (GLM Coding) | `https://api.z.ai/api/coding/paas/v4` |
185+
| Zhipu AI (BigModel) | `https://open.bigmodel.cn/api/paas/v4` |
185186
| Qwen Cloud | Token plan (default): `https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1` · Pay as you go: `https://dashscope.aliyuncs.com/compatible-mode/v1` · or Custom |
186187
| Tencent Cloud Coding Plan | `https://api.lkeap.cloud.tencent.com/coding/v3` |
187188
| SiliconFlow | `https://api.siliconflow.cn/v1` |
@@ -198,6 +199,10 @@ endpoint (e.g. **Xiaomi MiMo**) use the `anthropic` adapter (`x-api-key`).
198199
> interactive coding tools only. General API automation, custom application backends, and
199200
> non-interactive batch use are prohibited and may cause the plan key to be suspended.
200201
202+
> **Two GLM routes:** `zai` is the Z.AI international coding-plan subscription; `zhipu-bigmodel`
203+
> is Zhipu's domestic BigModel pay-as-you-go endpoint. Different hosts, different keys, different
204+
> billing — a key issued for one will not authenticate against the other.
205+
201206
### Multiple API keys
202207

203208
Key-based providers can also keep multiple keys. Adding a key through the Providers page stores it

docs-site/src/content/docs/ja/guides/providers.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ opencodex v2.7.1 には組み込みプリセットが 50 個含まれていま
119119
| Hugging Face | `https://router.huggingface.co/v1` |
120120
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
121121
| Z.AI (GLM Coding) | `https://api.z.ai/api/coding/paas/v4` |
122+
| Zhipu AI (BigModel) | `https://open.bigmodel.cn/api/paas/v4` |
122123
| Qwen Cloud | トークンプラン(デフォルト): `https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1` · 従量課金: `https://dashscope.aliyuncs.com/compatible-mode/v1` · またはカスタム |
123124
| Tencent Cloud Coding Plan | `https://api.lkeap.cloud.tencent.com/coding/v3` |
124125
| SiliconFlow | `https://api.siliconflow.cn/v1` |
@@ -135,6 +136,10 @@ opencodex v2.7.1 には組み込みプリセットが 50 個含まれていま
135136
> コーディングツール専用としています。一般的な API 自動化、カスタムアプリのバックエンド、
136137
> 非対話型バッチ利用は禁止されており、プランキーが停止される場合があります。
137138
139+
> **GLM の経路は 2 つあります:** `zai` は Z.AI の国際コーディングプラン契約、`zhipu-bigmodel`
140+
> は Zhipu の中国国内向け BigModel 従量課金エンドポイントです。ホストもキーも課金も別で、
141+
> 一方で発行したキーはもう一方では認証されません。
142+
138143
### 複数の API キー
139144

140145
キーベースのプロバイダーも複数キーを保持できます。Providers ページでキーを追加すると

docs-site/src/content/docs/ko/guides/providers.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ opencodex v2.7.1에는 빌트인 프리셋이 50개 들어 있습니다. 키 방
119119
| Hugging Face | `https://router.huggingface.co/v1` |
120120
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
121121
| Z.AI (GLM Coding) | `https://api.z.ai/api/coding/paas/v4` |
122+
| Zhipu AI (BigModel) | `https://open.bigmodel.cn/api/paas/v4` |
122123
| Qwen Cloud | Token plan(기본): `https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1` · 종량제: `https://dashscope.aliyuncs.com/compatible-mode/v1` · 또는 사용자 지정 |
123124
| Tencent Cloud Coding Plan | `https://api.lkeap.cloud.tencent.com/coding/v3` |
124125
| SiliconFlow | `https://api.siliconflow.cn/v1` |
@@ -135,6 +136,10 @@ opencodex v2.7.1에는 빌트인 프리셋이 50개 들어 있습니다. 키 방
135136
> 안내합니다. 일반 API 자동화, 사용자 애플리케이션 백엔드 및 비대화형 일괄 호출은 금지되며
136137
> 플랜 키가 정지될 수 있습니다.
137138
139+
> **GLM 경로는 두 개입니다:** `zai`는 Z.AI 국제 코딩 플랜 구독이고, `zhipu-bigmodel`
140+
> Zhipu의 중국 내수 BigModel 종량제 엔드포인트입니다. 호스트도 키도 과금도 다르며, 한쪽에서
141+
> 발급한 키는 다른 쪽에서 인증되지 않습니다.
142+
138143
### 여러 API 키
139144

140145
키 기반 프로바이더도 여러 키를 보관할 수 있습니다. Providers 페이지에서 키를 추가하면

docs-site/src/content/docs/ru/guides/providers.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ opencodex поставляется с 53 встроенными пресетам
129129
| Hugging Face | `https://router.huggingface.co/v1` |
130130
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
131131
| Z.AI (GLM Coding) | `https://api.z.ai/api/coding/paas/v4` |
132+
| Zhipu AI (BigModel) | `https://open.bigmodel.cn/api/paas/v4` |
132133
| Qwen Cloud | Token plan (по умолчанию): `https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1` · Pay as you go: `https://dashscope.aliyuncs.com/compatible-mode/v1` · или Custom |
133134
| Tencent Cloud Coding Plan | `https://api.lkeap.cloud.tencent.com/coding/v3` |
134135
| SiliconFlow | `https://api.siliconflow.cn/v1` |
@@ -146,6 +147,10 @@ opencodex поставляется с 53 встроенными пресетам
146147
> в интерактивных инструментах программирования. Автоматизация общего API, серверы пользовательских
147148
> приложений и неинтерактивные пакетные вызовы запрещены и могут привести к блокировке ключа плана.
148149
150+
> **Два маршрута GLM:** `zai` — это международная подписка Z.AI на coding-план, а `zhipu-bigmodel`
151+
> внутренняя китайская конечная точка BigModel с оплатой по факту использования. Разные хосты,
152+
> разные ключи, разная тарификация: ключ от одного сервиса не подойдёт к другому.
153+
149154
### Несколько API-ключей
150155

151156
Провайдеры на основе ключей тоже могут хранить несколько ключей. Ключ, добавленный через страницу

docs-site/src/content/docs/zh-cn/guides/providers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ ChatGPT 转发预设。仪表盘的 **Add provider** 选择器会打开密钥提
112112
| Hugging Face | `https://router.huggingface.co/v1` |
113113
| NVIDIA NIM | `https://integrate.api.nvidia.com/v1` |
114114
| Z.AI (GLM Coding) | `https://api.z.ai/api/coding/paas/v4` |
115+
| 智谱 AI (BigModel) | `https://open.bigmodel.cn/api/paas/v4` |
115116
| Qwen Cloud | Token plan(默认): `https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1` · 按量付费: `https://dashscope.aliyuncs.com/compatible-mode/v1` · 或自定义 |
116117
| 腾讯云 Coding Plan | `https://api.lkeap.cloud.tencent.com/coding/v3` |
117118
| SiliconFlow | `https://api.siliconflow.cn/v1` |
@@ -126,6 +127,9 @@ ChatGPT 转发预设。仪表盘的 **Add provider** 选择器会打开密钥提
126127
> **腾讯云 Coding Plan 使用限制:**腾讯将此订阅限定为交互式编程工具使用。禁止通用 API
127128
> 自动化、自定义应用后端和非交互式批量调用;违规使用可能导致套餐密钥被停用。
128129
130+
> **两条 GLM 线路:**`zai` 是 Z.AI 的国际 coding plan 订阅,`zhipu-bigmodel` 是智谱国内
131+
> BigModel 的按量付费端点。二者主机、密钥与计费均不同,为其中一方签发的密钥无法在另一方通过鉴权。
132+
129133
### 多个 API 密钥
130134

131135
基于密钥的提供商也可以保存多个 key。通过 Providers 页面添加密钥时,它会存入

0 commit comments

Comments
 (0)