GLM-5

GLM-5 is Z.AI's flagship open-source foundation model, engineered for complex systems design and long-horizon agent workflows aimed at expert developers.

input · usd / 1m tok

$1.00

output · usd / 1m tok

$3.20

context window

200ktokens

modalities · in → out

takes text in, gives text out

pricing

base api ratesusd per 1m tokens

input
$1.00
output
$3.20
cache read
$0.20

providers

Z.AI hosts GLM-5. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

  • Z.AI

specifications

takes text in, gives text outzai/glm-5

  • creatorZ.AI
  • model typeText generation
  • context window200,000 tokens
  • maximum outputnot published
  • input

    takes text in, gives text out

  • outputtext
  • tool callingnot verified
  • releasedfeb 11, 2026
  • 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-5",
    input="",
)
print(resp.output_text)

edit the prompt, then run

benchmarks

intelligence index

27.9#55 of 113 models on the gateway

  1. omniscience0.3#40 of 90
  2. gpqa82.0%#54 of 82
  3. humanity’s last exam29.3%#48 of 93
  1. Tau298.2%
  2. GPQA82.0%
  3. AA-LCR75.7%
  4. IFBench72.3%
  5. Terminal-Bench Hard43.2%
  6. Humanity’s Last Exam29.3%
  7. APEX-Agents14.5%
  8. CritPt2.0%
  • Intelligence Index27.91
  • Omniscience Index0.27
  • intelligence index (API)27.9

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-21.

compare GLM-5 with other models

frontier labs and open weights, best-ranked firstusd / 1m tok · in / out

impossibl models --all →

frequently asked questions

What is GLM-5?

GLM-5 is Z.AI's flagship open-source foundation model, engineered for complex systems design and long-horizon agent workflows aimed at expert developers. It shifts the family's focus from coding to engineering, targeting backend architecture, complex algorithms, and stubborn debugging on large-scale programming tasks.

How much does GLM-5 cost?

GLM-5 costs $1.00 per million input tokens and $3.20 per million output tokens through the Impossibl API. Cache reads cost $0.20 per million tokens. All rates are in USD.

view the pricing table ↑

What is the context length of GLM-5?

GLM-5 has a 200,000-token context window through the Impossibl API.

What inputs and outputs does GLM-5 support?

GLM-5 accepts text as input. GLM-5 returns text.

How do I use GLM-5 through an API?

GLM-5 is available through the Impossibl API. Use zai/glm-5 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-5 released?

Z.AI released GLM-5 on February 11, 2026.

this page describes GLM-5 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 →