| Input length | Input / 1M | Output / 1M | Cache hit / 1M |
|---|---|---|---|
| — - 32k | $0.084 | $0.373 | $0.017 |
| 32k - 200k | $0.124 | $0.457 | $0.026 |
NextModelのGLM 5 CNとは?
GLM 5 CN API価格、プロバイダー、コンテキスト長、機能、ユースケース、レイテンシー、代替候補を比較します。 General chat via Z Ai, API workloads. $0.084 / 1M tokens / $0.373 / 1M tokens. — tokens.
適した用途
- 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 AiCatalog
Available through the NextModel gateway via Z Ai.
Best forGeneral chat via Z Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
Z AiCatalog
Available through the NextModel gateway via Z Ai.
Best forGeneral chat via Z Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
MoonshotaiCatalog
Available through the NextModel gateway via Moonshotai.
Best forGeneral chat via Moonshotai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
FAQ