Z.ai: GLM 5
Z.ai: GLM 5 on Clonvo: 200K context, $1.00 input and $3.20 output per 1M tokens.
GLM-5 is Z.ai's general model for coding and agent tasks, with a 200K context window, switchable thinking and function calling.
- Model id:
z-ai/glm-5 - Provider: Z.ai
- Released: Feb 12, 2026
- Context: 200K tokens
- Max output: 128K tokens
Pricing
The provider’s list price in USD. Requests on credits are charged exactly this; each response reports its cost in usage.cost.
| Charge | Price | Unit |
|---|---|---|
| Input (prompt) | $1.00 | per 1M tokens |
| Output (completion) | $3.20 | per 1M tokens |
| Cache read | $0.20 | per 1M tokens |
Capabilities
- Tools
- Reasoning
Supported parameters
Upstream parameters this model honours. Others may be ignored.
temperaturetop_pmax_tokensstoptoolstool_choiceresponse_formatreasoning
Quick start
Use the OpenAI SDK with Clonvo’s base URL and this model id.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.clonvo.com/v1",
api_key=os.environ["CLONVO_API_KEY"],
)
completion = client.chat.completions.create(
model="z-ai/glm-5",
messages=[{"role": "user", "content": "Summarise the plot of Hamlet in one sentence."}],
)
print(completion.choices[0].message.content)
Data policy
Requests to this model are sent to Z.ai, whose API terms govern how they handle your data: Z.ai data policy. Clonvo doesn’t store prompts or responses unless your organization turns on retention.
Bring your own key
From Pay as you go up, a Z.ai key added under Provider keys is used for this model before your credits: $25,000 a month free, then 4% of list price. How bring-your-own-key works.