現在利用可能
Zhipu
glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
TextReasoningTools131.1KCache1M
入力$1.70/ 1M
出力$5.95/ 1M
コンテキスト131.1K
エンドポイントanthropic, openai
機能
推論ツールキャッシュ構造化
モダリティ
入力
text
出力
text
クイック統計
パフォーマンス
パフォーマンスデータを読み込み中...
対応パラメータ
| パラメータ | 常時 | デフォルト |
|---|---|---|
| frequency_penalty | - | (送信しない) |
| include_reasoning | - | |
| logit_bias | - | - |
| max_tokens | - | |
| min_p | - | - |
| presence_penalty | - | (送信しない) |
| reasoning | - | |
| repetition_penalty | - | (送信しない) |
| response_format | - | - |
| seed | - | - |
| stop | - | - |
| structured_outputs | - | - |
| temperature | 1 | |
| tool_choice | - | - |
| tools | - | |
| top_k | (送信しない) | |
| top_p | 0.95 |
§ 01
料金
| 入力料金 | $1.70 · 100万トークン |
| 出力料金 | $5.95 · 100万トークン |
| コンテキストウィンドウ | 131.1K トークン |
| 対応エンドポイント | anthropic, openai |
| ベンダー | Zhipu |
§ 02
コードから glm-5.2 を呼び出す
OpenAI 互換の SDK を UnoRouter に向け、モデル名を指定するだけです。YOUR_API_KEY はダッシュボードで取得した実際のキーに置き換えてください。
bash
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
よくあるご質問
glm-5.2 の100万トークンあたりの料金はいくらですか?
入力は100万トークンあたり $1.70、出力は100万トークンあたり $5.95 で課金されます。トークン単位の課金で、バッチサイズへの切り上げはありません。
API で glm-5.2 を使うにはどうすればよいですか?
UnoRouter の /v1/chat/completions エンドポイントへ model=glm-5.2 を指定してリクエストを送信してください。OpenAI 互換のクライアントライブラリであれば動作します。認証は標準の Bearer トークンを使用します。
glm-5.2 のコンテキストウィンドウはどれくらいですか?
glm-5.2 は 131.1K トークンのコンテキストウィンドウに対応しており、プロンプトとモデルの応答で共有されます。
§ 04