Z Ai modello

GLM 5.1 CN

GLM 5.1 CN Confronta prezzi API, provider, lunghezza del contesto, capacita, casi d'uso, latenza e alternative. General chat via Z Ai, API workloads. $0.12 / 1M tokens / $0.479 / 1M tokens. — tokens.

Z AiPlatform curatedCatalog
Streaming
Prezzo input$0.12 / 1M tokens
Prezzo output$0.479 / 1M tokens
Lunghezza contesto— tokens
Output massimo8.2k tokens
Input lengthInput / 1MOutput / 1MCache hit / 1M
— - 32k$0.12$0.479$0.025
32k - 200k$0.159$0.558$0.032

Che cos'e GLM 5.1 CN in NextModel?

GLM 5.1 CN Confronta prezzi API, provider, lunghezza del contesto, capacita, casi d'uso, latenza e alternative. General chat via Z Ai, API workloads. $0.12 / 1M tokens / $0.479 / 1M tokens. — tokens.

Casi d'uso migliori

  • General chat via Z Ai
  • API workloads

Esempio compatibile OpenAI

Mantieni lo stile SDK OpenAI, imposta base_url su NextModel e usa l'ID di catalogo 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)

Alternative simili

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