UseRightAI
HomeModelsAsk AIComparePricingWhat's New
UseRightAICut through AI hype. Pick what works.

Independent AI model tracker. Live pricing, real benchmarks, zero vendor bias.

X (Twitter)LinkedInUpdatesContact

Compare

Opus 4.8 vs Opus 4.7Fable 5 vs Opus 4.8New AI Models 2026ChatGPT vs ClaudeGPT-4o vs Claude SonnetClaude vs GeminiDeepSeek vs ChatGPTMistral vs ClaudeGemini Flash vs GPT-4o MiniLlama vs ChatGPTAll comparisons →Build your own →

Best For

CodingWritingDevelopersProduct ManagersDesignersSalesBest Cheap AIBest Free AI

Pricing & Data

API Token PricingCost per TaskPrice HistoryBenchmark ScoresPrivacy & SafetySubscription PlansPlan Usage LimitsCost CalculatorWhich AI is Cheapest?Cheapest AI APIs

Company

About UseRightAIContactWhat ChangedAll ModelsEditorial PolicyDisclosuresPrivacy PolicyTerms of Service

© 2026 UseRightAI. Independent · Free forever · Not affiliated with any AI provider.

Affiliate links are clearly labeled. See disclosures.

HomeModelsGLM-5.2
Z.aiBudget

GLM-5.2

Top open-weights coder — beats GPT-5.5 at a sixth of the cost.

90
Coding
78
Writing
80
Research
40
Images
84
Value
86
Long Context
Use this when

Budget agentic coding at scale

Skip this if

You need frontier reasoning ceiling or launch-day verified benchmarks.

Pricing
$1.40/1M in
$4.40/1M out
→0%since Aug 2026
Context
1M tokens
Speed
Balanced

GLM-5.2specs & pricing

Verified Sep 4, 2026 against the AI Gateway catalog
Input price
$1.40 / 1M tokens
Output price
$4.40 / 1M tokens
Context window
1M tokens
Max output
128k tokens
Knowledge cutoff
—
Released
Jun 16, 2026
Input modalities
Text
Output modalities
Text
Reasoning mode
Yes
Tool use
Yes
Gateway model ID
zai/glm-5.2

Compare every model's knowledge cutoff, max output, and context window.

Announced June 13, 2026; pay-per-token API live June 16. Two reasoning modes ('thinking' and 'max thinking'). GLM Coding Plan: Lite $18/mo (~$12.60 effective yearly), Pro $72, Max $160.

How to access
API
$1.4/1M input tokens
Subscription = chat interface. API = build with it. Compare all subscription plans
Switch to instead if...
Best overall
GPT-6 Astra
Cheaper option
DeepSeek V4-Pro
Faster option
DeepSeek V4-Flash

Strengths

SWE-bench Pro 62.1 — ahead of GPT-5.5 and close to Claude Opus 4.8 on agentic coding

AA Intelligence Index 51 in max-thinking mode — well above similar-size open-weight models

MIT-licensed weights with aggressive pricing: $1.40/$4.40 first-party, cheaper via third-party hosts

Weaknesses

Clear gap to the closed frontier: AA Index 51 vs Claude Opus 5 (61) and GPT-5.6 Sol (59)

Z.ai published no benchmark numbers at launch — buyers depended on third-party evals that arrived weeks later

Real-world use cases

What people actually use GLM-5.2 for.

Agentic coding — 62.1 SWE-bench Pro, ahead of GPT-5.5 at ~1/6th the price

Coding-plan subscriptions from ~$12.60/mo effective for individual developers

Self-hosted or third-party-hosted deployments (DeepInfra from ~$0.75/1M input)

How GLM-5.2 compares

The nearest models people weigh against it, and what actually separates them.

vs GLM-5.3 — Against GLM-5.3 (Z.ai), GLM-5.2 lands within a few percent on price. Which one wins depends on whether context depth or latency is your constraint.

vs DeepSeek V4-Pro — Against DeepSeek V4-Pro (DeepSeek), GLM-5.2 costs about 78% more per token. DeepSeek V4-Pro is the one to check first if the price difference matters more than the ceiling.

vs DeepSeek V4-Flash — Against DeepSeek V4-Flash (DeepSeek), GLM-5.2 costs about 93% more per token and answers slower. DeepSeek V4-Flash is the one to check first if the price difference matters more than the ceiling.

Price History

GLM-5.2 pricing over time

→0% since Aug 7

$1.51$1.46$1.40$1.34$1.29Aug 7Aug 12Aug 17Aug 21Sep 2Sep 7

25 data points · tracked daily since Aug 7, 2026

Ready to try it?

Start using GLM-5.2

Budget agentic coding at scale. Start free — no card required.

Try GLM-5.2 freeCompare alternatives

Recommendations are made independently based on real-world use and public benchmarks. See our disclosures for details.

Compare alternatives

Similar models worth checking before you commit.

All GLM-5.2 alternatives →
Z.aiBudget

GLM-5.3

Z.ai's newest flagship, aimed squarely at software engineering, autonomous agents and cybersecurity — and the first open-weights model to beat Claude Mythos 5 on a security benchmark.

Verdict
Same price as GLM-5.2, far stronger on agents and security.
Quality score
81%
Pricing
$1.40/1M in
$4.40/1M out
Speed
Balanced
3/5 speed
Context
1M tokens
Released August 14, 2026. Z.ai list pricing is $1.40/$4.40, the same rate as GLM-5.2; resellers discount from that list. Also available through the GLM Coding Plan from $18/mo. Reported GPQA Diamond 91.7% and Artificial Analysis Intelligence Index 59.5.
Open weightsAgenticSecurity1M context
Best for
Agentic engineering and security work on open weights
View model
DeepSeekBudget

DeepSeek V4-Pro

DeepSeek's 1.6T-parameter (49B active) MoE flagship with hybrid sparse attention — near-frontier coding and reasoning at roughly a tenth of closed-rival pricing, MIT-licensed open weights.

Verdict
Best open-weights flagship — near-frontier coding at a tenth of the price.
Quality score
82%
Pricing
$0.43/1M in
$0.87/1M out
Speed
Balanced
3/5 speed
Context
1M tokens
Open-weight preview April 24; GA ~July 20, 2026. Off-peak pricing verified on api-docs.deepseek.com; Beijing-business-hours surge doubles it. Legacy deepseek-chat/reasoner endpoints retired July 24, 2026.
Open weightsCodingReasoningBudget1M context
Best for
Frontier-level coding and reasoning on a budget
View model
DeepSeekBudget

DeepSeek V4-Flash

A 284B-parameter (13B active) MoE workhorse re-post-trained for agentic and coding tasks — beats the V4-Pro preview on every published agent benchmark at ultra-commodity pricing.

Verdict
Best agentic capability per dollar in the directory.
Quality score
76%
Pricing
$0.14/1M in
$0.28/1M out
Speed
Fast
4/5 speed
Context
1M tokens
Official V4-Flash-0731 release July 31, 2026; weights on Hugging Face, API in public beta. Only DeepSeek model supporting the Responses API. DeepSeek has warned of a future price increase.
Open weightsBudgetAgenticUltra cheap1M context
Best for
High-volume agentic coding and tool-use pipelines
View model

GLM-5.2 head-to-head

All GLM-5.2 alternatives →DeepSeek V4-Pro vs GLM-5.2 →GLM-5.2 vs Kimi K2.7 Code →GLM-5.3 vs GLM-5.2 →View benchmark scores →

FAQ

How much does GLM-5.2 cost?

GLM-5.2 costs $1.4 per million input tokens and $4.4 per million output tokens on the API. A month of 10M input and 2M output tokens runs about $22.80 at list price, before any batch or caching discounts.

What is the context window of GLM-5.2?

GLM-5.2 has a 1M tokens context window, with up to 128k tokens of output per response. That is the total of prompt plus response the model can hold in one request.

What is GLM-5.2 best for?

GLM-5.2 is best for budget agentic coding at scale. It is a strong fit when that workflow matters more than the tradeoffs around budget pricing and balanced speed.

When should I avoid GLM-5.2?

You need frontier reasoning ceiling or launch-day verified benchmarks.

What is a cheaper alternative to GLM-5.2?

DeepSeek V4-Pro (DeepSeek) at $0.43/1M/1M input against GLM-5.2's $1.40/1M/1M — roughly 78% less per token all in. Best open-weights flagship — near-frontier coding at a tenth of the price. Compare it first if GLM-5.2's pricing is the thing stopping you.

What is a faster alternative to GLM-5.2?

DeepSeek V4-Flash — fast against GLM-5.2's balanced, with 1M tokens of context. Worth the swap when response time is what your users notice rather than the last few points of reasoning depth.

Newsletter

Get notified when GLM-5.2 pricing changes

We track pricing daily. When this model drops or spikes, you'll know first.

No spam. Useful updates only. Affiliate disclosures always clearly labeled.

User reviews

No reviews yet — be the first.