Processing...Please wait while we secure this action
Z Ai model

GLM 5.2 CN

GLM 5.2 CN is a Z Ai model listed in the NextModel catalog for General chat via Z Ai, API workloads workloads. Its listed price is $0.171 / 1M tokens input and $0.596 / 1M tokens output per 1M tokens, with a — token context window.

Z AiPlatform curatedCatalog
Streaming
Input price$0.171 / 1M tokens
Output price$0.596 / 1M tokens
Context length— tokens
Max output8.2k tokens

What is GLM 5.2 CN in NextModel?

GLM 5.2 CN is a Z Ai model listed in the NextModel catalog for General chat via Z Ai, API workloads workloads. Its listed price is $0.171 / 1M tokens input and $0.596 / 1M tokens output per 1M tokens, with a — token context window.

Best use cases

  • General chat via Z Ai
  • API workloads

OpenAI-compatible code example

Keep the OpenAI SDK style, set base_url to NextModel, and use the catalog model ID 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)

Similar alternatives

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 API questions