Z.ai: GLM 5.4 API Pricing & Cost Calculator
GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.
ReasoningCachingVisionOpen-Weight z-ai/glm-5.4
Input / 1M
$1.40
Output / 1M
$4.40
Cache Read / 1M
$0.260
Blended 3:1 / 1M
$2.15
Agent Cached / 1M
$1.27
Context Window
1.0M
Monthly Workload Cost Calculator
Daily
$4.92
Monthly
$147.75
Cache Saved
$128.25
Annual
$1,797.63
Benchmarks & Capabilities
| Intelligence Index | 42 |
|---|---|
| Coding / Engineering | — / 48 |
| Agentic Index | — |
| Design Arena Avg ELO | 1283 |
| Value Score | 28.03 |
| Modality | text+image+video->text |
| Max Output | 943.7K |
5 Cheaper Alternatives to Z.ai: GLM 5.4
| Alternative Model | Blended / 1M | Input / 1M | Output / 1M | Intel | Side-by-Side |
|---|---|---|---|---|---|
| OpenAI: GPT-6.1 Terra (batch) openai/gpt-6.1-terra:batch |
$1.00 | $0.500 | $2.50 | 51 | Compare → |
| Google: Gemini 4 Hydrogen (batch) google/gemini-4-hydrogen:batch |
$1.50 | $0.750 | $3.75 | 54 | Compare → |
| OpenAI: GPT-6.2 Sol (batch) openai/gpt-6.2-sol:batch |
$2.00 | $1.00 | $5.00 | 57 | Compare → |
| OpenAI: GPT-6.1 Sol (batch) openai/gpt-6.1-sol:batch |
$2.00 | $1.00 | $5.00 | 55 | Compare → |
| Anthropic: Claude Sonnet 5.5 (batch) anthropic/claude-sonnet-5.5:batch |
$2.00 | $1.00 | $5.00 | 55 | Compare → |
Frequently Asked Questions
How much does Z.ai: GLM 5.4 API cost per 1M tokens?
Z.ai: GLM 5.4 (z-ai/glm-5.4) costs $1.40 per 1M input tokens and $4.40 per 1M output tokens (3:1 blended price: $2.15 per 1M tokens).
Does Z.ai: GLM 5.4 support prompt caching and how much does it save?
Yes. Cached input reads cost $0.260 per 1M tokens, bringing realistic 80%-cached agent loop cost down to $1.27 per 1M tokens.
What is the context window and maximum output of Z.ai: GLM 5.4?
Z.ai: GLM 5.4 supports a 1.0M token context window (1,048,576 tokens) and up to 943.7K output tokens per completion.
Fetch Live JSON via API
curl -s "https://llm.lhblabs.com/api/v1/models/z-ai-glm-5-4"
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.