GLM 5.1 vs GLM 5.2

API pricing, monthly cost and benchmark scores for GLM 5.1 (Z.AI) and GLM 5.2 (Z.AI), side by side.

Prices checked Nov 29, 2026

The short answer

GLM 5.1 and GLM 5.2 cost about the same on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $1,226 and $1,226 a month. GLM 5.2 scores higher on the Epoch Capabilities Index, 153.1 against 150.7 for GLM 5.1, but the confidence intervals overlap, so the gap may not be real.

GLM 5.2 has the larger context window, 1,000,000 tokens against 205,000. Across the 5 benchmarks both have results for, GLM 5.1 leads on 0 and GLM 5.2 on 5.

Side by side

SpecificationZ.AI GLM 5.1Z.AI GLM 5.2
Input price per 1M tokens$1.40$1.40
Cached input per 1M tokens$0.260$0.260
Output price per 1M tokens$4.40$4.40
Batch input / cached / output per 1MNot listed$0.322 / $0.109 / $0.989
Context window205K tokens1M tokens
Epoch Capabilities Index150.7153.1
GPQA90.1%92.9%
Release dateApr 7, 2026Jun 16, 2026
Open weightsYesYes
Capabilitiestools, reasoning, jsontools, reasoning, json

Monthly cost for three workloads

Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.

WorkloadZ.AI GLM 5.1Z.AI GLM 5.2Difference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$1,226.40$1,226.40About the same
Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached$3,228.00$3,228.00About the same
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$2,850.00$2,850.00About the same

Benchmark by benchmark

Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.

BenchmarkZ.AI GLM 5.1Z.AI GLM 5.2
Epoch Capabilities IndexECI150.7153.1
FrontierMath Tiers 1-3% solved38.7862.32
APEX-Agents% pass@140.945.2
SimpleQA Verified% correct3434.2
GPQA Diamond% accuracy90.1492.86

Go further

Frequently asked questions

Is GLM 5.1 cheaper than GLM 5.2?
They cost about the same on the default workload: $1,226 a month for GLM 5.1 and $1,226 for GLM 5.2. Per 1M tokens, GLM 5.1 charges $1.40 for input and $4.40 for output; GLM 5.2 charges $1.40 and $4.40.
Which scores higher, GLM 5.1 or GLM 5.2?
GLM 5.2 has the higher Epoch Capabilities Index score: 150.7 for GLM 5.1 and 153.1 for GLM 5.2. Their confidence intervals overlap, so the difference may be noise.
Which has the larger context window?
GLM 5.2 accepts more: 1,000,000 tokens against 205,000. The window is a limit, not a price; you pay for the tokens you send.
How do cached input and batch pricing compare?
Cached input costs $0.260 per 1M tokens on GLM 5.1 and $0.260 on GLM 5.2. Batch rates: GLM 5.1 not listed; GLM 5.2 $0.322 in and $0.989 out.