GLM-4.7
GLM-4.7 is Z.AI's flagship foundation model of the GLM-4 generation, upgraded for programming, reasoning, and agentic work.
input · usd / 1m tok
$0.60
output · usd / 1m tok
$2.20
context window
200ktokens
modalities · in → out
takes text in, gives text out
pricing
base api ratesusd per 1m tokens
- input
- $0.60
- output
- $2.20
- cache read
- $0.11
providers
Z.AI hosts GLM-4.7. Impossibl routes your request intelligently and handles failover automatically when a provider is down.
- Z.AI
specifications
takes text in, gives text outzai/glm-4.7
- creatorZ.AI
- model typeText generation
- context window200,000 tokens
- maximum outputnot published
- input
takes text in, gives text out
- outputtext
- tool callingnot verified
- releaseddec 22, 2025
- endpoint
/v1/chat/completions
unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports. see the model documentation for integration details.
try it · your prompt, this model, live
# responses API
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["IMPOSSIBL_API_KEY"],
base_url="https://api.impossibl.com/v1",
)
resp = client.responses.create(
model="zai/glm-4.7",
input="",
)
print(resp.output_text)
edit the prompt, then run
benchmarks
intelligence index
22.2#72 of 108 models on the gateway
- coding index45.3#47 of 64
- omniscience-36.4#72 of 84
- gpqa85.9%#41 of 80
- humanity’s last exam27.4%#52 of 87
- Tau295.9%
- AIME 202595.0%
- LiveCodeBench89.4%
- GPQA85.9%
- AA-LCR71.0%
- IFBench67.9%
- Terminal-Bench Hard31.8%
- Humanity’s Last Exam27.4%
- Tau Banking12.2%
- CritPt1.7%
- Intelligence Index22.24
- Omniscience Index-36.43
- GDPval Elo1013.42
- coding index (API)45.3
- intelligence index (API)22.2
each configuration is listed separately; these evaluations describe the tested model configuration, and performance and costs can differ on impossibl. unmeasured scores are omitted and api values keep their source units. last checked 2026-10-14.
compare GLM-4.7 with other models
frontier labs and open weights, best-ranked firstusd / 1m tok · in / out
- anthropic/claude-opus-5-5$4.00 / $20.00compare →
- openai/gpt-6-astra$10.00 / $50.00compare →
- meta/muse-wonder$4.00 / $20.00compare →
- xiaomi/mimo-v2.6-pro$0.435 / $0.87compare →
frequently asked questions
What is GLM-4.7?
GLM-4.7 is Z.AI's flagship foundation model of the GLM-4 generation, upgraded for programming, reasoning, and agentic work. Compared with GLM-4.6 it brings stronger coding and more stable multi-step reasoning and execution, with improvements in real-world development workflows, front-end generation, and document tasks.
How much does GLM-4.7 cost?
GLM-4.7 costs $0.60 per million input tokens and $2.20 per million output tokens through the Impossibl API. Cache reads cost $0.11 per million tokens. All rates are in USD.
What is the context length of GLM-4.7?
GLM-4.7 has a 200,000-token context window through the Impossibl API.
What inputs and outputs does GLM-4.7 support?
GLM-4.7 accepts text as input. GLM-4.7 returns text.
How do I use GLM-4.7 through an API?
GLM-4.7 is available through the Impossibl API. Use zai/glm-4.7 as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.
When was GLM-4.7 released?
Z.AI released GLM-4.7 on December 22, 2025.
this page describes GLM-4.7 as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes. model descriptions and release dates, where available, use the creator sources linked under the answers above.
view the source catalog ↗model as markdown ↗report a correction →