Z.ai
LLMGLM-5.2、GLM-5.3、GLM-5.3-Flash を公式定価から 89% オフで提供。高速モデル GLM-5.3-FlashX も利用可能。
Z.ai モデル料金マトリクス
料金、コンテキスト/解像度仕様、入出力モダリティを一覧比較できます。列見出しクリックで並び替え可能です。
|
|
LLM | 1.05M ctx | テキスト → テキスト | ||
|
|
LLM | 1.05M ctx | テキスト → テキスト | ||
|
|
LLM | 1.05M ctx | テキスト + 画像 + 動画 → テキスト | ||
|
GLM-5.3 FlashX
glm-5.3-flashx
|
LLM | 1M ctx | $0.37 / $1.25 | $0.075(-80%) | テキスト + 画像 + 動画 → テキスト |
Z.ai クイックスタート
1 つの OpenDesign Go API キーで glm-5.2 をはじめ上記すべての Z.ai モデル ID を呼び出せます。
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 よくある質問
OpenDesign Go では 4 種の Z.ai モデル(LLM)を 1 つの API キーで呼び出せます。
Z.ai の最安単価は $0.0165/1M (-89% / $0.15) からです。対象モデルは OpenDesign Go 上で最大 89% オフの割引単価が適用されます。
高度な推論や複雑なコーディングには GLM-5.2(glm-5.2)、高スループット・低コスト用途には GLM-5.3 Flash(glm-5.3-flash)が適しています。
リクエスト先を https://amr-link.open-design.ai/v1 に設定し、Authorization: Bearer $COROUTER_API_KEY とマトリクス記載のモデル ID(例: glm-5.2)をプレフィックスなしで指定します。
Z.ai モデルはキャッシュ読込で最大 -81% の削減に対応しています。全コンテキスト長で一律単価です。
はい。全 17 プロバイダー・88 モデルを 1 つの API キーと共通残高で併用でき、ゼロデータ保持によりプロンプトや生成物は保存されません。