Zhipu charges for GLM through two separate systems: the GLM Coding Plan is a subscription that burns credits (personal ¥118–¥1078/mo), while the Open Platform API bills per token (pricing-page flagship GLM-5.2 from ¥8/¥28) — completely different pricing logic. For heavy coding inside tools like Claude Code and Cursor, buy the subscription — fixed monthly fee, quota resets instead of extra charges; for low-frequency calls or self-hosted backends, use the API — billed per token, with Batch at 50% and cache-hit discounts. This comparison uses each side's latest flagship — GLM-5.3 on the subscription side, GLM-5.2 on the pay-as-you-go side — to cover price conversion, discount boundaries and key boundaries.
Two Billing Systems: Get Them Straight First
The GLM Coding Plan is "subscription + credits"; the Open Platform API is "pay-as-you-go + tokens". The billing units aren't even the same. The boundaries:
| Dimension | GLM Coding Plan (subscription) | Open Platform API (pay-as-you-go) |
|---|---|---|
| Billing unit | Credits (5h + weekly quota) | Tokens (input/output rates) |
| Charging | Free within quota, resets on cycle | Real-time deduction from balance |
| Price range | Personal ¥118–¥1078/mo | Per-model rates, no monthly fee |
| Scope | Officially supported coding tools (Claude Code, Cursor, etc.) | Any OpenAI/Anthropic-compatible call |
| Key system | Coding-specific key | Open Platform API key |
The two key systems are not interchangeable and quotas are not shared. Using a subscription key for a backend, or an API key for Claude Code, is misuse that may trigger risk controls.
The subscription runs on credit cycles; the API runs on balance, and rate limit rules differ too. The Coding Plan's quota is issued on 5-hour and weekly cycles, resets without auto-charging balance, and its limits relate to peak hours, tools and official risk controls; the Open Platform API's quota is your account balance deducted per token in real time, with limits tied to account tier and cumulative top-up, and free models (like GLM-4.7-Flash) carry fair-use constraints. Switching from one system to the other means applying for a new key — consumed credits/balance do not transfer.
Price Comparison: GLM-5.3 Credits ↔ GLM-5.2 Rates
Each side's latest flagship: on the subscription side it's GLM-5.3 (Input 6.9 / Cached 1.7 / Output 24 credits, with legacy GLM-5.2/5.1 calls auto-routing to GLM-5.3), and on the pay-as-you-go side the pricing-page flagship is GLM-5.2 (flat ¥8/¥28, cache hit ¥2). GLM-5.3's standalone API price is still unpublished as of August 18 (source), so the pay-as-you-go side uses GLM-5.2 as the latest reference — we don't invent an API price for 5.3.
Let's rough out what "Pro at ¥538/mo" actually buys: Pro includes 60,000 credits/week; at GLM-5.3's 24 credits per 1M output tokens, that's roughly 2,500M output tokens per week. Buying the same volume through the pay-as-you-go GLM-5.2 at ¥28 per 1M output tokens would cost about ¥70,000/week — this is an idealized estimate (off-peak 50% burn, cache hits and Batch shift both sides), but the magnitude gap is real: for high-frequency coding, the subscription wins by a landslide.
| Item | GLM-5.2 (API pay-as-you-go) | GLM-5.3 (Coding Plan credits) |
|---|---|---|
| Input | ¥8 / 1M tokens | 6.9 credits / 1M tokens |
| Output | ¥28 / 1M tokens | 24 credits / 1M tokens |
| Cache hit | ¥2 | 1.7 credits |
| Entry | Top up as you go | Pay monthly, from ¥118 |
For lower burn, cheaper tiers exist: GLM-4.7 runs Input 4.6 / Cached 1.2 / Output 16 credits on the Coding Plan and ¥2/¥8 on the API — GLM-5.3's credit coefficients run about 50% higher than GLM-4.7. Switch to 5.3 for hard tasks and use a cheaper model for daily coding to stretch your quota.
When the Subscription Wins, When Pay-as-You-Go Wins
There's one test: is your usage "high-frequency long-chain work inside coding tools"?
The subscription (Coding Plan) wins when:
- You work heavily in Claude Code / Cursor / Cline every day with long task chains and dense tool calls.
- Usage is steady, and you'd rather hit a 5-hour or weekly reset than watch balance drain in real time.
- You want the off-peak 50% credit burn plus quarterly/annual discounts.
Pay-as-you-go (Open Platform API) wins when:
- You run self-hosted backends, automation pipelines or batch jobs that need a programmable, stable endpoint.
- Calls are low-frequency with small monthly token spend — a monthly fee isn't worth it.
- You want Batch API at 50% for offline workloads, or you reuse fixed context heavily to eat cache-hit discounts.
Discount Boundaries: The Deals Don't Mix
The subscription's deals live in "quarterly/annual + off-peak burn"; the API's deals live in "Batch at 50% + cache hits". They are per-system and don't stack — don't mix them in your math.
- Coding Plan: 20% off quarterly, 30% off annual; model calls burn at 50% of base credits off-peak (outside Mon–Fri 14:00–18:00 UTC+8).
- Open Platform API: Batch API settles supported text models at about 50% of realtime rates; cache-hit input drops sharply (GLM-5.2 from ¥8 to ¥2); cache storage is currently free.
Note that "off-peak 50%" and "Batch 50%" belong to different systems and never stack. GLM-5.3's API price is still unpublished as of August 18, so pay-as-you-go comparisons must use the pricing-page flagship GLM-5.2's ¥8/¥28 as the reference.
How to Choose: Three Decision Signals
Three direct verdicts — match yours and go.
- You write code in Claude Code / Cursor every day → buy the GLM Coding Plan; pick the tier by intensity: Lite light, Pro frequent, Max heavy, and switch flagship calls to GLM-5.3.
- You run backends, automation or low-frequency calls → Open Platform API pay-as-you-go, using GLM-5.2 (¥8/¥28) or GLM-4.7 (¥2/¥8) to control cost.
- You want the absolute cheapest route → subscription: annual 30% off + off-peak 50% burn; API: Batch at 50% + cache hits. Each system has its own optimum; there's no cross-system stacking.
For a broader comparison, check DeepSeek API, Kimi API and Volcengine among domestic players. Zhipu sits mid-to-upper in the Chinese first tier, with the selling points of 1M context and strong coding ability.
Caveats
Three caveats worth remembering before you commit.
- GLM-5.3's standalone API price is unpublished; the pay-as-you-go side currently references the pricing-page flagship GLM-5.2, and conclusions may change once the official page updates.
- Using a subscription key for unsupported tools, or an API key for coding tools, is misuse that may trigger risk controls.
- Free models carry fair-use limits — load-test concurrency before scaling production traffic.