← Models

Coding GLM 5.2 vs Coding GLM 5.3

Compare Coding GLM 5.2 from Z.AI and Coding GLM 5.3 from Z.AI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the AIHubMix API.

Z.AICoding GLM 5.2Z.AICoding GLM 5.3
Z.AI logo
Coding GLM 5.2
Z.AI · text → text

Currently, the special resources for this model are limited, but due to its popularity, the usage is too high, which may result in a large number of 429 errors. Resources have been coordinated, and improvements are expected in the coming weeks, so please stay tuned. In the meantime, it is recommended to use the regular-priced API model, which can ensure absolute stability. The model ID is glm-5.2.

Input$0.06 /M
Output$0.22 /M
Z.AI logo
Coding GLM 5.3
Z.AI · text → text

GLM-5.3 is Z.ai’s reasoning model for coding and agentic workflows, designed for complex software engineering, long-running agents, and vulnerability analysis. It uses the same base model as GLM-5.2, with scaled post-training improving coding, task execution, and token efficiency. This model is a limited-time preview version of GLM-5.3, intended for testing and evaluation only. Service stability is not guaranteed, and we do not recommend using it in production environments. We’re waiting for the official commercial API release and will integrate it as soon as official support becomes available.

Input$0.06 /M
Output$0.22 /M
Cache read$0.015 /M

Pricing & Specifications

Prices are per million tokens. Time to First Token and throughput are rolling averages measured on AIHubMix.

Coding GLM 5.2
Coding GLM 5.3
Input /M
$0.06
$0.06
Output /M
$0.22
$0.22
Cache read /M
-
$0.015
Context length
1,000,000
1,048,576
Max output
131,072
131,072
Time to First Token
6.1 s
5.9 s
Throughput
53.1 tok/s
37.4 tok/s
Modalities
text
text
Supported Parameters
thinkingtoolsfunction callingstructured outputs
thinkingtoolsfunction callingstructured outputs
API Formats
chat_completions · claude_api
Released
June 16, 2026
August 14, 2026

Promotional prices show the discounted rate; see each model page for promotion windows.

Activity Past 30 Days

Daily traffic served through AIHubMix — how demand for each model is trending.

coding-glm-5.2coding-glm-5.3

Tokens / day

-

Requests / day

-

Performance Past 3 Days

Measured on real AIHubMix traffic, hourly buckets. Gaps mean no traffic in that hour.

coding-glm-5.2coding-glm-5.3

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

Cost calculator

Estimate your monthly bill for the same workload on each model.

Coding GLM 5.2
$6.90 /mo
Coding GLM 5.3
$6.90 /mo

Monthly = daily × 30. Discounted rates applied where a promotion is active.

FAQ

Which is cheaper: Coding GLM 5.2, Coding GLM 5.3?

Coding GLM 5.2: $0.22/M output tokens; Coding GLM 5.3: $0.22/M. Use the cost calculator above to estimate your own workload.

Which responds faster?

Coding GLM 5.3: 5.9s time to first token measured on AIHubMix; see the live performance charts above for how each model behaves across the day.

How large is each context window?

Coding GLM 5.2 accepts 1,000,000 and Coding GLM 5.3 accepts 1,048,576 input tokens. Maximum output per request is 131,072 tokens on Coding GLM 5.2 and 131,072 tokens on Coding GLM 5.3.

Which one generates tokens faster?

Coding GLM 5.2 at 53.1 tok/s and Coding GLM 5.3 at 37.4 tok/s, measured as output throughput on AIHubMix — a separate metric from time to first token.

What inputs and capabilities does each model support?

Coding GLM 5.2 accepts text input and supports thinking, tool calling, function calling and structured outputs; Coding GLM 5.3 accepts text input and supports thinking, tool calling, function calling and structured outputs.

Can I call Coding GLM 5.2 and Coding GLM 5.3 with the same API key?

Yes. AIHubMix serves every model on this page behind one OpenAI-compatible endpoint, so switching between them is a one-line change to the model field — no second account, key or SDK.

Popular comparisons

Related model match-ups readers also look at.