impulse

GLM 4.7 Flash

Open weights

As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency.

API id glm-4.7-flashReleased 19 Jan 2026 (Jan 2026)
A newer model in this line is out: GLM 5.3 Flash, released 26 Aug 2026.
Amazon Bedrock retires it on 30 Mar 2027 (in 132 days). 7 hosts keep serving it.
Input / 1M
-
not listed
Output / 1M
-
not listed
Context window
200K
tokens
Max output
128K
tokens per reply
Hosts
8
9 listings
Released
Jan 2026
19 Jan 2026

Where to run it

8 hosts serve GLM 4.7 Flash. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Z.aiLab API
glm-4.7-flash
-
glm-4.7-flash
$0.024 / $0.16
DeepInfraInference
GLM-4.7-Flash
$0.06 / $0.40
glm-4.7-flash
$0.0605 / $0.40
zai.glm-4.7-flash
$0.07 / $0.40
Retires 30 Mar 2027
GMI CloudInference
GLM-4.7-Flash
$0.07 / $0.40
Novita AIInference
glm-4.7-flash
$0.07 / $0.40
glm-4.7-flash
$0.081 / $0.54
Show 1 more listings: regions, snapshots and variants
Amazon Bedrock
Mantle
zai.glm-4.7-flash
$0.07 / $0.40
Retires 30 Mar 2027

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Features
Prompt caching
Open weights
License: MIT
Runs in about 74.9 GB of GPU memory

Similar models

This model has no listed price, so these are current models with similar capabilities.

Smaller Zhipu AI models

  • GLM 5v Turbo
    Zhipu AI · on Z.ai
    $1.20 / $4.00
    Has every key capability
  • GLM 5 Code
    Zhipu AI · on Z.ai
    $1.20 / $5.00
    Has every key capability

Other frontier labs

  • GPT-5.5 Pro
    OpenAI · on OpenAI
    $30.00 / $180.00
    Has every key capability
  • Claude Fable 5.2
    Anthropic · on Anthropic
    $8.00 / $40.00
    Has every key capability
  • Gemini 4 Carbon
    Google · on Google AI Studio
    $2.00 / $10.00
    Has every key capability
  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability

Open-weight picks

  • Kimi K3.1 Pro
    Moonshot AI · on Databricks
    $2.00 / $10.00
    Has every key capability
  • Qwen3.8.2 4T A95B
    Alibaba Qwen · on DeepInfra
    $2.00 / $6.00
    Has every key capability
  • Muse Spark Open
    Meta · on Baseten
    $1.25 / $4.25
    Has every key capability
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability

Model line

Newer and older versions, at each lab's own price.

  1. Aug 2026GLM 5.3 FlashLatest$0.15 / $0.50
  2. Jan 2026GLM 4.7 FlashThis pageNot listed
  3. UndatedGLM 4.5 FlashNot listed

Call it

Using Z.ai's API.

Python
from litellm import completion

response = completion(
    model="zai/glm-4.7-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does GLM 4.7 Flash cost?

Its lowest listed price is at CLF AI Gateway: $0.024 per million input tokens and $0.16 per million output tokens.

Which APIs offer GLM 4.7 Flash?

GLM 4.7 Flash runs on 8 APIs: Z.ai, CLF AI Gateway, DeepInfra, Cloudflare Workers AI, Amazon Bedrock, GMI Cloud, Novita AI and Kyma API.

What is GLM 4.7 Flash's context window?

200K tokens, with up to 128K tokens in one reply.

Is GLM 4.7 Flash being retired?

Amazon Bedrock retires it on 30 Mar 2027. 7 hosts keep serving it.

Is there a newer version of GLM 4.7 Flash?

Yes. GLM 5.3 Flash is the newest model in this line, released on 26 Aug 2026.

When was GLM 4.7 Flash released?

Zhipu AI released it on 19 Jan 2026.

What is GLM 4.7 Flash's API model id?

Use glm-4.7-flash with Z.ai. Other hosts use their own ids: GLM-4.7-Flash on DeepInfra, zai.glm-4.7-flash on Amazon Bedrock, GLM-4.7-Flash on GMI Cloud.

Sources

Raw catalog entry for glm-4.7-flash on Z.ai
{
  "cache_creation_input_token_cost": 0,
  "cache_read_input_token_cost": 0,
  "input_cost_per_token": 0,
  "output_cost_per_token": 0,
  "litellm_provider": "zai",
  "max_input_tokens": 200000,
  "max_output_tokens": 128000,
  "mode": "chat",
  "supports_function_calling": true,
  "supports_prompt_caching": true,
  "supports_reasoning": true,
  "supports_tool_choice": true,
  "source": "https://docs.z.ai/guides/overview/pricing"
}