GLM 4.7

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while delivering more natural conversational experiences and superior front-end aesthetics.

ChatZhipu205k tokens$0.436 / $1.9076 · 1M

z-ai/glm-4.7

Context
205k tokens
Completion cap
131,072
Tools
Yes
JSON
Yes
Released
2025-12-22

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",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GLM 4.7?
GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while delivering more natural conversational experiences and superior front-end aesthetics. GLM 4.7 runs on the Geek Hub API (OpenAI-compatible). Model id: z-ai/glm-4.7.
Is GLM 4.7 free?
No. Input is $0.436 per 1M tokens and output is $1.9076 per 1M tokens on Geek Hub (markup included).
What is the context length of GLM 4.7?
GLM 4.7 has a 205k tokens context window. It supports up to 131,072 completion tokens.
Does GLM 4.7 support tool calling and structured outputs?
GLM 4.7 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 released?
GLM 4.7 was released on 2025-12-22.

More models from Zhipu