Compare / GLM

GLM · canonical pair

GLM-5.1 vs GLM-5.2

Alphabetical by model id, so this URL is the one to index. GLM-5.1 is zhipuai/glm-5.1. GLM-5.2 is zhipuai/glm-5.2. Both are among the models the most providers list, inside the GLM group.

A

GLM-5.1

$15.00

per month at the reference workload

  • Reasoning
  • Tool use
  • Structured output
  • Long context
  • Open weights

vs

B

GLM-5.2

$15.00

per month at the reference workload

  • Reasoning
  • Tool use
  • Structured output
  • Long context
  • Open weights
100 requests a day, 2,000 input tokens and 500 output tokens, no cache hits. A light chat workload so the rate cards are comparable.
SpecGLM-5.1GLM-5.2
Monthly, reference workload$15.00$15.00
Input / 1M$1.40$1.40
Output / 1M$4.40$4.40
Cache read / 1M$0.26$0.26
Cache write / 1M$0$0
Context200,0001,000,000
Max output131,072131,072
ReasoningYesYes
Tool callsYesYes
VisionNoNo
Open weightsYesYes
Providers4588
Released2026-04-072026-06-13

Same workload, your numbers

Prices are USD per 1M tokens. A month is 30 days. Cache hits use the cache-read rate when the model has one; otherwise the cache field is ignored.

Estimated monthly cost

GLM-5.1

$15.00

Estimated monthly cost

GLM-5.2

$15.00

GLM-5.1 and GLM-5.2 cost the same at these inputs.

monthly = requests/day × 30 × (input tokens × (1 − cache hit) × input price + input tokens × cache hit × cache-read price + output tokens × output price) ÷ 1,000,000