Z Ai modelo

GLM 5.2 CN

GLM 5.2 CN Compare precos de API, fornecedor, comprimento de contexto, capacidades, casos de uso, latencia e alternativas. General chat via Z Ai, API workloads. $0.171 / 1M tokens / $0.596 / 1M tokens. — tokens.

Z AiPlatform curatedCatalog
Streaming
Preco de entrada$0.171 / 1M tokens
Preco de saida$0.596 / 1M tokens
Comprimento de contexto— tokens
Saida maxima8.2k tokens

O que e GLM 5.2 CN no NextModel?

GLM 5.2 CN Compare precos de API, fornecedor, comprimento de contexto, capacidades, casos de uso, latencia e alternativas. General chat via Z Ai, API workloads. $0.171 / 1M tokens / $0.596 / 1M tokens. — tokens.

Melhores casos de uso

  • General chat via Z Ai
  • API workloads

Exemplo compativel com OpenAI

Mantenha o estilo do SDK OpenAI, aponte base_url para NextModel e use o ID do catalogo z-ai--glm-5.2-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.2-cn",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

Alternativas semelhantes

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.

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
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.2 CN FAQ