Zhipu AI

GLM 5.2

Built for reasoning, coding, and long-context agent tasks, improving over GLM-5.1 in context length, tool use, and complex multi-step workflows. Compared with Chinese flagship peers such as Qwen, DeepSeek, and Kimi, it fits enterprise automation, project-level code analysis, and knowledge work in Chinese.

  • 推論
  • ツール利用
  • 関数呼び出し
  • 構造化出力
  • 長いコンテキスト

このモデルの説明は現在の言語に未対応のため、英語で表示しています。

USD

料金

default
標準レート
入力$1.19/1M tokens補完価格$4.14001/1M tokensキャッシュ読込$0.280007/1M tokens

米ドル建ての公開価格です。実際の料金はアカウントグループや利用量により異なる場合があります。

API

コード例

import http.client
import json

conn = http.client.HTTPSConnection("api.tokenhot.cn")
payload = json.dumps({
   "model": "glm-5.2",
   "messages": [
      {
         "role": "user",
         "content": "What model are you"
      }
   ]
})
headers = {
   'Authorization': 'Bearer <token>',
   'Content-Type': 'application/json'
}
conn.request("POST", "/v1/chat/completions", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))

Zhipu AI

関連モデル

ZhipuZhipu AIGLM 5.3

A flagship workhorse for complex software engineering and long-horizon agent tasks. It uses the same base model as GLM-5.2, with improvements driven by post-training, delivering a 50% gain on Z.ai Code Bench alongside stronger terminal-operation and vulnerability-discovery capabilities. It offers a 1M-token context window, up to 128K output, always-on reasoning with low, high, and max effort levels, function calling, and structured outputs. It currently accepts text only and is not intended for tasks requiring visual understanding.

$1.19/1M tokens
ZhipuZhipu AIGLM Image

Built for image generation and editing, with a stronger focus than earlier GLM vision capabilities on Chinese prompts, image-text understanding, and controllable generation. Compared with GPT Image, Gemini image models, and Qwen Image, it fits Chinese marketing assets, explanatory visuals, and iterative visual edits.

$0.88/1M tokens
OpenAIOpenAIGPT 5.4 Nano

Built for reasoning, coding, visual understanding, and agent tasks, with stronger long context, tool use, and scalable reliable output than GPT-5.3. Compared with Claude, Gemini, and Qwen flagship models, it is a strong general-purpose base for reliable automation and complex knowledge workflows.

$0.2/1M tokens
XiaomiMiMoXiaomiMiMoXiaomi Mimo V2.5

Built for agents, coding, and long-context tasks, offering more complete multimodal understanding, a million-token context window, and long-horizon reasoning than MiMo V2. Compared with Chinese peers such as Qwen, GLM, and DeepSeek, its strengths are Xiaomi ecosystem fit and engineering automation scenarios.

$75/1M tokens

FAQ

よくある質問

GLM 5.2 はどの用途に適していますか?

GLM 5.2 は、このページに記載された入出力と機能に適しています。重要なシステムでは実際の負荷で事前に検証してください。

GLM 5.2 の料金体系は?

料金は上の料金セクションに表示されています。実際の費用は利用量、アカウントグループ、リクエスト内容によって異なります。

GLM 5.2 を呼び出すには?

上記のモデル ID と対応 API プロトコルを使用します。利用データがある場合はコード例も表示されます。

はじめる

GLM 5.2 で構築する

コンソールで使う