GLM 5.4 API

Zhipu's GLM 5.4 costs $0.7 per million input tokens and $2.2 per million output tokens from 1 supplier. Each request through the OpenAI-compatible API goes to the offer with the lowest estimated charge that meets your rules.

About GLM 5.4

GLM 5.4 is a language model from Zhipu. It takes text and images and gives text. The largest offer takes 1,048,576 input tokens. One job can generate up to 131,072 tokens. It has 1 supplier on this exchange now.

Facts

Model name
glm-5.4
Maker
Zhipu
Context window
1M tokens
Input price
$0.7 per million tokens
Output price
$2.2 per million tokens
Suppliers
1 supplier
Regions
cn

Providers

Request

curl https://router.inference.ai.exchange/v1/chat/completions \
  -H "Authorization: Bearer $ARCHITECT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.4",
    "messages": [{"role":"user","content":"Say hello."}]
  }'

Questions

What is GLM 5.4?
GLM 5.4 is a language model from Zhipu.
How much does GLM 5.4 cost?
Offers now ask $0.7 per million input tokens and $2.2 per million output tokens. A job pays for the tokens it uses. The exchange picks the cheapest eligible offer.
What is the context length of GLM 5.4?
The largest offer takes 1,048,576 input tokens. One job can generate up to 131,072 tokens. A smaller offer can take less. The exchange skips an offer that cannot take your message.
What can GLM 5.4 do?
Its providers list Vision, Reasoning effort, JSON object, JSON schema, Seed, Stop sequences, Top-p sampling, Text, Tools.
What inputs and outputs does GLM 5.4 support?
Text · Images → Text.
Which providers serve GLM 5.4?
It has 1 supplier now, with 1 offer. The table above ranks them by the cost of one agent-mix job.
How do I call GLM 5.4?
Send "glm-5.4" as the model in an OpenAI or Anthropic request. The API section links to setup steps for each client.
When was GLM 5.4 listed?
The exchange first listed it on 11/25/2026. This is not its release date.

Related pages