GLM-5.4

glm-5.4 by Z.ai Released December 2, 2026
New · Reasoning · Function calling · Structured output · Prompt caching · Image input · Video input · EU hosting
Input from
$1.3 / 1M
Output from
$4 / 1M
Cached input from
$0.14 / 1M
Context window
1.05M
Endpoints
6
from 5 providers
Regions
Global, Asia, Europe

About GLM-5.4

GLM-5.4 is Z.ai's first flagship model with native vision capabilities, featuring Z.ai's first Loop Transformer architecture with enhanced reasoning and generalized coding capabilities.

GLM-5.4 is a chat model by Z.ai, available on Eden AI through 6 endpoints from 5 providers, from $1.3 per million input tokens and $4 per million output tokens, with a context window of up to 1.05M tokens.

Providers and prices

6 endpoints from 5 providers, cheapest first, in USD per million tokens. Every one is called with the same Eden AI key: pin one with its endpoint ID, or let Eden AI route for you.

Endpoint
Region
Context
Input / 1M
Output / 1M
Cached / 1M
Supports
Multiverse Computingcompactifai/glm-5-4
Global
1M
$1.3
$4
$0.25
Reasoning · Tools · JSON · Cache · Vision
Mistral AImistral/zai-glm-5-4
Global
1.05M
$1.4
$4.4
$0.14
Reasoning · Tools · JSON · Cache · Vision
Tencent Cloud (Asia)tencent/glm-5.4
Asia
1.02M
$1.4
$4.4
$0.26
Nebiusnebius/zai-org/GLM-5.4
Global
1.05M
$1.4
$4.4
$1.4
Reasoning · Tools · JSON · Cache
Z.ai (Asia)zai/glm-5.4
Asia
1.05M
$1.4
$4.4
$0.26
Official · Reasoning · Tools · JSON · Cache · Vision
Mistral AI (Europe)mistral/zai-glm-5-4@eu
Europe
1.05M
$1.54
$4.84
$0.154
Reasoning · Tools · JSON · Cache · Vision

Performance

Measured on real Eden AI traffic over the last 30 days. Endpoints with too little traffic are not shown.

Fastest first token
1.5 s
Multiverse Computing
Lowest latency
5.46 s
Mistral AI
Highest throughput
93.94 tok/s
Z.ai (Asia)
Best availability
100%
Multiverse Computing
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Multiverse Computing
1.5 s
8.86 s
39.12 s
58.29 tok/s
100%
76.12%
92.06%
0%
Mistral AI
2.75 s
5.46 s
21.16 s
79.31 tok/s
99.09%
94.1%
95.87%
0%
Nebius
3.62 s
6.88 s
34.99 s
45.45 tok/s
100%
86.93%
0.52%
0%
Z.ai (Asia)
1.77 s
7.9 s
37.89 s
93.94 tok/s
100%
95.15%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call GLM-5.4 with Eden AI

Use the model ID to let Eden AI pick an endpoint, or an endpoint ID from the table above to pin one.

import requests

response = requests.post(
    "https://api.edenai.run/v3/chat/completions",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "glm-5.4",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about GLM-5.4

On Eden AI, prices for this model start at $1.3 per million input tokens and $4 per million output tokens. Prices differ by endpoint; the providers table lists each one.

Up to 1.05M tokens, depending on the endpoint.

6 endpoints from 5 providers, available in: Global, Asia, Europe. All of them are called with the same Eden AI API key.

Can I run GLM-5.4 in the EU? Yes. At least one endpoint is hosted in Europe; pin it with its endpoint ID from the providers table to keep requests in the EU. ‖ How fast is GLM-5.4? Over the last 30 days, the fastest first token was 1.50 s (Multiverse Computing) and the highest throughput was 93.94 tokens per second (Z.ai (Asia)).