GLM-5.1 model ID, context window & pricing
glm
Quick facts
Model ID glm-5.1
Source Alibaba (China)
Context Window 202752
Pricing $0.87 input / $3.48 output per 1M tokens
Capabilities tool calling, reasoning, structured output, temperature control, open weights
Model overview
GLM-5.1 is an AI model from Alibaba (China) with 202752 token context window and text input support.
Published pricing is $0.87 input and $3.48 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.1
Provider Alibaba (China)
Family glm
Status -
Knowledge Cutoff -
Release Date 2026-04-14
Input Modalities text
Output Modalities text
Context Window 202752
Input Limit -
Output Limit 128000
Tool Calling Yes
Reasoning Yes
Structured Output Yes
Temperature Control Yes
Open Weights Yes
Input Cost / 1M tokens $0.87
Output Cost / 1M tokens $3.48
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens $0.17
Cache Write Cost / 1M tokens -