Skip to content
ModelPriceLab

Search model prices

Find source-linked rates by model, vendor, or platform.

Z-AI (GLM) API Pricing

Complete pricing for all Z-AI (GLM) models. Input/output costs per 1M tokens, context windows, and rate limits.

Billing terms: priced in USD per 1M tokens unless a row states otherwise; official direct rates are listed separately from third-party channels, and regional prices are kept distinct. Record updated 2026-10-10.

Z-AI (GLM) API Pricing Calculator

Select a model to estimate monthly cost using its listed rates on each channel.

Quick examples:
Input mode
Cache hit rate (share of input tokens served from cache)50%

Workloads reusing system prompts, long documents, or conversation history hit more; channels without a cached rate are billed at the full input rate.

Estimated monthly cost at current inputs
ChannelEffective inputOutput /1MEst. / month
official$0.36(w/ cache)$2.20$2.47

Formula: monthly cost = (input tokens × effective input rate + output tokens × output rate) ÷ 1,000,000 × calls. The effective input rate blends list and cached rates at your cache-hit share. Rates share the selected model and billing basis; your vendor bill is authoritative.

Currently available rates

GLM 5.2 (batch)

LLMz-ai-glm-5.2-batch
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.70
$2.20
$0.07
1049K
944K
Sources: OpenRouter

GLM 5.2 (free)

LLMz-ai-glm-5.2-free
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.0000
$0.0000
—
33K
29K
Sources: OpenRouter

GLM 5.3 (batch)

LLMz-ai-glm-5.3-batch
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.45
$2.00
$0.10
1049K
131K
Sources: OpenRouter

GLM 5.3 Flash (batch)

LLMz-ai-glm-5.3-flash-batch
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.06
$0.20
$0.01
1049K
131K
Sources: OpenRouter

GLM 5.3 Prime

LLMz-ai-glm-5.3-prime
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$2.80
$8.80
$0.56
1000K
131K
Sources: OpenRouter

GLM Flash Latest

LLMz-ai-glm-flash-latest
View Details
Deprecated

Deprecated endpoints may still be callable. Migrate before retirement.

Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.04
$0.50
$0.02
1049K
131K
Sources: OpenRouter

GLM Latest

LLMz-ai-glm-latest
View Details
Deprecated

Deprecated endpoints may still be callable. Migrate before retirement.

Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.03
$16.00
$0.03
1049K
131K
Sources: OpenRouter

GLM-4.5

LLMz-ai-glm-4.5
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.60
$2.20
$0.11
131K
98K
Official
global
1M Tokens
$0.60
$2.20
$0.11
131K
98K
Sources: OpenRouter · Official

GLM-4.5-Air

LLMz-ai-glm-4.5-air
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.13
$0.85
$0.03
131K
98K
Official
global
1M Tokens
$0.20
$1.10
$0.03
131K
98K
Sources: OpenRouter · Official

GLM-4.5-Flash

LLMz-ai-glm-4.5-flash
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3-flash
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.0000
$0.0000
$0.0000
131K
98K
Sources: Official

GLM-4.5V

LLMz-ai-glm-4.5v
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-4.6v
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.60
$1.80
$0.11
66K
16K
Official
global
1M Tokens
$0.60
$1.80
—
64K
16K
Sources: OpenRouter · Official

GLM-4.6

LLMz-ai-glm-4.6
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.43
$1.75
$0.08
205K
16K
Official
global
1M Tokens
$0.60
$2.20
$0.11
205K
131K
Sources: OpenRouter · Official

GLM-4.6V

LLMz-ai-glm-4.6v
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.30
$0.90
$0.05
131K
33K
Official
global
1M Tokens
$0.30
$0.90
—
128K
33K
Sources: OpenRouter · Official

GLM-4.6V-Flash

LLMz-ai-glm-4.6v-flash
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.0000
$0.0000
$0.0000
128K
33K
Sources: Official

GLM-4.7

LLMz-ai-glm-4.7
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.60
$2.20
$0.11
205K
131K
Official
global
1M Tokens
$0.60
$2.20
$0.11
205K
131K
Sources: OpenRouter · Official

GLM-4.7-Flash

LLMz-ai-glm-4.7-flash
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3-flash
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.06
$0.40
—
200K
118K
Official
global
1M Tokens
$0.0000
$0.0000
$0.0000
200K
131K
Sources: OpenRouter · Official

GLM-4.7-FlashX

LLMz-ai-glm-4.7-flashx
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3-flashx
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
Official
global
1M Tokens
$0.07
$0.40
$0.01
200K
131K
Sources: Official

GLM-5

LLMz-ai-glm-5
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.60
$1.92
$0.12
205K
128K
Official
global
1M Tokens
$1.00
$3.20
$0.20
205K
131K
Sources: OpenRouter · Official

GLM-5-Turbo

LLMz-ai-glm-5-turbo
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$1.20
$4.00
$0.24
203K
131K
Official
global
1M Tokens
$1.20
$4.00
$0.24
200K
131K
Sources: OpenRouter · Official

GLM-5.1

LLMz-ai-glm-5.1
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$1.40
$4.40
$0.26
205K
131K
Official
global
1M Tokens
$1.40
$4.40
$0.26
200K
131K
Sources: OpenRouter · Official

GLM-5.2

LLMz-ai-glm-5.2
View Details
Legacy / Superseded

Legacy / superseded version. Newer models are available; official or partner channels may still serve this version.

Replacement reference: z-ai-glm-5.3
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.02
$16.00
$0.02
1049K
131K
Official
global
1M Tokens
$1.40
$4.40
$0.26
1000K
131K
Sources: OpenRouter · Official

GLM-5.3

LLMz-ai-glm-5.3
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$1.40
$4.40
$0.14
1049K
131K
Official
global
1M Tokens
$1.40
$4.40
$0.26
1000K
131K
Sources: OpenRouter · Official

GLM-5.3-Flash

LLMz-ai-glm-5.3-flash
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.15
$0.50
$0.03
1049K
944K
Official
global
1M Tokens
$0.15
$0.50
$0.03
1000K
131K
Sources: OpenRouter · Official

GLM-5.3-FlashX

LLMz-ai-glm-5.3-flashx
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$0.37
$1.25
$0.09
1049K
131K
Official
global
1M Tokens
$0.37
$1.25
$0.08
1000K
131K
Sources: OpenRouter · Official

GLM-5V-Turbo

LLMz-ai-glm-5v-turbo
View Details
Platform
Region
Input / 1M
Output / 1M
Cached input
Context
Max Output
OpenRouter
global
1M Tokens
$1.20
$4.00
$0.24
203K
131K
Official
global
1M Tokens
$1.20
$4.00
$0.24
200K
131K
Sources: OpenRouter · Official
AI Cost Optimization

Does this change your best option?

Check your models and usage for free. See the relevant official changes, estimated cost, and a practical next step.