Models

GLM 5.2 vs Kat Dev

Output tokens cost $3.94 per million on GLM 5.2 and $0.55 per million on Kat Dev. Input tokens cost $1.13 per million on GLM 5.2 and $0.14 per million on Kat Dev. Cached input tokens are billed at $0.28 per million on GLM 5.2 and $0.14 per million on Kat Dev. Context lengths are 1,000,000 tokens on GLM 5.2 and 128,000 tokens on Kat Dev.

Z.AIGLM 5.2QwenKat Dev
Z.AI logo
GLM 5.2
Z.AI · text → text

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task.

Input$1.13 /M
Output$3.94 /M
Qwen logo
Kat Dev
Qwen · text → text

KAT-Dev (32B) is an open-source 32B parameter model specifically designed for software engineering tasks. It achieved a 62.4% resolution rate on the SWE-Bench Verified benchmark, ranking fifth among all open-source models of various scales. The model is optimized through multiple stages, including intermediate training, supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT), as well as large-scale agent reinforcement learning (RL). Based on Qwen3-32B, its training process lays the foundation for subsequent fine-tuning and reinforcement learning stages by enhancing fundamental abilities such as tool usage, multi-turn interaction, and instruction following. During the fine-tuning phase, the model not only learns eight carefully curated task types and programming scenarios but also innovatively introduces a reinforcement fine-tuning (RFT) stage guided by human engineer-annotated “teacher trajectories.” The final agent reinforcement learning phase addresses scalability challenges through multi-level prefix caching, entropy-based trajectory pruning, and efficient architecture.

Input$0.14 /M
Output$0.55 /M

Pricing & Specifications

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

GLM 5.2
Kat Dev
Input /M
$1.13
$0.14
Output /M
$3.94
$0.55
Cache read /M
$0.28
$0.14
Context length
1,000,000
128,000
Max output
128,000
0
Time to First Token
1.1 s
-
Throughput
37.7 tok/s
-
Modalities
text
text
Supported Parameters
thinkingtoolsfunction callingstructured outputs
tools
API Formats
chat_completions · claude_api
Released
June 16, 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.

glm-5.2kat-dev

Tokens / day

-

Requests / day

-

Performance Past 3 Days

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

glm-5.2kat-dev

Throughput (tok/s)

-

TTFT (s)

-

Uptime (%)

-

Cost calculator

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

Kat Dev
$16.44 /mo
GLM 5.2
$127 /mo

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

FAQ

Which is cheaper: GLM 5.2, Kat Dev?

Kat Dev: $0.55/M output tokens; GLM 5.2: $3.94/M. Use the cost calculator above to estimate your own workload.

How large is each context window?

GLM 5.2 accepts 1,000,000 and Kat Dev accepts 128,000 input tokens.

What inputs and capabilities does each model support?

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

Can I call GLM 5.2 and Kat Dev 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.