G

GLM-5.2 Pricing

Zhipu AI · Zhipu's open-weight coding flagship. A 753B-parameter MoE with 1M context and MI

TL;DR
Price: $1.40/1M input · $4.40/1M output
Context: 1M · max 131,072 output
Cost advantage: Up to 70% cheaper than official API
Access: OpenAI-compatible · No credit card · Instant API key

Save up to 70% on GLM-5.2 API cost

Same model, same quality — pay less per token than the official API. Pay-as-you-go, no credit card required.

$1.40/1M
input token price
INPUT
$1.40
/1M tokens
OUTPUT
$4.40
/1M tokens
CONTEXT
1M

Other Zhipu AI Models

GLM-5.1
$0.85 / $3.40
View Pricing
GLM-5-Turbo
$0.70 / $3.10
View Pricing
GLM-4.5-Air
$0.11 / $0.28
View Pricing
GLM-4.7 Flash
$0.00 / $0.00
View Pricing

GLM-5.2 Pricing Context

Pricing position within Zhipu AI

GLM-5.2 is the most expensive active model from Zhipu AI at $1.40/1M input — the premium tier. The cheapest sibling costs $0.00/1M (100% less). Reserve GLM-5.2 for tasks where its capabilities justify the premium; route bulk traffic to cheaper siblings.

When GLM-5.2 is worth the cost

GLM-5.2 is used for code completion, inline suggestions, test generation, and bulk refactoring. It's tuned for low-latency developer-facing workflows. For reasoning-heavy or multi-step architecture decisions, consider a reasoning-tuned sibling model.

Cost vs sibling models

What makes GLM-5.2 different from sibling models: compared to GLM-5.1 ($0.55/1M cheaper, 128K vs 1M context (smaller)); GLM-5-Turbo ($0.70/1M cheaper, 128K vs 1M context (smaller)); GLM-4.5-Air ($1.29/1M cheaper, 128K vs 1M context (smaller)). Choose GLM-5.2 when code generation is the primary task.

Real-world cost scenarios

Real-world deployments: inline code completion in IDEs, automated test generation, bulk code refactoring pipelines, and code review bots. GLM-5.2 is tuned for low-latency developer workflows where response speed matters as much as code quality.

Get GLM-5.2 API Now

アカウント作成
APIキーを取得