Z Ai मॉडल

GLM 5 CN

GLM 5 CN API कीमत, provider, context length, capabilities, use cases, latency और विकल्पों की तुलना करें। General chat via Z Ai, API workloads. $0.084 / 1M tokens / $0.373 / 1M tokens. — tokens.

Z AiPlatform curatedCatalog
Streaming
इनपुट कीमत$0.084 / 1M tokens
आउटपुट कीमत$0.373 / 1M tokens
context length— tokens
अधिकतम आउटपुट8.2k tokens
Input lengthInput / 1MOutput / 1MCache 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 कीमत, provider, context length, capabilities, use cases, latency और विकल्पों की तुलना करें। General chat via Z Ai, API workloads. $0.084 / 1M tokens / $0.373 / 1M tokens. — tokens.

उपयुक्त उपयोग

  • General chat via Z Ai
  • API workloads

OpenAI-compatible कोड उदाहरण

OpenAI SDK शैली बनाए रखें, base_url को NextModel पर सेट करें, और catalog 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.

Starting at $0.12 / 1M tokensInputStarting at $0.479 / 1M tokensOutputContext
Best forGeneral chat via Z Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
Z AiCatalog

Available through the NextModel gateway via Z Ai.

$0.171 / 1M tokensInput$0.596 / 1M tokensOutputContext
Best forGeneral chat via Z Ai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details
MoonshotaiCatalog

Available through the NextModel gateway via Moonshotai.

$0.084 / 1M tokensInput$0.437 / 1M tokensOutputContext
Best forGeneral chat via Moonshotai, API workloads
RoutingConfigured
Streaming
Platform curatedNextModel gateway catalog (Go origin)
View details

FAQ

GLM 5 CN FAQ