GLM-5

glm-5 by Z.ai Released February 12, 2026
Reasoning · Function calling · Structured output · Prompt caching · EU hosting
Input from
$0.6 / 1M
Output from
$2.08 / 1M
Cached input from
$0.12 / 1M
Context window
1.05M
Endpoints
7
from 5 providers
Regions
Global, Asia, Europe, United States

About GLM-5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.

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

Providers and prices

7 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
DeepInfra (United States)deepinfra/zai-org/GLM-5
United States
203K
$0.6
$2.08
$0.12
Reasoning · Tools · JSON · Cache
TensorX (Europe)tensorx/z-ai/glm-5
Europe
203K
$1
$3.2
$0.25
Reasoning · Tools · JSON · Cache
Amazon Web Services (Europe)amazon/zai.glm-5
Europe
200K
$1
$3.2
$
Reasoning · Tools · JSON
Amazon Web Services (United States)amazon/zai.glm-5@us
United States
200K
$1
$3.2
$
Reasoning · Tools · JSON
Z.ai (Asia)zai/glm-5
Asia
203K
$1
$3.2
$0.2
Official · Reasoning · Tools · Cache
Mistral AImistral/zai-glm-5
Global
1.05M
$1.4
$4.4
$0.14
Reasoning · Tools · JSON · Cache
Mistral AI (Europe)mistral/zai-glm-5@eu
Europe
1.05M
$1.54
$4.84
$0.154
Reasoning · Tools · JSON · Cache

Performance

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

Fastest first token
0.26 s
Mistral AI (Europe)
Lowest latency
0.31 s
Mistral AI (Europe)
Highest throughput
71.08 tok/s
TensorX (Europe)
Best availability
100%
Mistral AI (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
DeepInfra (United States)
2.86 s
68.52 s
201.19 s
50.75 tok/s
100%
41.9%
0%
0%
TensorX (Europe)
1 s
1.6 s
22.72 s
71.08 tok/s
100%
21.07%
0%
0%
Amazon Web Services (Europe)
0.66 s
1.18 s
9.81 s
19.68 tok/s
100%
0%
0%
0%
Z.ai (Asia)
1.76 s
7.42 s
82.21 s
48.8 tok/s
100%
44.26%
0%
0%
Mistral AI
0.34 s
0.42 s
5.1 s
62.33 tok/s
100%
55.15%
4.35%
0%
Mistral AI (Europe)
0.26 s
0.31 s
2.13 s
4.64 tok/s
100%
19.29%
10%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

Call GLM-5 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",
        "messages": [{"role": "user", "content": "Hello!"}],
    },
)
print(response.json())

Questions about GLM-5

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

Up to 1.05M tokens, depending on the endpoint.

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

Can I run GLM-5 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? Over the last 30 days, the fastest first token was 0.26 s (Mistral AI (Europe)) and the highest throughput was 71.08 tokens per second (TensorX (Europe)).