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?

Используйте идентификатор модели и поддерживаемый протокол API. Примеры кода показаны, когда доступны данные использования.

Начать

Создавайте с GLM 5.2

Открыть в консоли