Claude Sonnet 4.6 vs GLM 5.2

API pricing, monthly cost and benchmark scores for Claude Sonnet 4.6 (Anthropic) and GLM 5.2 (Z.AI), side by side.

Prices checked Nov 29, 2026

The short answer

GLM 5.2 is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $1,226 a month against $3,402 for Claude Sonnet 4.6, 64% less. Claude Sonnet 4.6 (152.9) and GLM 5.2 (153.1) are within half a point on the Epoch Capabilities Index, so there is no meaningful intelligence gap.

Both have a 1,000,000-token context window. Across the 6 benchmarks both have results for, Claude Sonnet 4.6 leads on 2 and GLM 5.2 on 4.

Side by side

SpecificationAnthropic Claude Sonnet 4.6Z.AI GLM 5.2
Input price per 1M tokens$3.00$1.40
Cached input per 1M tokens$0.300$0.260
Output price per 1M tokens$15.00$4.40
Batch input / cached / output per 1M$1.50 / $0.150 / $7.50$0.322 / $0.109 / $0.989
Context window1M tokens1M tokens
Epoch Capabilities Index152.9153.1
GPQA86.6%92.9%
Release dateFeb 17, 2026Jun 16, 2026
Open weightsNoYes
Capabilitiestools, reasoning, json, vision, pdftools, 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.

WorkloadAnthropic Claude Sonnet 4.6Z.AI GLM 5.2Difference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$3,402.00$1,226.40GLM 5.2 is 64% cheaper
Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached$7,110.00$3,228.00GLM 5.2 is 55% cheaper
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$9,450.00$2,850.00GLM 5.2 is 70% cheaper

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.

BenchmarkAnthropic Claude Sonnet 4.6Z.AI GLM 5.2
Epoch Capabilities IndexECI152.9153.1
FrontierCodeMain score (%)24.3124.5
APEX-Agents% pass@14345.2
ARC-AGI-2% solved60.4222.78
SimpleQA Verified% correct35.534.2
GPQA Diamond% accuracy86.6392.86

Go further

Frequently asked questions

Is Claude Sonnet 4.6 cheaper than GLM 5.2?
GLM 5.2 is cheaper. On the default workload it costs $1,226 a month against $3,402 for Claude Sonnet 4.6, which is 64% less. Per 1M tokens, Claude Sonnet 4.6 charges $3.00 for input and $15.00 for output; GLM 5.2 charges $1.40 and $4.40.
Which scores higher, Claude Sonnet 4.6 or GLM 5.2?
GLM 5.2 has the higher Epoch Capabilities Index score: 152.9 for Claude Sonnet 4.6 and 153.1 for GLM 5.2. Their confidence intervals overlap, so the difference may be noise.
Which has the larger context window?
Both accept 1,000,000 tokens of context.
How do cached input and batch pricing compare?
Cached input costs $0.300 per 1M tokens on Claude Sonnet 4.6 and $0.260 on GLM 5.2. Batch rates: Claude Sonnet 4.6 $1.50 in and $7.50 out; GLM 5.2 $0.322 in and $0.989 out.