glm-4.6
Z.AI
Text-only model in the GLM-4 family with improved coding benchmarks and tool calls during reasoning, suited for software development and agent workflows.
¥3.2689/ M
¥13.0643/ M
¥0.6549/ M
¥0/ M
The Flash tier of the GLM-5.3 series: natively multimodal, built for efficient coding and long-chain agents, with stable long-context performance for production applications.
入力価格
市場価格:¥1.0051
/ M
出力価格
市場価格:¥3.35
/ M
キャッシュ読取
市場価格:¥0.2011
/ M
入力
テキスト
出力
テキスト
{
"model": "zai/glm-5.3-flash",
"messages": [
{
"role": "user",
"content": "こんにちは!まず自己紹介をしてください。主な能力と適した利用シーン、そして簡単な使用例を教えてください。"
}
],
"stream": false
}{}API
EasyAPI の OpenAI 互換 API でこのモデルを呼び出す、コピーして使えるコード。
コンソールで API トークンを作成し、環境変数に設定します:
sk-xxxxxxxx をコンソールで発行した API トークン(Bearer Token)に置き換えてください。
API トークンを作成export EASYAPI_API_KEY=sk-xxxxxxxxモデル ID zai/glm-5.3-flash を使って EasyAPI を呼び出します:
curl https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{
"model": "zai/glm-5.3-flash",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'リクエストボディに "stream": true を追加し、SSE で応答を受け取ります:
curl -N https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"zai/glm-5.3-flash","messages":[{"role":"user","content":"Hello!"}],"stream":true}'チャット補完リクエストを送信します。ストリーミングと非ストリーミングに対応。
https://token.easyapi.com/v1/chat/completionsBearer $EASYAPI_API_KEYapplication/jsonzai/glm-5.3-flashチャット補完リクエストを送信します。ストリーミング/非ストリーミングの両方に対応。 ドキュメント
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEY現在のアカウントで利用可能なモデル一覧を取得します。 ドキュメント
| 名前 | 型 | デフォルト | 説明 |
|---|---|---|---|
model | string | — | モデル ID(例:openai/gpt-4o、anthropic/claude-3-5-sonnet) |
messages | array | — | 会話メッセージのリスト。各要素に role と content を含みます |
stream | boolean | false | true の場合、SSE でストリーミング返却します |
temperature | float | 1 | サンプリング温度。高いほどランダムになります |
max_tokens | integer | — | 1 回の応答で生成する最大トークン数 |
top_p | float | 1 | 核サンプリング。候補トークンの累積確率を制限します |
frequency_penalty | float | 0 | 頻度ペナルティ。同じ語の繰り返しを減らします |
presence_penalty | float | 0 | 存在ペナルティ。新しい話題を促します |
OpenAI など公式 SDK は base URL を差し替えるだけで利用できます。詳細は 統合ガイド
Z.AI
Text-only model in the GLM-4 family with improved coding benchmarks and tool calls during reasoning, suited for software development and agent workflows.
¥3.2689/ M
¥13.0643/ M
¥0.6549/ M
¥0/ M
Z.AI
Multimodal model with strong image + text understanding.
¥1.7085/ M
¥5.1255/ M
¥0.3132/ M
¥0/ M
Z.AI
Balanced model with strong Chinese understanding.
¥3.36/ M
¥13.3833/ M
¥3.1322/ M
¥0/ M
Z.AI
Ultra-fast for Chinese. Very cheap.
¥0.5695/ M
¥2.4489/ M
¥0.057/ M
¥0/ M