Z.ai: GLM 5.1 API Pricing & Cost Calculator
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
ReasoningCachingOpen-Weight z-ai/glm-5.1
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
204.8K
Monthly Workload Cost Calculator
Daily
$4.92
Monthly
$147.75
Cache Saved
$128.25
Annual
$1,797.63
Benchmarks & Capabilities
| Intelligence Index | — |
|---|---|
| Coding / Engineering | — / — |
| Agentic Index | — |
| Design Arena Avg ELO | 1217.9 |
| Value Score | — |
| Modality | text->text |
| Max Output | 131.1K |
5 Cheaper Alternatives to Z.ai: GLM 5.1
| 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.1 API cost per 1M tokens?
Z.ai: GLM 5.1 (z-ai/glm-5.1) 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.1 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.1?
Z.ai: GLM 5.1 supports a 204.8K token context window (204,800 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-5-1"
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.