Home / z-ai / Z.ai: GLM 4.7

Z.ai: GLM 4.7 API Pricing & Cost Calculator

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...

ReasoningCachingOpen-Weight z-ai/glm-4.7
Input / 1M
$0.400
Output / 1M
$1.75
Cache Read / 1M
$0.080
Blended 3:1 / 1M
$0.738
Agent Cached / 1M
$0.465
Context Window
202.8K

Monthly Workload Cost Calculator

Daily
$1.68
Monthly
$50.25
Cache Saved
$36.00
Annual
$611.38

Benchmarks & Capabilities

Intelligence Index—
Coding / Engineering— / —
Agentic Index—
Design Arena Avg ELO1155.1
Value Score—
Modalitytext->text
Max Output131.1K

5 Cheaper Alternatives to Z.ai: GLM 4.7

Alternative ModelBlended / 1MInput / 1MOutput / 1MIntelSide-by-Side
Anthropic: Claude Haiku 5.5 (batch)
anthropic/claude-haiku-5.5:batch
$0.100 $0.050 $0.250 37 Compare →
Anthropic: Claude Haiku 5.5
anthropic/claude-haiku-5.5
$0.200 $0.100 $0.500 37 Compare →
Meta: Muse Ember
meta/muse-ember
$0.200 $0.100 $0.500 36 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 →

Frequently Asked Questions

How much does Z.ai: GLM 4.7 API cost per 1M tokens?

Z.ai: GLM 4.7 (z-ai/glm-4.7) costs $0.400 per 1M input tokens and $1.75 per 1M output tokens (3:1 blended price: $0.738 per 1M tokens).

Does Z.ai: GLM 4.7 support prompt caching and how much does it save?

Yes. Cached input reads cost $0.080 per 1M tokens, bringing realistic 80%-cached agent loop cost down to $0.465 per 1M tokens.

What is the context window and maximum output of Z.ai: GLM 4.7?

Z.ai: GLM 4.7 supports a 202.8K token context window (202,752 tokens) and up to 131.1K output tokens per completion.

Fetch Live JSON via API

curl -s "https://llm.lhblabs.com/api/v1/models/z-ai-glm-4-7"
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?
Feature your product across 1,500+ LLM pricing & comparison pages starting at $49/mo.
Book Sponsor Slot →