Z.ai: GLM 4.7 Flash API Pricing & Cost Breakdown
As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...
z-ai/glm-4.7-flash
Technical Specifications
| Canonical ID | z-ai/glm-4.7-flash |
| 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 | $3.76/mo |
| Growing SaaS 10,000 req/day |
600.0M in / 150.0M out | $96.30/mo |
| Scale Production 100,000 req/day |
7500.0M in / 1800.0M out | $1,174/mo |
Deploy or Route Z.ai: GLM 4.7 Flash
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 Flash
| Model | Provider | Input / 1M | Output / 1M | Blended | Context |
|---|---|---|---|---|---|
| Tencent: Hy3 | Tencent | $0.083 | $0.33 | $0.144 | 262K |
| Qwen: Qwen3 32B | Qwen | $0.08 | $0.28 | $0.13 | 131K |
| Tencent: Hy-MT2-30B-A3B | Tencent | $0.074 | $0.295 | $0.129 | 8K |
| Tencent: Hy-MT2-7B | Tencent | $0.074 | $0.295 | $0.129 | 8K |
| Reka Flash 3 | Rekaai | $0.10 | $0.20 | $0.125 | 66K |
| Qwen: Qwen3 Coder 30B A3B Instruct | Qwen | $0.07 | $0.28 | $0.122 | 262K |
Frequently Asked Questions
How much does Z.ai: GLM 4.7 Flash API cost per 1M tokens?
Z.ai: GLM 4.7 Flash costs $0.06 per 1M input tokens and $0.40 per 1M output tokens ($0.145 blended at a 3:1 ratio).
What is the maximum context window of Z.ai: GLM 4.7 Flash?
Z.ai: GLM 4.7 Flash supports up to 200,000 tokens (200K) of input context and up to 117,964 output completion tokens.
What are cheaper alternatives to Z.ai: GLM 4.7 Flash?
Lower-cost options tracked right now include Tencent: Hy3 ($0.144/1M), Qwen: Qwen3 32B ($0.13/1M), Tencent: Hy-MT2-30B-A3B ($0.129/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.