GLM-5.2

glm-5.2 by Z.ai Released June 17, 2026
Reasoning · Function calling · Structured output · Prompt caching · EU hosting · Up to 35% off
Input from
$0.17 / 1M
Output from
$0.54 / 1M
Cached input from
$0.0153 / 1M
Context window
1.05M
Endpoints
19
from 15 providers
Regions
Global, Asia, Europe, United States

About GLM-5.2

GLM 5.2 is a large-scale reasoning model from Z.ai.

GLM-5.2 is a chat model by Z.ai, available on Eden AI through 19 endpoints from 15 providers, from $0.17 per million input tokens and $0.54 per million output tokens, with a context window of up to 1.05M tokens.

Providers and prices

19 endpoints from 15 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-2
Global
$0.17
$0.54
$0.0153
Reasoning · Tools · JSON · Cache
Multiverse Computing (United States)compactifai/glm-5-2@us
United States
$0.17
$0.54
$0.0153
Reasoning · Tools · JSON · Cache
FlexAIflexai/GLM-5.2
Global
1.05M
$0.6
$2
$0.09
Reasoning · Tools · JSON · Cache
DeepInfra (United States)deepinfra/zai-org/GLM-5.2
United States
1.05M
$0.75
$2.4
$0.14
Reasoning · Tools · JSON · Cache
Qwenqwen/glm-5.2
Global
1M
$1.40$0.91
$2.86
$0.182
−35% · Reasoning · Tools · JSON · Cache
Arkane Cloudarkanecloud/zai-org/GLM-5.2
Global
200K
$1.3
$4.2
$0.25
Reasoning · Tools · JSON · Cache
Tencent Cloud (Asia)tencent/glm-5.2
Asia
1M
$1.4
$4.4
$0.26
Reasoning · Tools · Cache
Databricksdatabricks/databricks-glm-5-2
Global
1M
$1.4
$4.4
$0.14
Reasoning · Tools · JSON · Cache
Mistral AImistral/glm-5-2
Global
1.05M
$1.4
$4.4
$0.14
Reasoning · Tools · JSON · Cache
Together AItogether_ai/zai-org/GLM-5.2
Global
1.05M
$1.4
$4.4
$0.26
Reasoning · Tools · JSON · Cache
Z.ai (Asia)zai/glm-5.2
Asia
1.05M
$1.4
$4.4
$0.26
Official · Reasoning · Tools · Cache
Nebiusnebius/zai-org/GLM-5.2
Global
432K
$1.4
$4.4
$
Reasoning · Tools · JSON
Mistral AImistral/zai-glm-5-2
Global
1.05M
$1.4
$4.4
$0.14
Reasoning · Tools · JSON · Cache
TensorX (Europe)tensorx/z-ai/glm-5.2
Europe
1.05M
$1.5
$4.5
$0.375
Reasoning · Tools · JSON · Cache
Mistral AI (Europe)mistral/zai-glm-5-2@eu
Europe
1.05M
$1.54
$4.84
$0.154
Reasoning · Tools · JSON · Cache
Mistral AI (Europe)mistral/glm-5-2@eu
Europe
1.05M
$1.54
$4.84
$0.154
Reasoning · Tools · JSON · Cache
Tsystems (Europe)tsystems/GLM-5.2
Europe
1M
$1.6485
$3.8465
$0.2473
Reasoning · Tools · Cache
GreenPT (Europe)greenpt/glm-5.2
Europe
1M
$1.7035
$5.0554
$0.4396
Reasoning · Tools · JSON · Cache
Scaleway (Europe)scaleway/glm-5.2
Europe
256K
$1.9894
$6.0786
$
Reasoning · Tools · JSON

Performance

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

Fastest first token
0.61 s
Together AI
Lowest latency
0.71 s
Multiverse Computing
Highest throughput
148.24 tok/s
Together AI
Best availability
100%
GreenPT (Europe)
Endpoint
First token
Latency p50
Latency p95
Throughput
Availability
Cache hits
Tool errors
JSON errors
Multiverse Computing
11.83 s
0.71 s
5.1 s
63.58 tok/s
100%
12.49%
0%
0%
FlexAI
2.06 s
3.56 s
14.02 s
36.52 tok/s
99.89%
95.63%
7.61%
0%
DeepInfra (United States)
1.95 s
9.8 s
92.85 s
49.55 tok/s
100%
85.67%
0%
0%
Qwen
3.31 s
8.78 s
39.43 s
40.75 tok/s
99.98%
93.26%
0.11%
0%
Mistral AI
1.11 s
1.89 s
8.19 s
73.44 tok/s
100%
92.79%
54.95%
0%
Together AI
0.61 s
1.59 s
15.75 s
148.24 tok/s
99.68%
91.27%
0.4%
0%
Z.ai (Asia)
3.08 s
4.12 s
40.13 s
48.24 tok/s
100%
86.74%
0%
0%
Mistral AI
1.13 s
1.64 s
7.74 s
68.27 tok/s
99.66%
93.17%
1.1%
0%
TensorX (Europe)
1.38 s
3.03 s
27.82 s
83.04 tok/s
99.88%
92.83%
0.13%
0%
Mistral AI (Europe)
1.13 s
1.7 s
8.58 s
71.07 tok/s
99.64%
93.17%
1.14%
0%
Mistral AI (Europe)
0.9 s
1.45 s
10.88 s
57.38 tok/s
100%
84.86%
0%
0%
GreenPT (Europe)
2.06 s
3.33 s
90.94 s
60.46 tok/s
100%
87.78%
0%
0%
Scaleway (Europe)
0.93 s
3.07 s
47.04 s
89.74 tok/s
100%
0%
45.57%
0%

Estimate your monthly cost

Enter your expected volume to compare every endpoint at once.

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

Questions about GLM-5.2

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

Up to 1.05M tokens, depending on the endpoint.

19 endpoints from 15 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.2 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.2? Over the last 30 days, the fastest first token was 0.61 s (Together AI) and the highest throughput was 148.24 tokens per second (Together AI).