GLM 4.7 Flash

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, and tool collaboration, and has achieved leading performance among open-source models of the same size on several current public benchmark leaderboards.

ChatZhipu203k tokens$0.0654 / $0.436 · 1M

z-ai/glm-4.7-flash

Context
203k tokens
Completion cap
16,384
Tools
Yes
JSON
Yes
Released
2026-01-19

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "z-ai/glm-4.7-flash",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GLM 4.7 Flash?
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, and tool collaboration, and has achieved leading performance among open-source models of the same size on several current public benchmark leaderboards. GLM 4.7 Flash runs on the Geek Hub API (OpenAI-compatible). Model id: z-ai/glm-4.7-flash.
Is GLM 4.7 Flash free?
No. Input is $0.0654 per 1M tokens and output is $0.436 per 1M tokens on Geek Hub (markup included).
What is the context length of GLM 4.7 Flash?
GLM 4.7 Flash has a 203k tokens context window. It supports up to 16,384 completion tokens.
Does GLM 4.7 Flash support tool calling and structured outputs?
GLM 4.7 Flash accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was GLM 4.7 Flash released?
GLM 4.7 Flash was released on 2026-01-19.

More models from Zhipu