Z Ai model

GLM 5.1 CN

GLM 5.1 CN So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. General chat via Z Ai, API workloads. $0.12 / 1M tokens / $0.479 / 1M tokens. — tokens.

Z AiPlatform curatedCatalog
Streaming
Gia input$0.12 / 1M tokens
Gia output$0.479 / 1M tokens
Do dai context— tokens
Output toi da8.2k tokens
Input lengthInput / 1MOutput / 1MCache hit / 1M
— - 32k$0.12$0.479$0.025
32k - 200k$0.159$0.558$0.032

GLM 5.1 CN trong NextModel la gi?

GLM 5.1 CN So sanh gia API, nha cung cap, do dai context, kha nang, use case, do tre va cac lua chon thay the. General chat via Z Ai, API workloads. $0.12 / 1M tokens / $0.479 / 1M tokens. — tokens.

Use case tot nhat

  • General chat via Z Ai
  • API workloads

Vi du tuong thich OpenAI

Giu nguyen kieu SDK OpenAI, tro base_url toi NextModel va dung ID catalog 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)

Lua chon thay the tuong tu

Z AiCatalog

Available through the NextModel gateway via Z Ai.

Starting at $0.084 / 1M tokensInputStarting at $0.373 / 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.1 CN FAQ