whichllm — Browse and compare AI model specs and pricing

Ambient

GLM-5.2 model ID, context window & pricing

glm

Quick facts

Model ID z-ai/glm-5.2
Source Ambient
Context Window 101376
Pricing $1.05 input / $4.40 output per 1M tokens
Capabilities tool calling, reasoning, structured output, temperature control, open weights

Model overview

GLM-5.2 is an AI model from Ambient with 101376 token context window and text input support.

Published pricing is $1.05 input and $4.40 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 z-ai/glm-5.2
Provider Ambient
Family glm
Status -
Knowledge Cutoff -
Release Date 2026-06-13
Input Modalities text
Output Modalities text
Context Window 101376
Input Limit -
Output Limit 101376
Tool Calling Yes
Reasoning Yes
Structured Output Yes
Temperature Control Yes
Open Weights Yes
Input Cost / 1M tokens $1.05
Output Cost / 1M tokens $4.40
Reasoning Cost / 1M tokens -
Cache Read Cost / 1M tokens $0.20
Cache Write Cost / 1M tokens $0.00