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.1. We suggest considering it instead.

For more information, see comparison of GLM-5.1 to other models and API provider benchmarks for GLM-5.1.

GLM-5

Open weights model

Released February 2026

GLM-5 (Reasoning) API Provider Benchmarking & Analysis

Model Comparison

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

Fastest

#1
GoogleGoogle
85.1 t/s
#2
DeepInfra (FP4)DeepInfra (FP4)
72.3 t/s
#3
Novita FP8Novita FP8
66.7 t/s

Output speed

Total 6 providers

Lowest Latency

#1
GoogleGoogle
37.75 s
#2
DeepInfra (FP4)DeepInfra (FP4)
44.45 s
#3
Novita FP8Novita FP8
48.23 s

Time to first answer token

Total 6 providers

Lowest Price

#1
DeepInfra (FP4)DeepInfra (FP4)
$0.41
#2
GoogleGoogle
$0.59
#3
SiliconFlow (FP8)SiliconFlow (FP8)
$0.66
#4
FireworksFireworks
$0.66
#5
Novita FP8Novita FP8
$0.66

Blended price (per 1M tokens)

Total 6 providers

GLM-5 is available through 6 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 Google (85.1 t/s), DeepInfra (FP4) (72.3 t/s), and Novita FP8 (66.7 t/s).
  • For latency, Google (37.75s), DeepInfra (FP4) (44.45s), and Novita FP8 (48.23s) offer the lowest time to first answer token.
  • For pricing, DeepInfra (FP4) (0.41), Google (0.59), and SiliconFlow (FP8) (0.66) offer the lowest blended prices per 1M tokens. Prices vary up to 3.0x across providers.
  • Google 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 (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 Answer 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
--
72
1.45
51.66
43.24
SiliconFlow logoSiliconFlow
200k
Open
--
--
--
--
--
Fireworks logoFireworks
203k
Open
--
--
--
--
--
Google logoGoogle
200k
Open
--
96
1.27
38.67
32.22
CoreWeave logoCoreWeave
200k
Open
--
--
--
--
--
Novita logoNovita
203k
Open
--
69
1.64
54.06
45.15

Frequently Asked Questions

Common questions about GLM-5 (Reasoning) providers