Z.ai: GLM 4.7 API Pricing & Cost Breakdown
GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...
z-ai/glm-4.7
Technical Specifications
| Canonical ID | z-ai/glm-4.7 |
| 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 | $19.50/mo |
| Growing SaaS 10,000 req/day |
600.0M in / 150.0M out | $502.50/mo |
| Scale Production 100,000 req/day |
7500.0M in / 1800.0M out | $6,150/mo |
Deploy or Route Z.ai: GLM 4.7
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 4.7
| Model | Provider | Input / 1M | Output / 1M | Blended | Context |
|---|---|---|---|---|---|
| Meta: Llama 3.1 70B Instruct | Meta Llama | $0.72 | $0.72 | $0.72 | 131K |
| Meta: Llama 3.3 70B Instruct | Meta Llama | $0.71 | $0.71 | $0.71 | 131K |
| Google: Gemma 2 27B | $0.65 | $0.65 | $0.65 | 8K | |
| TheDrummer: Skyfall 36B V2 | Thedrummer | $0.55 | $0.80 | $0.613 | 33K |
| Motif Technologies: Motif 3 | Motif Technologies | $0.30 | $1.20 | $0.525 | 262K |
| Qwen: Qwen3 Coder 480B A35B | Qwen | $0.30 | $1.00 | $0.475 | 262K |
Direct Head-to-Head Comparisons
Frequently Asked Questions
How much does Z.ai: GLM 4.7 API cost per 1M tokens?
Z.ai: GLM 4.7 costs $0.40 per 1M input tokens and $1.75 per 1M output tokens ($0.738 blended at a 3:1 ratio).
What is the maximum context window of Z.ai: GLM 4.7?
Z.ai: GLM 4.7 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 4.7?
Lower-cost options tracked right now include Meta: Llama 3.1 70B Instruct ($0.72/1M), Meta: Llama 3.3 70B Instruct ($0.71/1M), Google: Gemma 2 27B ($0.65/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.