Home › Providers › z-ai › Z.ai: GLM 4.7 Flash

Z.ai: GLM 4.7 Flash API Pricing

Z.ai: GLM 4.7 Flash is an API model from z-ai. It costs $0.0605 per 1M input tokens and $0.4 per 1M output tokens. Its context window is 200,000 tokens with up to 117,964 output tokens. A workload of 10M input + 2M output tokens costs about $1.405 per month.
Input
$0.0605
per 1M tokens
Output
$0.4
per 1M tokens
Cached input
—
per 1M tokens
Context window
200K
200,000 tokens
Blended (80/20)
$0.1284
per 1M tokens

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

How much does Z.ai: GLM 4.7 Flash cost for a real workload?

At 10M input + 2M output tokens per month, Z.ai: GLM 4.7 Flash costs about $1.405 ($0.605 input + $0.8 output). Try your own volumes in the cost calculator.

What are cheaper alternatives to Z.ai: GLM 4.7 Flash?

Where to run Z.ai: GLM 4.7 Flash

AI/ML API: one API key for 400+ models, including most models tracked here · Novita AI: pay-as-you-go APIs for open models (DeepSeek, Qwen, Llama and more) plus GPU cloud. Prices there follow each platform's own catalog and can differ from the list prices tracked here.

Run it on AI/ML API →Run it on Novita AI →

Disclosure: links to these platforms may be affiliate links — if you sign up or buy through them, LLMPrices may earn a commission at no extra cost to you.

Compare Z.ai: GLM 4.7 Flash with other models

Z.ai: GLM 4.7 Flash vs Z.ai: GLM 5.3 Flash (batch)Z.ai: GLM 4.7 Flash vs Z.ai: GLM 5.3 FlashZ.ai: GLM 4.7 Flash vs Z.ai: GLM 4.5 AirZ.ai: GLM 4.7 Flash vs Z.ai: GLM 4.6VZ.ai: GLM 4.7 Flash vs Z.ai: GLM 5.3 FlashXZ.ai: GLM 4.7 Flash vs Z.ai: GLM 4.5V

Frequently asked questions

How much does Z.ai: GLM 4.7 Flash cost?

Z.ai: GLM 4.7 Flash costs $0.0605 per 1M input tokens and $0.4 per 1M output tokens (list price, snapshot October 22, 2026). At 10M input + 2M output tokens per month that is about $1.405.

What is the context window of Z.ai: GLM 4.7 Flash?

Z.ai: GLM 4.7 Flash has a context window of 200,000 tokens and can return up to 117,964 output tokens per response.

What are cheaper alternatives to Z.ai: GLM 4.7 Flash?

Cheaper models include Inception: Mercury 3 ($0.1 in / $0.35 out), OpenAI: GPT-5 Nano ($0.05 in / $0.4 out), Google: Gemma 3 27B ($0.08 in / $0.35 out). See the full list on this page.

Is Z.ai: GLM 4.7 Flash free to use?

No. Z.ai: GLM 4.7 Flash is a paid model at $0.0605 input / $0.4 output per 1M tokens. 21 free models are listed on the free models page.

Provider: z-ai · Model ID: z-ai/glm-4.7-flash · Modality: text->text · Price snapshot October 22, 2026, refreshed daily. How we collect prices