All Models / z-ai / z-ai/glm-5.1

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

Tool CallingReasoningPrompt Caching
Input Price / 1M Tokens
$1.40
Output Price / 1M Tokens
$4.40
Prompt Cache Read / 1M
$0.260
Context Window
205K
Max out: 131K

Interactive Z.ai: GLM 5.1 Monthly Cost Calculator

Est. Monthly (With Cache)
—
Est. Monthly (Uncached)
—
Est. Daily Run Rate
—

Volume Cost Benchmarks (75% Input / 25% Output)

Monthly Token VolumeUncached API CostWith 50% Prompt Caching
1M Tokens (Small App)$2.15$1.72
10M Tokens (Growing SaaS)$21.50$17.23
100M Tokens (Scale / Agents)$215.00$172.25
1B Tokens (Enterprise)$2,150.00$1,722.50

Deploy or Switch Providers

Best for H100 / A100 / 4090

RunPod Cloud GPUs

Spin up on-demand H100, A100, L40S, and RTX 4090 pods or serverless vLLM endpoints in seconds.

Launch GPU on RunPod →
Predictable Cloud Infra

DigitalOcean GPU Droplets

Deploy AI inference APIs, vector databases, and GPU droplets with simple monthly billing.

Try DigitalOcean →
1 API Key · 470+ Models

OpenRouter Unified API

Switch between Gemini, Claude, GPT, DeepSeek, and Llama with one OpenAI-compatible key.

Get Unified API Key →

Lower-Cost Alternatives to Z.ai: GLM 5.1