Skip to content

Z.ai: GLM 5.2 provider comparison

z-ai/glm-5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Endpoints:
28
Context:
1M
Input:
text
Output:
text
Compare this model in a set →

At a glance

Comparison winners

Based on 1,000 input and 500 output tokens using the latest published median speed data.

Best cost/speed trade-off

Decartdecart/fp4

$2.2 / 1M tokens

7.76 s estimated response

Cheapest

Inceptroninceptron/fp4

$1.5933 / 1M tokens

$0.00239 for the sample request

Visual comparison

Price and performance charts

Compare published endpoint pricing and estimated response time visually.

Effective price by endpoint

USD per 1 million tokens for input and output. Lower is better.

Inceptron has the lowest estimated cost for 1,000 input and 500 output tokens at $0.00239.

Estimated cost vs. response time

Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.

28 providers have complete pricing and speed data. Decart is closest to the ideal combination of lowest cost and fastest response.

Server-rendered comparison

Provider endpoints

Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.

Endpoint comparison for Z.ai: GLM 5.2
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
DeepInfradeepinfra/fp4
Current pricing
Input price
$0.93 / 1M tokens
Output price
$3 / 1M tokens
Sample cost
$0.00243
Speed measurements
500-token response
18.64 s
Response starts
0.78 s
Output speed
28.0 tok/s
Endpoint details
Uptime (30 min)
98.82%
Context
1M
Model format
fp4
Max output
32.8K
18 parameters

frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p

Provider / route
Inceptroninceptron/fp4
Cheapest
Current pricing
Input price
$0.94 / 1M tokens
Output price
$2.9 / 1M tokens
Sample cost
$0.00239
Speed measurements
500-token response
43.27 s
Response starts
1.61 s
Output speed
12.0 tok/s
Endpoint details
Uptime (30 min)
87.29%
Context
1M
Model format
fp4
Max output
1M
17 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, parallel_tool_calls, presence_penalty, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tools, top_logprobs, top_p

Provider / route
Baidu Qianfanbaidu/fp8
Current pricing
Input price
$0.97 / 1M tokens
Output price
$3.07 / 1M tokens
Sample cost
$0.002505
Speed measurements
500-token response
11.82 s
Response starts
1.18 s
Output speed
47.0 tok/s
Endpoint details
Uptime (30 min)
99.52%
Context
1M
Model format
fp8
Max output
131.1K
14 parameters

frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_p

Provider / route
StreamLakestreamlake/fp8
Current pricing
Input price
$0.9737 / 1M tokens
Output price
$3.06 / 1M tokens
Sample cost
$0.0025038
Discount
30.4%
Speed measurements
500-token response
18.81 s
Response starts
2.14 s
Output speed
30.0 tok/s
Endpoint details
Uptime (30 min)
99.90%
Context
1M
Model format
fp8
Max output
128K
14 parameters

frequency_penalty, include_reasoning, logprobs, max_tokens, reasoning, reasoning_effort, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
NovitaAInovita/fp8
Current pricing
Input price
$0.9744 / 1M tokens
Output price
$3.06 / 1M tokens
Sample cost
$0.0025056
Discount
30.4%
Speed measurements
500-token response
22.65 s
Response starts
3.42 s
Output speed
26.0 tok/s
Endpoint details
Uptime (30 min)
97.04%
Context
1M
Model format
fp8
Max output
131.1K
15 parameters

frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p

Provider / route
GMICloudgmicloud/fp8
Current pricing
Input price
$0.98 / 1M tokens
Output price
$3.08 / 1M tokens
Sample cost
$0.00252
Speed measurements
500-token response
15.09 s
Response starts
1.58 s
Output speed
37.0 tok/s
Endpoint details
Uptime (30 min)
97.84%
Context
1M
Model format
fp8
Max output
N/a
13 parameters

include_reasoning, logprobs, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
DigitalOceandigitalocean
Current pricing
Input price
$1.05 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.00325
Speed measurements
500-token response
12.35 s
Response starts
1.24 s
Output speed
45.0 tok/s
Endpoint details
Uptime (30 min)
97.62%
Context
262.1K
Model format
unknown
Max output
N/a
11 parameters

include_reasoning, logprobs, max_tokens, reasoning, reasoning_effort, response_format, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
Ambientambient/fp8
Current pricing
Input price
$1.05 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.00325
Speed measurements
500-token response
27.34 s
Response starts
1.03 s
Output speed
19.0 tok/s
Endpoint details
Uptime (30 min)
99.42%
Context
101.4K
Model format
fp8
Max output
101.4K
20 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Morphmorph
Current pricing
Input price
$1.1 / 1M tokens
Output price
$4.1 / 1M tokens
Sample cost
$0.00315
Speed measurements
500-token response
35.16 s
Response starts
1.83 s
Output speed
15.0 tok/s
Endpoint details
Uptime (30 min)
96.56%
Context
1M
Model format
unknown
Max output
1M
20 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Waferwafer/fp4
Current pricing
Input price
$1.2 / 1M tokens
Output price
$4.1 / 1M tokens
Sample cost
$0.00325
Speed measurements
500-token response
29.01 s
Response starts
1.24 s
Output speed
18.0 tok/s
Endpoint details
Uptime (30 min)
99.73%
Context
1M
Model format
fp4
Max output
131.1K
20 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Decartdecart/fp4
Best cost/speed trade-off
Current pricing
Input price
$1.2 / 1M tokens
Output price
$4.2 / 1M tokens
Sample cost
$0.0033
Speed measurements
500-token response
7.76 s
Response starts
0.61 s
Output speed
70.0 tok/s
Endpoint details
Uptime (30 min)
96.20%
Context
1M
Model format
fp4
Max output
1M
19 parameters

frequency_penalty, include_reasoning, logprobs, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / routeCurrent pricing
Input price
$1.24 / 1M tokens
Output price
$3.89 / 1M tokens
Sample cost
$0.0031788
Discount
11.7%
Speed measurements
500-token response
18.45 s
Response starts
1.78 s
Output speed
30.0 tok/s
Endpoint details
Uptime (30 min)
99.98%
Context
1M
Model format
unknown
Max output
131.1K
14 parameters

include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, response_format, seed, structured_outputs, temperature, tool_choice, tools, top_logprobs, top_p

Provider / route
AtlasCloudatlas-cloud/fp8
Current pricing
Input price
$1.26 / 1M tokens
Output price
$3.96 / 1M tokens
Sample cost
$0.00324
Discount
10.0%
Speed measurements
500-token response
26.91 s
Response starts
1.91 s
Output speed
20.0 tok/s
Endpoint details
Uptime (30 min)
99.69%
Context
1M
Model format
fp8
Max output
131.1K
17 parameters

frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p

Provider / route
AkashMLakashml/fp8
Current pricing
Input price
$1.3 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0035
Speed measurements
500-token response
17.13 s
Response starts
1.50 s
Output speed
32.0 tok/s
Endpoint details
Uptime (30 min)
99.42%
Context
131.1K
Model format
fp8
Max output
131.1K
17 parameters

frequency_penalty, include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
SiliconFlowsiliconflow/fp8
Current pricing
Input price
$1.3 / 1M tokens
Output price
$4.09 / 1M tokens
Sample cost
$0.003348
Speed measurements
500-token response
28.65 s
Response starts
6.91 s
Output speed
23.0 tok/s
Endpoint details
Uptime (30 min)
94.53%
Context
1M
Model format
fp8
Max output
262.1K
10 parameters

frequency_penalty, include_reasoning, max_tokens, reasoning, reasoning_effort, temperature, tool_choice, tools, top_k, top_p

Provider / route
Weights & Biaseswandb/fp4
Fastest
Current pricing
Input price
$1.39 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.00359
Speed measurements
500-token response
5.04 s
Response starts
0.50 s
Output speed
110.0 tok/s
Endpoint details
Uptime (30 min)
99.98%
Context
262.1K
Model format
fp4
Max output
262.1K
17 parameters

frequency_penalty, include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Z.aiz-ai/fp8
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
14.82 s
Response starts
3.71 s
Output speed
45.0 tok/s
Endpoint details
Uptime (30 min)
99.71%
Context
1M
Model format
fp8
Max output
131.1K
10 parameters

include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, temperature, tool_choice, tools, top_k, top_p

Provider / route
Fireworksfireworks
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
11.10 s
Response starts
1.10 s
Output speed
50.0 tok/s
Endpoint details
Uptime (30 min)
99.22%
Context
1M
Model format
unknown
Max output
N/a
18 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Cloudflarecloudflare
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
9.47 s
Response starts
0.70 s
Output speed
57.0 tok/s
Endpoint details
Uptime (30 min)
99.97%
Context
262.1K
Model format
unknown
Max output
262.1K
20 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Friendlifriendli
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
5.60 s
Response starts
0.65 s
Output speed
101.0 tok/s
Endpoint details
Uptime (30 min)
99.71%
Context
1M
Model format
unknown
Max output
1M
17 parameters

frequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p

Provider / route
Parasailparasail/fp4
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
12.31 s
Response starts
0.68 s
Output speed
43.0 tok/s
Endpoint details
Uptime (30 min)
100.00%
Context
262.1K
Model format
fp4
Max output
262.1K
19 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Venicevenice/fp8
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
13.51 s
Response starts
1.31 s
Output speed
41.0 tok/s
Endpoint details
Uptime (30 min)
98.71%
Context
1M
Model format
fp8
Max output
131.1K
14 parameters

frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, reasoning_effort, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p

Provider / route
Togethertogether
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
8.89 s
Response starts
0.70 s
Output speed
61.0 tok/s
Endpoint details
Uptime (30 min)
99.51%
Context
262.1K
Model format
unknown
Max output
N/a
17 parameters

frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p

Provider / route
Phalaphala
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
38.09 s
Response starts
2.37 s
Output speed
14.0 tok/s
Endpoint details
Uptime (30 min)
37.01%
Context
1M
Model format
unknown
Max output
131.1K
16 parameters

frequency_penalty, include_reasoning, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, temperature, tool_choice, tools, top_k, top_p

Provider / route
Basetenbaseten/fp8
Current pricing
Input price
$1.4 / 1M tokens
Output price
$4.4 / 1M tokens
Sample cost
$0.0036
Speed measurements
500-token response
7.72 s
Response starts
0.97 s
Output speed
74.0 tok/s
Endpoint details
Uptime (30 min)
99.93%
Context
256K
Model format
fp8
Max output
256K
13 parameters

frequency_penalty, include_reasoning, max_tokens, presence_penalty, reasoning, reasoning_effort, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_p

Provider / route
io.netio-net/fp8
Current pricing
Input price
$1.6 / 1M tokens
Output price
$3.5 / 1M tokens
Sample cost
$0.00335
Speed measurements
500-token response
24.86 s
Response starts
2.13 s
Output speed
22.0 tok/s
Endpoint details
Uptime (30 min)
95.09%
Context
262.1K
Model format
fp8
Max output
65.5K
17 parameters

frequency_penalty, include_reasoning, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Fireworksfireworks/fast
Current pricing
Input price
$2.1 / 1M tokens
Output price
$6.6 / 1M tokens
Sample cost
$0.0054
Speed measurements
500-token response
6.63 s
Response starts
0.89 s
Output speed
87.0 tok/s
Endpoint details
Uptime (30 min)
99.57%
Context
1M
Model format
unknown
Max output
N/a
18 parameters

frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p

Provider / route
Waferwafer/fast
Current pricing
Input price
$3 / 1M tokens
Output price
$10.25 / 1M tokens
Sample cost
$0.008125
Speed measurements
500-token response
11.13 s
Response starts
1.32 s
Output speed
51.0 tok/s
Endpoint details
Uptime (30 min)
99.73%
Context
1M
Model format
fp4
Max output
131.1K
18 parameters

frequency_penalty, include_reasoning, logit_bias, max_tokens, min_p, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_p

Endpoint data fetched .

GLM 5.2 deployment guide

How to choose a GLM 5.2 inference provider

GLM 5.2 is indexed here as a text model by Z.ai, with 28 provider endpoints from DeepInfra, Inceptron, Baidu Qianfan, StreamLake, NovitaAI, and others. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.

Match the endpoint to the workload

The model publishes a 1M-token context window. It accepts text input and returns text output. 21 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.

Compare the real request economics

Inceptron currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.00239. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.

Balance response start and generation speed

Weights & Biases currently has the shortest estimated 500-token response at 5.04 seconds. Decart is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.