softwareestimator.com

GLM 5.2 API pricing

Z.ai · z-ai/glm-5.2 · synced November 22, 2026

GLM 5.2 costs $0.62 per million input tokens and $2.42 per million output tokens, with cached input at $0.14 and a batch tier at $0.322/$0.989 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $5–$125 a month, and building a SaaS MVP with it lands around $13–$312 in tokens.

Input
$0.62 / 1M
Output
$2.42 / 1M
Cache read
$0.14 / 1M
Batch
$0.322 / $0.989
Context
1M tokens
Max output
944k tokens
Released
Jun 2026
Tools / reasoning
tools · reasoning

What it costs in practice

A month of AI coding

One developer running a coding agent daily, 20M–200M tokens.

Low
$5
20M tokens
Expected
$23
60M tokens
High
$125
200M tokens

Building a SaaS MVP

Stripe billing, OAuth, webhooks: the estimator's SaaS preset.

Low
$13
50M tokens
Expected
$59
150M tokens
High
$312
500M tokens

Assumptions are on the methodology page. Price your own project →

Similar cost, other providers

Model Provider Input /1M Output /1M Cache read Context Coding month* Released
Kimi K2.7 Code Moonshot AI $0.60 $3 $0.12 262k $5–$135 Jun 2026
Mistral Large 4 Mistral $0.70 $2.10 $0.07 1M $4–$118 Oct 2026
Gemini 3.7 Flash Google $0.75 $3.75 $0.075 1M $5–$163 Aug 2026
Gemini 3.6 Flash Google $0.75 $3.75 $0.075 1M $5–$163 Jul 2026
Nemotron 3 Ultra NVIDIA $0.50 $2.20 $0.10 262k $4–$106 Jun 2026
Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) Google $0.25 $1.50 — 66k $6–$80 Jun 2026

Other Z.ai models

Model Input /1M Output /1M Cache read Context Coding month* Released
GLM 5.3 FlashX Legal $0.37 $1.25 $0.075 1M $3–$69 Nov 2026
GLM 5.3 Prime $1.68 $5.28 $0.336 1M $12–$304 Sep 2026
GLM 5.3 FlashX $0.37 $1.25 $0.075 1M $3–$69 Sep 2026
GLM 5.3 Flash $0.15 $0.50 $0.03 1M $1–$28 Aug 2026
GLM 5.3 $0.0699 $1.40 $0.0689 1M $2–$46 Aug 2026

Frequently asked questions

How much does GLM 5.2 cost?

GLM 5.2 costs $0.62 per million input tokens and $2.42 per million output tokens, with cached input at $0.14 and a batch tier at $0.322/$0.989 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $5–$125 a month, and building a SaaS MVP with it lands around $13–$312 in tokens.

Is GLM 5.2 cheaper than similar models?

The closest models by real coding cost are Kimi K2.7 Code (Moonshot AI, $0.60/$3), Mistral Large 4 (Mistral, $0.70/$2.10), Gemini 3.7 Flash (Google, $0.75/$3.75). Per-token price is only half the story: a model that needs fewer retries can cost less overall.

Why is the estimate a range?

Agentic coding spend varies more than 10× between runs of the same task. Cache hit rate, retries and how much log output goes back into context decide where you land, so we show low, expected and high rather than one number.

Prices are OpenRouter list prices from openrouter.ai/models, which normally match Z.ai's own. Estimates are for planning, not quotes.