Z.ai: GLM 4.7 Flash API Pricing & Cost Calculator
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,...
ReasoningOpen-Weight z-ai/glm-4.7-flash
Input / 1M
$0.060
Output / 1M
$0.400
Cache Read / 1M
—
Blended 3:1 / 1M
$0.145
Agent Cached / 1M
$0.128
Context Window
131.1K
Monthly Workload Cost Calculator
Daily
$0.502
Monthly
$15.07
Cache Saved
$0.00
Annual
$183.41
Benchmarks & Capabilities
| Intelligence Index | — |
|---|---|
| Coding / Engineering | — / — |
| Agentic Index | — |
| Design Arena Avg ELO | 1145.4 |
| Value Score | — |
| Modality | text->text |
| Max Output | 118.0K |
5 Cheaper Alternatives to Z.ai: GLM 4.7 Flash
| Alternative Model | Blended / 1M | Input / 1M | Output / 1M | Intel | Side-by-Side |
|---|---|---|---|---|---|
| Anthropic: Claude Haiku 5.5 (batch) anthropic/claude-haiku-5.5:batch |
$0.100 | $0.050 | $0.250 | 37 | Compare → |
| DeepSeek: DeepSeek V4.1 Flash 1017 (batch) deepseek/deepseek-v4.1-flash-1017:batch |
$0.064 | $0.035 | $0.149 | 32 | Compare → |
| DeepSeek: DeepSeek V4.1 Flash 1017 deepseek/deepseek-v4.1-flash-1017 |
$0.065 | $0.020 | $0.200 | 32 | Compare → |
| Z.ai: GLM 5.3 Flash (batch) z-ai/glm-5.3-flash:batch |
$0.034 | $0.023 | $0.068 | 28 | Compare → |
| OpenAI: GPT-6 Luna (batch) openai/gpt-6-luna:batch |
$0.100 | $0.050 | $0.250 | 28 | Compare → |
Frequently Asked Questions
How much does Z.ai: GLM 4.7 Flash API cost per 1M tokens?
Z.ai: GLM 4.7 Flash (z-ai/glm-4.7-flash) costs $0.060 per 1M input tokens and $0.400 per 1M output tokens (3:1 blended price: $0.145 per 1M tokens).
Does Z.ai: GLM 4.7 Flash support prompt caching and how much does it save?
No separate cache_read_per_1m discount is listed on OpenRouter for Z.ai: GLM 4.7 Flash, so repeated prompt tokens are billed at $0.060 per 1M tokens.
What is the context window and maximum output of Z.ai: GLM 4.7 Flash?
Z.ai: GLM 4.7 Flash supports a 131.1K token context window (131,072 tokens) and up to 118.0K output tokens per completion.
Fetch Live JSON via API
curl -s "https://llm.lhblabs.com/api/v1/models/z-ai-glm-4-7-flash"
Recommended Stack: DigitalOcean
Predictable Droplets, managed databases, and GPU nodes for production AI workloads.
Try DigitalOcean →
Self-Serve Placement
Building an LLM API, GPU Cloud, or AI Dev Tool?
Book Sponsor Slot →
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.