GLM 5.1 CN
GLM 5.1 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.12 / 1M tokens input and $0.479 / 1M tokens output per 1M tokens, with a — token context window.
| Input length | Input / 1M | Output / 1M | Cache hit / 1M |
|---|---|---|---|
| — - 32k | $0.12 | $0.479 | $0.025 |
| 32k - 200k | $0.159 | $0.558 | $0.032 |
What is GLM 5.1 CN in NextModel?
GLM 5.1 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.12 / 1M tokens input and $0.479 / 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.1-cn.
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)Similar alternatives
GLM 5 CN
80Available through the NextModel gateway via Z Ai.
Available through the NextModel gateway via Z Ai.
Available through the NextModel gateway via Moonshotai.
FAQ