GLM-5.1

glm-5.1 by Z.ai Released April 8, 2026
Reasoning · Function Calling · Strukturierte Ausgabe · Prompt-Caching · EU-Hosting · Bis zu 35 % Rabatt
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
Weltweit, Asien, Europa, USA

About GLM-5.1

GLM-5.1 bietet einen großen Sprung nach vorne bei den Codierungsfähigkeiten, wobei besonders bei der Bewältigung von Aufgaben mit langem Zeithorizont erhebliche Verbesserungen erzielt werden.

GLM-5.1 ist ein Chat-Modell von Z.ai, auf Eden AI verfügbar über 4 Endpoints bei 4 Anbietern, ab 0,91 $ pro Million Eingabe-Tokens und 2,86 $ pro Million Ausgabe-Tokens, mit einem Kontextfenster von bis zu 203K Tokens.

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
Weltweit
203K
1,40 $$0.91
$2.86
$0.169
−35 % · Reasoning · Tools · JSON · Cache
DeepInfra (USA)deepinfra/zai-org/GLM-5.1
USA
203K
$1.05
$3.5
$0.205
Reasoning · Tools · JSON · Cache
TensorX (Europa)tensorx/z-ai/glm-5.1
Europa
203K
$1.4
$4.4
$0.35
Reasoning · Tools · JSON · Cache
Z.ai (Asien)zai/glm-5.1
Asien
203K
$1.4
$4.4
$0.26
Offiziell · Reasoning · Tools · 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.47 s
Z.ai (Asien)
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
3.91 s
5.28 s
14.6 s
23.49 tok/s
100%
96.46%
27.07%
0%
DeepInfra (USA)
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 (Asien)
3.51 s
2.47 s
9.19 s
10.64 tok/s
100%
76.57%
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: Weltweit, Asien, Europa, USA. All of them are called with the same Eden AI API key.

Kann ich GLM-5.1 in der EU nutzen? Ja. Mindestens ein Endpoint wird in Europa gehostet; legen Sie ihn mit seiner Endpoint-ID aus der Anbietertabelle fest, damit Ihre Anfragen in der EU bleiben. ‖ Wie schnell ist GLM-5.1? In den letzten 30 Tagen kam das schnellste erste Token nach 0,91 s (TensorX (Europa)) und der höchste Durchsatz lag bei 80,85 Tokens pro Sekunde (TensorX (Europa)).