GLM-5

glm-5 by Z.ai Released February 12, 2026
ReasoningFunction callingStructured outputPrompt cachingWeb searchComputer useImage inputFile inputAudio inputVideo inputEU hostingFree endpointUp to % off
Input from
$0.6 / 1M
Output from
$2.08 / 1M
Cached input from
$0.12 / 1M
Context window
1.05M
Endpoints
6
from 5 providers
Regions
Asie, Europe, États-Unis

About GLM-5

GLM-5 est le modèle de base open source phare de Z.ai, conçu pour la conception de systèmes complexes et les flux de travail d'agents à long terme.

GLM-5 est un modèle conversationnel développé par Z.ai, disponible sur Eden AI via 6 endpoints chez 5 fournisseurs, à partir de 0,6 $ par million de tokens en entrée et 2,08 $ par million de tokens en sortie, avec une fenêtre de contexte allant jusqu'à 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
DeepInfra (États-Unis)Official−%deepinfra/zai-org/GLM-5
États-Unis
203K
$0.6$0.6
$2.08
$0.12
ReasoningToolsJSONCacheVisionWeb
TensorX (Europe)Official−%tensorx/z-ai/glm-5
Europe
203K
$1$1
$3.2
$0.25
ReasoningToolsJSONCacheVisionWeb
Amazon Web Services (Europe)Official−%amazon/zai.glm-5
Europe
200K
$1$1
$3.2
$
ReasoningToolsJSONCacheVisionWeb
Amazon Web Services (États-Unis)Official−%amazon/zai.glm-5@us
États-Unis
200K
$1$1
$3.2
$
ReasoningToolsJSONCacheVisionWeb
Z.ai (Asie)Official−%zai/glm-5
Asie
203K
$1$1
$3.2
$0.2
ReasoningToolsJSONCacheVisionWeb
Mistral AI (Europe)Official−%mistral/zai-glm-5
Europe
1.05M
$1.4$1.4
$4.4
$0.14
ReasoningToolsJSONCacheVisionWeb

Performance

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

Fastest first token
1.72 s
Mistral AI (Europe)
Lowest latency
7.13 s
Amazon Web Services (Europe)
Highest throughput
181 tok/s
Mistral AI (Europe)
Best availability
100%
Mistral AI (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
DeepInfra (États-Unis)
2.2 s
15.8 s
77.86 s
56.97 tok/s
100%
48.06%
0%
0%
TensorX (Europe)
2.52 s
35.72 s
112.88 s
146.17 tok/s
100%
5.84%
0%
0%
Amazon Web Services (Europe)
4.99 s
7.13 s
56.02 s
75.63 tok/s
100%
0%
0%
0%
Amazon Web Services (États-Unis)
s
s
s
tok/s
%
%
%
%
Z.ai (Asie)
4.68 s
22.68 s
103.43 s
37.23 tok/s
100%
58.98%
0%
0%
Mistral AI (Europe)
1.72 s
25.42 s
48.73 s
181 tok/s
100%
11.81%
0%
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": "",
        "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.

6 endpoints from 5 providers, available in: Asie, Europe, États-Unis. All of them are called with the same Eden AI API key.

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.

Over the last 30 days, the fastest first token was 1.72 s (Mistral AI (Europe)) and the highest throughput was 181 tokens per second (Mistral AI (Europe)).