GLM-5.2 vs GLM-5.3-Flash

GLM-5.2 (Z.ai Zhipu AI, June 2026) and GLM-5.3-Flash (Z.ai Zhipu AI, August 2026), compared on price, context window, access and specs. GLM-5.3-Flash is the cheaper API at $0.037 in and $0.13 out per million tokens, about 15× less than GLM-5.2 on a typical 3:1 input-to-output mix. GLM-5.3-Flash reads more at once: a 1.05M-token context window against 1M.

Updated 5 December 2026 · read each row across; the best value in a row is marked

GLM-5.2

Z.ai Zhipu AI

At a glance

Released
16 June 2026
20 August 2026
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
China
China

Price and API

Input, per 1M tokens
$0.007on OpenRouterLowest
$0.037on Hugging Face
Output, per 1M tokens
$1.80on DeepInfra
$0.13on Hugging FaceLowest
Official API id
alibaba/glm-5.2
mistral/zai-glm-5-3-flash
Context window
1M tokens
1.05M tokensLargest
Max output
131K tokens
131K tokens
Takes
Text
Text, Image, PDF
Returns
Text
Text
Supports
ReasoningTool callingStructured outputOpen weights
ReasoningTool callingStructured outputFile inputOpen weights

Scale and training

Parameters
744B744,000,000,000Largest
320B320,000,000,000
Training compute
Not listed
3.2 × 10²⁴ FLOP
Confidence
Confident
Likely

Notes

Parameters
40 billion active
320B total, 18B active.
Training compute
Not listed
6 * 18e9 active parameters * 30e12 tokens = 3.24e24 FLOP. https://docs.z.ai/guides/vlm/glm-5.3-flash says "Combined with our latest 30T-token multimodal pre-training corpus, these changes let GLM-5.3-Flash produce more intelligence with less compute.", which is not definitive in saying that all 30T tokens were used exactly once; likely confidence.

In their own words

Abstract
We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency Improved Architecture: We propose IndexShare, which reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length. We also improve GLM-5.2’s MTP layer for speculative decoding, increasing the acceptance length by up to 20% Pure Open: An MIT open-source license — no regional limits, technical access without bordersRead all
We introduce GLM-5.3-Flash, the first natively multimodal model in the GLM-5 series. With 320B total parameters and just 18B active parameters, it outperforms GLM-5.2 across benchmarks and real-world workloads at one-tenth the price, while approaching Claude Opus 4.8 on coding and agentic benchmarks.Read all

Which should you pick?

High-volume or budget workloads
GLM-5.3-Flash · Lowest list price: $0.037 in and $0.13 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
GLM-5.3-Flash · 1.05M tokens of context, 5% more than GLM-5.2.
Reading images and screenshots
GLM-5.3-Flash · Accepts image input through the API.

Questions people ask

Is GLM-5.2 better than GLM-5.3-Flash?

It depends on the job. For high-volume or budget workloads, GLM-5.3-Flash has the edge: lowest list price: $0.037 in and $0.13 out per million tokens via Hugging Face. For long documents, codebases or transcripts, GLM-5.3-Flash has the edge: 1.05M tokens of context, 5% more than GLM-5.2. For reading images and screenshots, GLM-5.3-Flash has the edge: accepts image input through the API. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: GLM-5.2 or GLM-5.3-Flash?

GLM-5.3-Flash: $0.037 in and $0.13 out per million tokens at Hugging Face. GLM-5.2 starts at $0.56 in and $1.80 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

GLM-5.3-Flash, with 1.05M tokens; GLM-5.2 takes 1M. A larger window lets one request hold longer documents or conversations.

Where can I use GLM-5.2 and GLM-5.3-Flash through one API?

DeepInfra, Hugging Face, OpenRouter and Z.ai serve all of them, so you can switch models without opening another account.

When were they released?

GLM-5.2 in June 2026 and GLM-5.3-Flash in August 2026.

Other comparisons