LIVE Cheapest: GLM-4.7-Flash $0/Mtok in 154 models tracked Updated Jul 1, 2026
Jul 1, 2026
ModelPriceWatch$/Mtok
Pricing / Compare / GLM-5.2 vs Claude Sonnet 5

GLM-5.2 vs Claude Sonnet 5

Side-by-side comparison of API pricing, specs, benchmarks, and capabilities

🏆 GLM-5.2 is 106.9% cheaper on blended cost ($2.90 vs $6.00/Mtok)
 
by Z.AI
2 providers: Together $1.40/$4.40 Z.AI $1.40/$4.40
Overview
Status Current flagship Open weights Current mid tier
Released Jun 13, 2026 Jun 30, 2026
Pricing per million tokens
Input $1.40/Mtok $2.00/Mtok
Output $4.40/Mtok $10.00/Mtok
Blended avg $2.90/Mtok $6.00/Mtok
Cached input $0.260/Mtok $0.200/Mtok
Specifications
Context window 1M tokens 1M tokens
Parameters Proprietary Proprietary
Speed (TPS)
Modalities
Input
text
textimage
Benchmarks from Vellum LLM Leaderboard
Avg benchmark score
Perf / dollar
GPQA Diamond 68
SWE-Bench 45
HumanEval 84
MATH 500 76
Providers
Available from
Together — $1.40/$4.40/Mtok
Z.AI — $1.40/$4.40/Mtok
Anthropic — $2.00/$10.00/Mtok

Cost at scale — 1M tokens (50/50 input/output)

VolumeGLM-5.2Claude Sonnet 5Savings
1M tokens $2.9 $6 $3.1 (51.7%)
10M tokens $29 $60 $31 (51.7%)
100M tokens $290 $600 $310 (51.7%)
1000M tokens $2900 $6000 $3100 (51.7%)

Summary

GLM-5.2 by Z.AI costs $1.40/Mtok input and $4.40/Mtok output, with a 1M-token context window. It supports text input and is available from 2 providers.

Claude Sonnet 5 by Anthropic costs $2.00/Mtok input and $10.00/Mtok output, with a 1M-token context window. It supports text, image input.

On a blended cost basis, GLM-5.2 is 106.9% cheaper than Claude Sonnet 5.

On benchmarks, Claude Sonnet 5 scores higher ( vs ) on average. In terms of value, Claude Sonnet 5 has better performance per dollar ( vs ).

Note: Pricing is per million tokens. Actual costs vary with usage patterns, prompt caching, and batch discounts. Always verify against official provider pricing pages.