# DeepSeek V4.1 Flash 1017 vs GLM 5.4

Source: https://openrouter.ai/compare/deepseek/deepseek-v4.1-flash-1017/z-ai/glm-5.4

## Overview

| Attribute | DeepSeek V4.1 Flash 1017 | GLM 5.4 |
| --- | --- | --- |
| Author | DeepSeek | Z.ai |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, Video |
| Output modalities | Text | Text |
| Input price | $0.02/M tokens | $0.40/M tokens |
| Output price | $0.20/M tokens | $2.464/M tokens |
| Context window | 1,048,576 tokens | 1,048,576 tokens |
| Intelligence Index | 32.4 | Not available |
| Finance & Accounting Index | 42.2 | Not available |
| Strategy & Ops Index | 49.2 | Not available |
| Legal Index | 37.7 | Not available |
| Healthcare & Medical Index | 41.3 | Not available |
| Engineering Index | 37.5 | Not available |
| Economics Index | 38.5 | Not available |
| Cyber Index | 56.8 (0.0% of tasks refused) | Not available |
| Openness Index | 44.4 | Not available |
| FrontierCode-AA 2.0 | 28.2% | Not available |
| Latency (p50) | 1.73 s | 0.90 s |
| Throughput (p50) | 88.0 tok/s | 109.0 tok/s |

## DeepSeek V4.1 Flash 1017 or GLM 5.4: which should you choose?

### Choose DeepSeek V4.1 Flash 1017 for:

- lower token prices

### Choose GLM 5.4 for:

- faster output (109.0 vs 88.0 tok/s)
- a quicker first token (0.90 s vs 1.73 s)

## Benchmark differences

| Benchmark | DeepSeek V4.1 Flash 1017 | GLM 5.4 | Difference |
| --- | --- | --- | --- |
| Intelligence Index | 32.4 | Not available | Not available |
| Finance & Accounting Index | 42.2 | Not available | Not available |
| Strategy & Ops Index | 49.2 | Not available | Not available |
| Legal Index | 37.7 | Not available | Not available |
| Healthcare & Medical Index | 41.3 | Not available | Not available |
| Engineering Index | 37.5 | Not available | Not available |
| Economics Index | 38.5 | Not available | Not available |
| Cyber Index | 56.8 (0.0% of tasks refused) | Not available | Not available |
| FrontierCode-AA 2.0 | 28.2% | Not available | Not available |

## Model pages

- [DeepSeek V4.1 Flash 1017](https://openrouter.ai/deepseek/deepseek-v4.1-flash-1017) ([llms.txt](https://openrouter.ai/deepseek/deepseek-v4.1-flash-1017/llms.txt))
- [GLM 5.4](https://openrouter.ai/z-ai/glm-5.4) ([llms.txt](https://openrouter.ai/z-ai/glm-5.4/llms.txt))
