No description yet.
from openai import OpenAI
client = OpenAI(
base_url="https://api.openroute.cn/v1",
api_key="<ONTOROUTE_API_KEY>",
)
completion = client.chat.completions.create(
model="z-ai/glm-5-turbo",
messages=[
{
"role": "user",
"content": "Write a one-sentence bedtime story about a unicorn.",
}
],
)
print(completion.choices[0].message.content)Prices are CNY (¥) per million tokens, billed as you go. Cache reads can cut the cost of repeated context.
| Provider | Input | Output | Cache read | Context length | Latency | Uptime | Status |
|---|---|---|---|---|---|---|---|
z-ai z-ai/glm-5-turbo | ¥7.00 | ¥26.00 | Supported | 200K | 4.5s | 88.70% | Lowest |
This model does not publish tunable parameters.