| Input length | Input / 1M | Output / 1M | Cache hit / 1M |
|---|---|---|---|
| — - 32k | $0.12 | $0.479 | $0.025 |
| 32k - 200k | $0.159 | $0.558 | $0.032 |
GLM 5.1 CN 在 NextModel 中是什麼?
香港團隊可用的 NextModel 目錄中的 Z Ai 模型,常用於 General chat via Z Ai、API workloads 工作負載。當前展示價格為輸入 $0.12 / 1M tokens、輸出 $0.479 / 1M tokens 每 100 萬 token,上下文視窗為 — token。
適用場景
- General chat via Z Ai
- API workloads
OpenAI 相容呼叫範例
保持 OpenAI SDK 呼叫方式不變,把 base_url 改為 NextModel,並使用模型目錄 ID z-ai--glm-5.1-cn。
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.nextmodel.app/v1"
)
resp = client.chat.completions.create(
model="z-ai/glm-5.1-cn",
messages=[{"role": "user", "content": "Hello from NextModel"}]
)
print(resp.choices[0].message.content)相似替代項
Z Ai目錄
GLM 5 CN
80Available through the NextModel gateway via Z Ai.
適用場景General chat via Z Ai, API workloads
路由已設定
串流輸出
平台整理NextModel gateway catalog (Go origin)
Z Ai目錄
Available through the NextModel gateway via Z Ai.
適用場景General chat via Z Ai, API workloads
路由已設定
串流輸出
平台整理NextModel gateway catalog (Go origin)
Moonshotai目錄
Available through the NextModel gateway via Moonshotai.
適用場景General chat via Moonshotai, API workloads
路由已設定
串流輸出
平台整理NextModel gateway catalog (Go origin)
常見問題