Z.ai: GLM 5 API Pricing — $1.00 Input / $3.20 Output per 1M Tokens

Z.ai: GLM 5 by Z Ai — $1.00 input / $3.20 output per 1M tokens via OpenRouter. Context: 204K tokens. Pricing last updated Oct 29, 2026.

Input / 1M tokens
$1.00
Output / 1M tokens
$3.20
Provider
Z Ai
Context window
204K tokens
Via
OpenRouter

Cost at common usage volumes

Usage Daily Monthly
Chatbot (100/day)$0.450$13.50
Small app (1K/day)$2.60$78.00
Mid-scale (10K/day)$36.00$1080.00
Large scale (100K/day)$820.00$24600.00
Model ID: z-ai/glm-5
Data source: OpenRouter public API — updated Oct 29, 2026.

About Z.ai: GLM 5

Z.ai: GLM 5 is an LLM developed by Z Ai. Input costs $1.00 per million tokens and output costs $3.20 per million tokens via OpenRouter. It supports a context window of 204K tokens.

Pricing Details

Via the OpenRouter API:

  • Input tokens: $1.00 per 1 million tokens
  • Output tokens: $3.20 per 1 million tokens

A token is roughly 0.75 words. For context: a typical user message of 100 words is approximately 133 tokens; a 500-word system prompt is about 650 tokens.

How Much Does Z.ai: GLM 5 Cost?

For a typical chatbot application (1,000 requests/day, 1,000 prompt tokens and 500 output tokens per request):

  • Daily cost: $2.6000
  • Monthly cost: $78.000

Accessing Z.ai: GLM 5 via OpenRouter

OpenRouter provides a unified API for 200+ LLMs including Z.ai: GLM 5. You can use it with any OpenAI-compatible SDK by setting the base URL to https://openrouter.ai/api/v1 and using your OpenRouter API key. The model ID is z-ai/glm-5.

Compare Z.ai: GLM 5 with Other Models

Use the AI Model Cost Comparison tool to compare Z.ai: GLM 5 against GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, or any other model side by side. Or use the LLM API Cost Calculator to browse all 456+ models sorted by cost for your specific usage.

Frequently Asked Questions