处理中…正在保护此关键操作,请稍候
Z Ai 模型

GLM 5 CN

Available through the NextModel gateway via Z Ai.

Z Ai平台整理目录
流式输出
输入价格$0.084 / 1M tokens
输出价格$0.373 / 1M tokens
上下文长度— 令牌
最大输出8.2k 令牌
Input lengthInput / 1MOutput / 1MCache hit / 1M
— - 32k$0.084$0.373$0.017
32k - 200k$0.124$0.457$0.026

GLM 5 CN 在 NextModel 中是什么?

GLM 5 CN 是 NextModel 目录中的 Z Ai 模型,常用于 General chat via Z Ai、API workloads 工作负载。当前展示价格为输入 $0.084 / 1M tokens输出 $0.373 / 1M tokens 每 100 万 token,上下文窗口为 token。

适用场景

  • General chat via Z Ai
  • API workloads

OpenAI 兼容调用示例

保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID z-ai--glm-5-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-cn",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

相似替代项

Z Ai目录

Available through the NextModel gateway via Z Ai.

Starting at $0.12 / 1M tokens输入Starting at $0.479 / 1M tokens输出上下文
适用场景General chat via Z Ai, API workloads
路由已配置
流式输出
平台整理NextModel gateway catalog (Go origin)
查看详情
Z Ai目录

Available through the NextModel gateway via Z Ai.

$0.171 / 1M tokens输入$0.596 / 1M tokens输出上下文
适用场景General chat via Z Ai, API workloads
路由已配置
流式输出
平台整理NextModel gateway catalog (Go origin)
查看详情
Moonshotai目录

Available through the NextModel gateway via Moonshotai.

$0.084 / 1M tokens输入$0.437 / 1M tokens输出上下文
适用场景General chat via Moonshotai, API workloads
路由已配置
流式输出
平台整理NextModel gateway catalog (Go origin)
查看详情

常见问题

GLM 5 CN API 常见问题