This model is deprecated. We only continue performance benchmarking for the default 10k input token workload. Results for other workloads are historical and no longer updated.

Z AI has launched a newer model, GLM-5.2 (Non-reasoning). We suggest considering it instead.

For more information, see comparison of GLM-5.2 (Non-reasoning) to other models and API provider benchmarks for GLM-5.2 (Non-reasoning).

GLM-5.1

Open weights model

Released April 2026

GLM-5.1 (Non-reasoning) API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of GLM-5.1 (Non-reasoning) for your use-case.

Fastest

#1
FriendliAIFriendliAI
122.5 t/s
#2
Novita (FP8)Novita (FP8)
56.7 t/s
#3
DeepInfra (FP4)DeepInfra (FP4)
31.4 t/s
#4
SiliconFlow (FP8)SiliconFlow (FP8)
29.1 t/s
#5
Nebius (FP8, Base)Nebius (FP8, Base)
24.4 t/s

Output speed

Total 5 providers

Lowest Latency

#1
FriendliAIFriendliAI
0.82 s
#2
DeepInfra (FP4)DeepInfra (FP4)
1.00 s
#3
Nebius (FP8, Base)Nebius (FP8, Base)
2.01 s
#4
Novita (FP8)Novita (FP8)
2.35 s
#5
SiliconFlow (FP8)SiliconFlow (FP8)
2.41 s

Time to first token

Total 5 providers

Lowest Price

#1
DeepInfra (FP4)DeepInfra (FP4)
$0.70
#2
Novita (FP8)Novita (FP8)
$0.90
#3
FriendliAIFriendliAI
$0.90
#4
SiliconFlow (FP8)SiliconFlow (FP8)
$1.03
#5
Nebius (FP8, Base)Nebius (FP8, Base)
$1.70

Blended price (per 1M tokens)

Total 5 providers

GLM-5.1 (Non-reasoning) is available through 5 API providers, each offering different performance characteristics and pricing. Below is a comparison of the key metrics across providers.

  • For output speed, the top providers are FriendliAI (122.5 t/s), Novita (FP8) (56.7 t/s), and DeepInfra (FP4) (31.4 t/s). Speed varies significantly across providers, with a 401% difference between the fastest and slowest.
  • For latency, FriendliAI (0.82s), DeepInfra (FP4) (1.00s), and Nebius (FP8, Base) (2.01s) offer the lowest time to first token.
  • For pricing, DeepInfra (FP4) (0.70), Novita (FP8) (0.90), and FriendliAI (0.90) offer the lowest blended prices per 1M tokens. Prices vary up to 2.4x across providers.
  • FriendliAI offers the best performance with both the highest speed and lowest latency. For cost optimization, DeepInfra (FP4) provides the most competitive pricing.

Highlights

Output tokens per second · Higher is better
Seconds · Lower is better
USD per 1M tokens (blended) · Lower is better

Pricing

Pricing: Cache Hit, Input, and Output

Price (USD per M Tokens) · Lower is better · 10,000 input tokens

Pricing: Blended Price

Blended at 7:2:1 (cache-input-output) · USD per 1M tokens (blended) · Lower is better

Pricing: Cache Discount

1 - (cache hit price / input price) · Higher is better

Output Speed vs. Price

Blended at 7:2:1 (cache-input-output) · Output speed: output tokens per second · USD per 1M tokens (blended)
Most attractive quadrant
Pareto line

Speed

Measured by Output Speed (tokens per second)

Output Speed: GLM-5.1 (Non-reasoning)

Output speed: output tokens per second · 10,000 input tokens

Latency vs. Output Speed

Latency: seconds to first token received · Output speed: output tokens per second · 10,000 input tokens
Most attractive quadrant

Latency

Measured by Time (seconds) to First Token

Time to First Token

Seconds to first token received · Lower is better · 10,000 input tokens

End-to-End Response Time

Seconds to output 500 tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed

End-to-End Response Time

Seconds to output 500 tokens, including reasoning model 'thinking' time · Lower is better · 10,000 input tokens

Key Comparison Metrics & API Features

DeepInfra logoDeepInfra
203k
Open
--
23
1.16
23.05
--
Novita logoNovita
205k
Open
--
53
2.22
11.70
--
FriendliAI logoFriendliAI
203k
Open
--
121
0.80
4.93
--
SiliconFlow logoSiliconFlow
205k
Open
--
29
2.58
19.64
--
Nebius logoNebius
200k
Open
--
25
1.92
21.86
--

Frequently Asked Questions

Common questions about GLM-5.1 (Non-reasoning) providers