Z.ai
LLMGLM-5.2, GLM-5.3, and GLM-5.3-Flash at 89% off official list plus GLM-5.3-FlashX.
Z.ai Model Matrix
Pricing, context/resolution specs, and input-output modalities.
|
|
LLM | 1.05M ctx | Text → Text | ||
|
|
LLM | 1.05M ctx | Text → Text | ||
|
|
LLM | 1.05M ctx | Text + Image + Video → Text | ||
|
GLM-5.3 FlashX
glm-5.3-flashx
|
LLM | 1M ctx | $0.37 / $1.25 | $0.075(-80%) | Text + Image + Video → Text |
Quickstart with Z.ai
Call glm-5.2 (or any Z.ai model ID above) with one OpenDesign Go key.
curl https://amr-link.open-design.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COROUTER_API_KEY" \
-d '{
"model": "glm-5.2",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Refactor this API handler for streaming responses." }
]
}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://amr-link.open-design.ai/v1",
api_key=os.environ["COROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="glm-5.2",
max_tokens=1024,
messages=[
{"role": "user", "content": "Refactor this API handler for streaming responses."}
],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://amr-link.open-design.ai/v1",
apiKey: process.env.COROUTER_API_KEY,
});
const response = await client.chat.completions.create({
model: "glm-5.2",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(response.choices[0].message.content);import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://amr-link.open-design.ai",
apiKey: process.env.COROUTER_API_KEY,
});
const message = await client.messages.create({
model: "glm-5.2",
max_tokens: 1024,
messages: [
{ role: "user", content: "Refactor this API handler for streaming responses." },
],
});
console.log(message.content);Z.ai FAQ
OpenDesign Go lists 4 Z.ai models (LLM), all accessible through one OpenDesign Go API key.
Z.ai pricing starts at $0.0165/1M (-89% / $0.15). Eligible Z.ai models receive up to -89% off official list rates directly on OpenDesign Go.
Use GLM-5.2 (glm-5.2) for flagship reasoning and complex multi-file coding, or GLM-5.3 Flash (glm-5.3-flash) for high-volume, lower-cost workloads.
Send requests to https://amr-link.open-design.ai/v1 with Authorization: Bearer $COROUTER_API_KEY and pass the exact model ID shown in the matrix (such as glm-5.2) without adding a provider prefix.
Z.ai models offer up to -81% off input pricing on cached prompt reads. Pricing stays flat across the full context window.
Yes. All 88 models across 17 providers share one API key and unified credit balance, with Zero Data Retention (no prompt, response, or media storage).