🔥GLM 5.2

Z.ai API model specs with normalized input price, output price, context window, sample workload cost, and related comparisons.

Page updated:  Data confirmed:  Prices normalized to USD per 1M tokens Sample workload: 1M input + 500K output

Budget brief

GLM 5.2 is estimated at $2.48 for the standard workload.

GLM 5.2 is best suited for long-context workloads. A 1M input token plus 500K output token workload is estimated at $2.48.

Input price$0.966per 1M tokens
Output price$3.036per 1M tokens
Context window1.05Mreported maximum
Popularity#83.59T tokens signal volume

Use this as a first-pass planning estimate, then verify provider limits, routing, discounts, and availability before production deployment.

Model Specs
ProviderZ.ai
Model IDz-ai/glm-5.2
Prompt Price
per 1M tokens
$0.966
Completion Price
per 1M tokens
$3.036
Sample Workload Cost
1M input + 500K output
$2.48
Context Window1.05M
Release Date
Popularity#8
Popularity Signal3.59T tokens

Estimate your workload cost

Estimate this model for your workload

Prices are normalized to USD per 1M tokens.
GLM 5.2 Calculating… Estimated monthly API cost
Unit prices $0.966 input / $3.036 output Per 1M tokens

This estimate uses normalized public API pricing per 1M tokens. It is a planning aid, not a billing quote. Verify provider pricing, limits, and terms before production use.

Alternative path

Alternative Shortlist

Open model finder

Use these rows to build a test shortlist around GLM 5.2. Lower cost, same-provider fit, and larger context are separate decisions, so each group is ranked by a different signal.

Lower-cost alternatives

Cross-provider candidates with a lower standard 1M input plus 500K output estimate.

ModelProviderSample CostContextWhy it is hereNext Step
New🔥Ox Alphastealth$01.05MLower standard workload estimate from another provider.Open model Compare
🔥Nemotron 3 Ultra (free)NVIDIA$01MLower standard workload estimate from another provider.Open model Compare
🔥Laguna S 2.1 (free)Poolside$0262.14KLower standard workload estimate from another provider.Open model Compare
New🔥Nemotron 3.5 Lightning (free)NVIDIA$01MLower standard workload estimate from another provider.Open model Compare

Same-provider swaps

Lower-cost options from the same provider, useful when account setup or procurement is already fixed.

ModelProviderSample CostContextWhy it is hereNext Step
GLM 5.2 (free)Z.ai$0256KSame provider with a lower standard workload estimate.Open model Compare
GLM 4.5 Air (free)Z.ai$0131.07KSame provider with a lower standard workload estimate.Open model Compare
GLM 4 32BZ.ai$0.15128KSame provider with a lower standard workload estimate.Open model Compare
GLM 4.7 FlashZ.ai$0.26202.75KSame provider with a lower standard workload estimate.Open model Compare

Larger-context upgrades near this budget

Models with more context that stay within a close sample-cost band when price data is available.

ModelProviderSample CostContextWhy it is hereNext Step
Grok 4.20 Multi-AgentSpaceXAI$2.52MMore context while staying near this model's sample-cost band.Open model Compare
Grok 4.20SpaceXAI$2.52MMore context while staying near this model's sample-cost band.Open model Compare
🔥DeepSeek V4 Flash 0731DeepSeek$0.171.31MMore context while staying near this model's sample-cost band.Open model Compare
DeepSeek V4 Flash Latestdeepseek$0.111.31MMore context while staying near this model's sample-cost band.Open model Compare
Model Introduction

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Best Fit

GLM 5.2 is best suited for long-context workloads.

Cost Example

A 1M input token plus 500K output token workload is estimated at $2.48.

Decision Shortcuts

Compare this model

Search head-to-head pages that include GLM 5.2 and review input price, output price, context, and sample workload cost.

Find comparisons

Cheaper alternatives

Start from models sorted by a standard cost estimate when budget is the first constraint.

Browse low-cost models

High-Interest Comparisons

Search this model
ComparisonCost-first PickContext Pick
No high-interest comparison is currently available for this model.

Popular Comparisons

Search all comparisons
ComparisonNewest Release
🔥DeepSeek V4 Flash 0423 vs 🔥GLM 5.2
🔥DeepSeek V4 Flash 0731 vs 🔥GLM 5.2
🔥GPT-5.6 Luna vs 🔥GLM 5.2
🔥Hy3 vs 🔥GLM 5.2
🔥MiMo-V2.5 vs 🔥GLM 5.2
🔥Nemotron 3 Ultra (free) vs 🔥GLM 5.2
New🔥Ox Alpha vs 🔥GLM 5.2
🔥GLM 5.2 vs 🔥Claude Opus 5
🔥GLM 5.2 vs 🔥DeepSeek V4 Pro 0423
🔥GLM 5.2 vs 🔥Laguna S 2.1 (free)