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

  1. coding index45.3#47 of 64
  2. omniscience-36.4#72 of 84
  3. gpqa85.9%#41 of 80
  4. humanity’s last exam27.4%#52 of 87
  1. Tau295.9%
  2. AIME 202595.0%
  3. LiveCodeBench89.4%
  4. GPQA85.9%
  5. AA-LCR71.0%
  6. IFBench67.9%
  7. Terminal-Bench Hard31.8%
  8. Humanity’s Last Exam27.4%
  9. Tau Banking12.2%
  10. CritPt1.7%
  • Intelligence Index22.24
  • Omniscience Index-36.43
  • GDPval Elo1013.42
  • coding index (API)45.3
  • intelligence index (API)22.2

view source ↗all source data and breakdowns (json) ↗

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

impossibl models --all →

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.

view the pricing table ↑

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.

follow the api quickstart →

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 →