DeepSeek V4.1 Flash vs GLM 5.4

Compare DeepSeek V4.1 Flash from DeepSeek and GLM 5.4 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for deepseek
DeepSeek V4.1 Flash
Favicon for z-ai
GLM 5.4

Overview

DeepSeek V4.1 Flash
Author
DeepSeek
GLM 5.4
Author
Z.ai
DeepSeek V4.1 Flash
Context length
1.05Mtokens
GLM 5.4
Context length
1.05Mtokens
DeepSeek V4.1 Flash
Reasoning
Yes
GLM 5.4
Reasoning
Yes
DeepSeek V4.1 Flash
Input modalities
Text, Image
GLM 5.4
Input modalities
Text, Image, Video
DeepSeek V4.1 Flash
Output modalities
Text
GLM 5.4
Output modalities
Text

Analysis

DeepSeek V4.1 Flash vs GLM 5.4 at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

DeepSeek V4.1 Flash
Input price
$0.051/M tokens
GLM 5.4
Input price
$0.40/M tokens
DeepSeek V4.1 Flash
Output price
$0.567/M tokens
GLM 5.4
Output price
$2.464/M tokens
DeepSeek V4.1 Flash
Context window
1,048,576 tokens
GLM 5.4
Context window
1,048,576 tokens
DeepSeek V4.1 Flash
Cyber Index Artificial Analysis, best published result
40.80.0% of tasks refused
GLM 5.4
Cyber Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash
Openness Index Artificial Analysis, best published result
44.4
GLM 5.4
Openness Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash
Latency (p50)
0.33 s
GLM 5.4
Latency (p50)
0.58 s
DeepSeek V4.1 Flash
Throughput (p50)
148.0 tok/s
GLM 5.4
Throughput (p50)
132.0 tok/s
DeepSeek V4.1 Flash
Provided by
DeepSeek
GLM 5.4
Provided by
Z.ai

Benchmark data updated

Frequently asked questions

Is DeepSeek V4.1 Flash cheaper than GLM 5.4?

DeepSeek V4.1 Flash is cheaper than GLM 5.4 on OpenRouter: DeepSeek V4.1 Flash costs $0.051/M tokens input and $0.567/M tokens output, while GLM 5.4 costs $0.40/M tokens input and $2.464/M tokens output.

Which has the longer context window, DeepSeek V4.1 Flash or GLM 5.4?

DeepSeek V4.1 Flash and GLM 5.4 have the same context window of 1,048,576 tokens.

Which is faster, DeepSeek V4.1 Flash or GLM 5.4?

DeepSeek V4.1 Flash is faster on OpenRouter, generating a median 148.0 tokens per second compared with 132.0 tokens per second for GLM 5.4.