Z.ai: GLM 5 API Pricing & Cost Breakdown
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
z-ai/glm-5
Technical Specifications
| Canonical ID | z-ai/glm-5 |
| Provider | Z Ai |
| Input Modalities | text |
| Output Modalities | text |
| Open-Weight | No (Proprietary API) |
| Reasoning Optimized | Standard |
| Vision Support | Text-only |
Estimated Monthly API Spend
| Stage | Monthly Tokens | Est. Cost |
|---|---|---|
| Prototype / MVP 500 req/day |
22.5M in / 6.0M out | $41.70/mo |
| Growing SaaS 10,000 req/day |
600.0M in / 150.0M out | $1,080/mo |
| Scale Production 100,000 req/day |
7500.0M in / 1800.0M out | $13,260/mo |
Deploy or Route Z.ai: GLM 5
OpenRouter
Unified API gateway for 300+ LLMs with automatic fallbacks and unified billing.
Together AI
High-throughput serverless inference & fine-tuning for Llama, DeepSeek, and Qwen.
GroqCloud
LPU-accelerated inference delivering hundreds of tokens per second for real-time voice & agents.
Some outbound infrastructure and API gateway links on KostoZero are partner referrals that help keep this observatory free and independent at no extra cost to you.
Cheaper Alternatives to Z.ai: GLM 5
| Model | Provider | Input / 1M | Output / 1M | Blended | Context |
|---|---|---|---|---|---|
| Relace: Relace Search | Relace | $1.00 | $3.00 | $1.50 | 256K |
| OpenAI: GPT-3.5 Turbo (older v0613) | OpenAI | $1.00 | $2.00 | $1.25 | 4K |
| Morph: Morph V3 Large | Morph | $0.90 | $1.90 | $1.15 | 262K |
| Tencent: Hy4 preview | Tencent | $0.751 | $2.25 | $1.13 | 1.05M |
| MoonshotAI: Kimi K2 0905 | Moonshotai | $0.60 | $2.50 | $1.07 | 262K |
| DeepSeek: DeepSeek V4 Pro 0423 | DeepSeek | $0.90 | $1.50 | $1.05 | 1.05M |
Frequently Asked Questions
How much does Z.ai: GLM 5 API cost per 1M tokens?
Z.ai: GLM 5 costs $1.00 per 1M input tokens and $3.20 per 1M output tokens ($1.55 blended at a 3:1 ratio).
What is the maximum context window of Z.ai: GLM 5?
Z.ai: GLM 5 supports up to 204,800 tokens (205K) of input context and up to 131,072 output completion tokens.
What are cheaper alternatives to Z.ai: GLM 5?
Lower-cost options tracked right now include Relace: Relace Search ($1.50/1M), OpenAI: GPT-3.5 Turbo (older v0613) ($1.25/1M), Morph: Morph V3 Large ($1.15/1M).
Get Instant Price-Drop (>10%), New AI Bot & SaaS Cliff Alerts
Every 6 hours our autonomous sync checks 40+ LLMs, AI crawlers, and SaaS pricing cliffs—alerting you when prices drop >10% or new scrapers appear.