whichllm — Browse and compare AI model specs and pricing

Alibaba (China)

GLM-5.2 model ID, context window & pricing

glm

Quick facts

Model ID glm-5.2
Source Alibaba (China)
Context Window 1000000
Pricing $1.10 input / $3.85 output per 1M tokens
Capabilities tool calling, reasoning, structured output, temperature control, open weights

Model overview

GLM-5.2 is an AI model from Alibaba (China) with 1000000 token context window and text input support.

Published pricing is $1.10 input and $3.85 output per 1M tokens.

  • Workloads that use text inputs with text outputs.
  • Agent and tool workflows that need function calling.
  • Reasoning-heavy prompts where stepwise problem solving matters.
Model ID glm-5.2
Provider Alibaba (China)
Family glm
Status -
Knowledge Cutoff -
Release Date 2026-06-13
Input Modalities text
Output Modalities text
Context Window 1000000
Input Limit -
Output Limit 128000
Tool Calling Yes
Reasoning Yes
Structured Output Yes
Temperature Control Yes
Open Weights Yes
Input Cost / 1M tokens $1.10
Output Cost / 1M tokens $3.85
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens $0.28
Cache Write Cost / 1M tokens $0.00