All models · z-ai

Z.ai: GLM 4.7 Flash pricing and limits

id z-ai/glm-4.7-flash · listed 2026-01-19

Input (per 1M tokens)$0.060
Output (per 1M tokens)$0.400
Context window200,000 tokens
Max output117,964 tokens
Modalitiestext → text
Reasoningyes

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

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...

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
OpenAI: GPT-6 Luna Pro (batch)$0.050$0.2501,050,000
OpenAI: GPT-6 Luna (batch)$0.050$0.2501,050,000
DeepSeek: DeepSeek V4.1 Flash (batch)$0.050$0.1501,048,576

Other z-ai models

Z.ai: GLM 5.2 ($0.034 / $7.000) · Z.ai: GLM 5.3 Flash (batch) ($0.050 / $0.180) · Z.ai: GLM 5.3 ($0.079 / $1.400) · Z.ai: GLM 4.5 Air ($0.130 / $0.850) · Z.ai: GLM 5.3 Flash ($0.150 / $0.500) · Z.ai: GLM 4.6V ($0.300 / $0.900) · Z.ai: GLM 5.3 FlashX ($0.370 / $1.250) · Z.ai: GLM 5.3 (batch) ($0.450 / $2.000)

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-flash (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