Skip to content

Z.ai: GLM 4.7 provider comparison

z-ai/glm-4.7

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...

Endpoints:
9
Context:
202.8K
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

Google Vertexgoogle-vertex

$1.1333 / 1M tokens

4.01 s estimated response

Cheapest

DeepInfradeepinfra/fp4

$0.85 / 1M tokens

$0.001275 for the sample request

Fastest

Cerebrascerebras/fp16

2.82 s estimated response

$2.4167 / 1M tokens

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.

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

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.

9 providers have complete pricing and speed data. Google Vertex 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 4.7
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
DeepInfradeepinfra/fp4
Cheapest
Current pricing
Input price
$0.4 / 1M tokens
Output price
$1.75 / 1M tokens
Sample cost
$0.001275
Speed measurements
500-token response
11.41 s
Response starts
0.77 s
Output speed
47.0 tok/s
Endpoint details
Uptime (30 min)
99.88%
Context
202.8K
Model format
fp4
Max output
131.1K
17 parameters

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

Provider / route
StreamLakestreamlake/fp8
Current pricing
Input price
$0.48 / 1M tokens
Output price
$1.76 / 1M tokens
Sample cost
$0.00136
Discount
20.0%
Speed measurements
500-token response
20.95 s
Response starts
1.72 s
Output speed
26.0 tok/s
Endpoint details
Uptime (30 min)
92.39%
Context
200K
Model format
fp8
Max output
128K
13 parameters

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

Provider / route
AtlasCloudatlas-cloud/fp8
Current pricing
Input price
$0.52 / 1M tokens
Output price
$1.85 / 1M tokens
Sample cost
$0.001445
Speed measurements
500-token response
27.02 s
Response starts
2.02 s
Output speed
20.0 tok/s
Endpoint details
Uptime (30 min)
97.99%
Context
202.8K
Model format
fp8
Max output
202.8K
17 parameters

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

Provider / route
NovitaAInovita/fp8
Current pricing
Input price
$0.54 / 1M tokens
Output price
$1.98 / 1M tokens
Sample cost
$0.00153
Discount
10.0%
Speed measurements
500-token response
23.48 s
Response starts
2.65 s
Output speed
24.0 tok/s
Endpoint details
Uptime (30 min)
95.29%
Context
204.8K
Model format
fp8
Max output
131.1K
14 parameters

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

Provider / route
Venicevenice/fp4
Current pricing
Input price
$0.55 / 1M tokens
Output price
$2.65 / 1M tokens
Sample cost
$0.001875
Speed measurements
500-token response
16.78 s
Response starts
0.91 s
Output speed
31.5 tok/s
Endpoint details
Uptime (30 min)
99.55%
Context
198K
Model format
fp4
Max output
16.4K
13 parameters

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

Provider / route
Z.aiz-ai/fp4
Current pricing
Input price
$0.6 / 1M tokens
Output price
$2.2 / 1M tokens
Sample cost
$0.0017
Speed measurements
500-token response
27.26 s
Response starts
11.63 s
Output speed
32.0 tok/s
Endpoint details
Uptime (30 min)
92.83%
Context
202.8K
Model format
fp4
Max output
131.1K
9 parameters

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

Provider / route
Google Vertexgoogle-vertex
Best cost/speed trade-off
Current pricing
Input price
$0.6 / 1M tokens
Output price
$2.2 / 1M tokens
Sample cost
$0.0017
Speed measurements
500-token response
4.01 s
Response starts
0.47 s
Output speed
141.0 tok/s
Endpoint details
Uptime (30 min)
100.00%
Context
200K
Model format
unknown
Max output
128K
15 parameters

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

Provider / route
Phalaphala
Current pricing
Input price
$0.85 / 1M tokens
Output price
$3.3 / 1M tokens
Sample cost
$0.0025
Speed measurements
500-token response
31.53 s
Response starts
2.12 s
Output speed
17.0 tok/s
Endpoint details
Uptime (30 min)
96.34%
Context
131.1K
Model format
unknown
Max output
131.1K
18 parameters

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

Provider / route
Cerebrascerebras/fp16
Fastest
Current pricing
Input price
$2.25 / 1M tokens
Output price
$2.75 / 1M tokens
Sample cost
$0.003625
Speed measurements
500-token response
2.82 s
Response starts
0.81 s
Output speed
248.0 tok/s
Endpoint details
Uptime (30 min)
99.39%
Context
131.1K
Model format
fp16
Max output
41K
16 parameters

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

Endpoint data fetched .

GLM 4.7 deployment guide

How to choose a GLM 4.7 inference provider

GLM 4.7 is indexed here as a text model by Z.ai, with 9 provider endpoints from DeepInfra, StreamLake, AtlasCloud, NovitaAI, Venice, 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 202.8K-token context window. It accepts text input and returns text output. 19 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

DeepInfra currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.001275. 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

Cerebras currently has the shortest estimated 500-token response at 2.82 seconds. Google Vertex is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.