All models · z-ai

Z.ai: GLM 4.7 pricing and limits

id z-ai/glm-4.7 · listed 2025-12-22

Input (per 1M tokens)$0.540
Output (per 1M tokens)$1.980
Cached input read (per 1M)$0.099
Context window204,800 tokens
Max output131,072 tokens
Modalitiestext → text
Reasoningyes

What 1,000 calls cost at 1,000 input and 300 output tokens each: $1.13.

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

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Meta: Llama 4 Scout$0.100$0.3001,310,720
OpenAI: GPT-6 Luna Pro$0.100$0.5001,050,000
OpenAI: GPT-6 Luna Pro (batch)$0.050$0.2501,050,000

Other z-ai models

Z.ai: GLM 5.3 Flash ($0.006 / $0.193) · Z.ai: GLM 5.2 ($0.034 / $7.000) · Z.ai: GLM 5.3 Flash (batch) ($0.050 / $0.180) · Z.ai: GLM 4.7 Flash ($0.060 / $0.400) · Z.ai: GLM 5.3 ($0.079 / $1.400) · Z.ai: GLM 4.5 Air ($0.130 / $0.850) · Z.ai: GLM 4.6V ($0.300 / $0.900) · Z.ai: GLM 5.3 FlashX ($0.370 / $1.250)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=z-ai/glm-4.7 (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=z-ai. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with z-ai. Agent Exchange