DeepSeek V4.1 Flash 1017 vs GLM 5.4

Compare DeepSeek V4.1 Flash 1017 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 1017
Favicon for z-ai
GLM 5.4

Overview

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

Analysis

DeepSeek V4.1 Flash 1017 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 1017
Input price
$0.02/M tokens
GLM 5.4
Input price
$0.40/M tokens
DeepSeek V4.1 Flash 1017
Output price
$0.20/M tokens
GLM 5.4
Output price
$2.464/M tokens
DeepSeek V4.1 Flash 1017
Context window
1,048,576 tokens
GLM 5.4
Context window
1,048,576 tokens
DeepSeek V4.1 Flash 1017
Intelligence Index Artificial Analysis, best published result
32.4
GLM 5.4
Intelligence Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Finance & Accounting Index Artificial Analysis, best published result
42.2
GLM 5.4
Finance & Accounting Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Strategy & Ops Index Artificial Analysis, best published result
49.2
GLM 5.4
Strategy & Ops Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Legal Index Artificial Analysis, best published result
37.7
GLM 5.4
Legal Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Healthcare & Medical Index Artificial Analysis, best published result
41.3
GLM 5.4
Healthcare & Medical Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Engineering Index Artificial Analysis, best published result
37.5
GLM 5.4
Engineering Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Economics Index Artificial Analysis, best published result
38.5
GLM 5.4
Economics Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Cyber Index Artificial Analysis, best published result
56.80.0% of tasks refused
GLM 5.4
Cyber Index Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
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 1017
FrontierCode-AA 2.0 Artificial Analysis, best published result
28.2%
GLM 5.4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
DeepSeek V4.1 Flash 1017
Latency (p50)
1.73 s
GLM 5.4
Latency (p50)
0.59 s
DeepSeek V4.1 Flash 1017
Throughput (p50)
98.0 tok/s
GLM 5.4
Throughput (p50)
148.0 tok/s
DeepSeek V4.1 Flash 1017
Provided by
DeepSeek
GLM 5.4
Provided by
Z.ai

Benchmark data updated

Frequently asked questions

Is DeepSeek V4.1 Flash 1017 cheaper than GLM 5.4?

DeepSeek V4.1 Flash 1017 is cheaper than GLM 5.4 on OpenRouter: DeepSeek V4.1 Flash 1017 costs $0.02/M tokens input and $0.20/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 1017 or GLM 5.4?

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

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

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