Z Ai model
GLM 5 CN
GLM 5 CN. Porovnejte ceny API, poskytovatele, délku kontextu, schopnosti, use cases, latenci a alternativy. General chat via Z Ai, API workloads. $0.084 / 1M tokens / $0.373 / 1M tokens. — tokens.
Streaming
| Input length | Input / 1M | Output / 1M | Cache hit / 1M |
|---|---|---|---|
| — - 32k | $0.084 | $0.373 | $0.017 |
| 32k - 200k | $0.124 | $0.457 | $0.026 |
Co je GLM 5 CN v NextModelu?
GLM 5 CN. Porovnejte ceny API, poskytovatele, délku kontextu, schopnosti, use cases, latenci a alternativy. General chat via Z Ai, API workloads. $0.084 / 1M tokens / $0.373 / 1M tokens. — tokens.
Nejlepší použití
- General chat via Z Ai
- API workloads
Příklad kompatibilní s OpenAI
Zachovejte styl OpenAI SDK, namiřte base_url na NextModel a použijte ID katalogu 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)Podobné alternativy
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