GLM-5.1

glm-5.1 by Z.ai Released aprile 8, 2026
Ragionamento · Chiamata di funzioni · Output strutturato · Caching dei prompt · Hosting nell’UE · Fino al 35% di sconto
Input from
$0.91 / 1M
Output from
$2.86 / 1M
Cached input from
$0.169 / 1M
Context window
203K
Endpoints
4
from 4 providers
Regions
Globale, Asia, Europa, Stati Uniti

About GLM-5.1

GLM-5.1 rappresenta un importante passo avanti in termini di capacità di codifica, con miglioramenti particolarmente significativi nella gestione di attività a lungo termine.

GLM-5.1 è un modello di chat di Z.ai, disponibile su Eden AI tramite 4 endpoint presso 4 provider, a partire da 0,91 $ per milione di token in input e 2,86 $ per milione di token in output, con una finestra di contesto fino a 203K token.

Providers and prices

4 endpoints from 4 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
Qwenqwen/glm-5.1
Globale
203K
1,40 $$0.91
$2.86
$0.169
−35% · Ragionamento · Strumenti · JSON · Cache
DeepInfra (Stati Uniti)deepinfra/zai-org/GLM-5.1
Stati Uniti
203K
$1.05
$3.5
$0.205
Ragionamento · Strumenti · JSON · Cache
TensorX (Europa)tensorx/z-ai/glm-5.1
Europa
203K
$1.4
$4.4
$0.35
Ragionamento · Strumenti · JSON · Cache
Z.ai (Asia)zai/glm-5.1
Asia
203K
$1.4
$4.4
$0.26
Ufficiale · Ragionamento · Strumenti · 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.91 s
TensorX (Europa)
Lowest latency
2.43 s
Z.ai (Asia)
Highest throughput
80.85 tok/s
TensorX (Europa)
Best availability
100%
TensorX (Europa)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Qwen
4.06 s
5.3 s
14.6 s
24.25 tok/s
100%
96.54%
30.93%
0%
DeepInfra (Stati Uniti)
3.24 s
5.62 s
133.27 s
29.3 tok/s
100%
89.36%
0%
0%
TensorX (Europa)
0.91 s
2.63 s
29.95 s
80.85 tok/s
100%
93.22%
0%
0%
Z.ai (Asia)
3.51 s
2.43 s
9.19 s
10.64 tok/s
100%
76.31%
0%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

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

Questions about GLM-5.1

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

Up to 203K tokens, depending on the endpoint.

4 endpoints from 4 providers, available in: Globale, Asia, Europa, Stati Uniti. All of them are called with the same Eden AI API key.

Posso usare GLM-5.1 nell’UE? Sì. Almeno un endpoint è ospitato in Europa; fissalo con il suo ID endpoint dalla tabella dei provider per mantenere le tue richieste nell’UE. ‖ Quanto è veloce GLM-5.1? Negli ultimi 30 giorni il primo token più rapido è arrivato in 0,91 s (TensorX (Europa)) e il throughput più alto è stato di 80,85 token al secondo (TensorX (Europa)).