Skip to content
CostPerPrompt

GLM 5 API Pricing

Z.ai (GLM) · context window 205K · prices updated 2026-08-02

Input per 1M tokens
$0.95
Output per 1M tokens
$2.55
Cached input per 1M
$0.2
79% cheaper than fresh input

What real workloads cost on GLM 5

Workload Per request Per month
1K short requests/day (500 in / 150 out) $0.0009 $25.72
Support chatbot, 500 convs/day (~5K in / 1.4K out per conv) $0.0083 $125
Document pipeline, 10K docs/day (3K in / 500 out) $0.0041 $1238

Model your exact traffic in the API cost calculator — it preloads GLM 5 with caching and batch options.

Cheaper alternatives

More Z.ai (GLM) models

Frequently asked questions

How much does the GLM 5 API cost?

GLM 5 costs $0.95 per million input tokens and $2.55 per million output tokens, with cached input at $0.2 per million (79% cheaper). In practice, a typical short request (500 tokens in, 150 out) costs about $0.0009.

What does 1,000 requests per day cost on GLM 5?

At 500 input + 150 output tokens per request, 1,000 requests/day costs about $25.72 per month. Heavier workloads scale linearly — use our API cost calculator to model your exact traffic.

How can I reduce GLM 5 costs?

Three levers, in order of impact: (1) route routine requests to a cheaper tier and keep GLM 5 for hard cases; (2) enable prompt caching — cached input is 79% cheaper, which typically halves chatbot bills; (3) use the batch API for non-urgent jobs at a ~50% discount.

Is GLM 5 worth the price?

It depends on task difficulty. Flagship models earn their premium on complex reasoning, coding, and high-stakes output; mini/flash tiers handle classification, extraction and routine chat at 10–30× lower cost. Benchmark a sample of your real workload on both before committing.