TheToolRadar

GLM 4.5 API Cost Calculator

Estimate your monthly API costs for GLM 4.5 from Z Ai.

Pricing per 1M tokens

Input
$0.6000
Output
$2.20
131.1K context98.3K max outputFunction callingStreaming

Pricing last verified: Mar 21, 2026

30-Day Price History

Solid line: input price  ·  Dashed line: output price

Estimate Your Costs

What are you building?

Cost Breakdown

Input cost/request$0.000300
Output cost/request$0.000660
Cost per request$0.000960
Daily cost (1,000 requests)$0.9600
Monthly estimate$28.80
Annual estimate$345.60

Compare with Similar Models

ModelInput/1MOutput/1M
GLM 5
Z Ai
$0.7200$2.30
GLM 4.5V
Z Ai
$0.6000$1.80
GLM 4.6
Z Ai
$0.3900$1.90
GLM 4.7
Z Ai
$0.3900$1.75
GLM 5 Turbo
Z Ai
$0.9600$3.20

Frequently Asked Questions

How much does GLM 4.5 cost per token?

GLM 4.5 is priced at $0.6000 per 1M input tokens and $2.20 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.

What is the context window for GLM 4.5?

GLM 4.5 has a context window of 131.1K tokens (131,072 tokens). The maximum output length is 98.3K tokens.

Does GLM 4.5 support function calling (tool use)?

Yes, GLM 4.5 supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.

How does GLM 4.5 compare to similar models?

GLM 4.5 costs $0.6000 input and $2.20 output per 1M tokens. GLM 4.7 is less expensive at $0.3900 input and $1.75 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the GLM 4.7 page at /tools/cost-calculator/z-ai/glm-4-7.