Z.ai: GLM 4.6
Z.ai: GLM 4.6 on Clonvo: 200K context, $0.60 input and $2.20 output per 1M tokens.
GLM-4.6 is Z.ai's model for coding, reasoning and agents, with a 200K context window and function calling. It decides when to think.
- Model id:
z-ai/glm-4.6 - Provider: Z.ai
- Released: Sep 30, 2025
- 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) | $0.60 | per 1M tokens |
| Output (completion) | $2.20 | per 1M tokens |
| Cache read | $0.11 | 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-4.6",
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.