z-ai logo
z-ai

Z.ai: GLM 4.7 Flash

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. $0.06 per million input tokens, $0.40 per million output tokens. 202,752 token context window, maximum output of 16,384 tokens. Higher uptime with 4 providers. Includes independent benchmarks from Artificial Analysis.

Overview

Model specifications

Context
202,752 tokens
Maximum output
16,384 tokens
Architecture
text->text
Tokenizer
Other
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.06
/M tokens
Output
$0.4
/M tokens
Cache read
$0.01
/M tokens
API

Model configuration

Default parameters

temperature
1
top_p
0.95

Reasoning

Moderated
No
Default parameters
Yes
API

Quick start

Call this exact model ID through OpenRouter’s OpenAI-compatible API.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-4.7-flash","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

InputOutput

Input
text
Output
text
Reasoning

Yes

API

Supported API parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokensmin_ppresence_penaltyreasoningrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_logprobstop_p
Available providers

4 providers

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

DeepInfra

bf16
Context
203K
Maximum output
16K
Input
$0.060
Output
$0.400
Cache read
$0.010
Cache write
Not provided

Venice

fp8
Context
128K
Maximum output
16K
Input
$0.060
Output
$0.400
Cache read
$0.010
Cache write
Not provided

Cloudflare

unknown
Context
131K
Maximum output
118K
Input
$0.061
Output
$0.400
Cache read
Not provided
Cache write
Not provided

Novita

bf16
Context
200K
Maximum output
128K
Input
$0.070
Output
$0.400
Cache read
$0.010
Cache write
Not provided
z-ai

models

All models