# DeepSeek V4.1 Flash 1017 vs Grok 4.7

Source: https://openrouter.ai/compare/deepseek/deepseek-v4.1-flash-1017/x-ai/grok-4.7

## Overview

| Attribute | DeepSeek V4.1 Flash 1017 | Grok 4.7 |
| --- | --- | --- |
| Author | DeepSeek | SpaceXSI |
| Reasoning | Yes | Yes |
| Input modalities | Text, Image | Text, Image, File |
| Output modalities | Text | Text |
| Input price | $0.02/M tokens | $2/M tokens |
| Output price | $0.20/M tokens | $6/M tokens |
| Context window | 1,048,576 tokens | 500,000 tokens |
| Intelligence Index | 32.4 | 35.4 |
| Finance & Accounting Index | 42.2 | 51.7 |
| Strategy & Ops Index | 49.2 | 54.8 |
| Legal Index | 37.7 | 47.2 |
| Healthcare & Medical Index | 41.3 | 46.6 |
| Engineering Index | 37.5 | 41.7 |
| Economics Index | 38.5 | 45.7 |
| Cyber Index | 56.8 (0.0% of tasks refused) | 56.4 (0.0% of tasks refused) |
| Openness Index | 44.4 | Not available |
| FrontierCode-AA 2.0 | 28.2% | 28.9% |
| Latency (p50) | 1.73 s | 53.92 s |
| Throughput (p50) | 88.0 tok/s | 153.0 tok/s |

## DeepSeek V4.1 Flash 1017 or Grok 4.7: which should you choose?

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

- a longer context window (1,048,576 vs 500,000 tokens)
- a quicker first token (1.73 s vs 53.92 s)

### Choose Grok 4.7 for:

- a higher Intelligence Index (35.4 vs 32.4)
- a higher Finance & Accounting Index (51.7 vs 42.2)
- a higher Strategy & Ops Index (54.8 vs 49.2)
- a higher Legal Index (47.2 vs 37.7)
- a higher Healthcare & Medical Index (46.6 vs 41.3)
- a higher Engineering Index (41.7 vs 37.5)
- a higher Economics Index (45.7 vs 38.5)
- a higher FrontierCode-AA 2.0 score (28.9% vs 28.2%)
- faster output (153.0 vs 88.0 tok/s)

## Benchmark differences

| Benchmark | DeepSeek V4.1 Flash 1017 | Grok 4.7 | Difference |
| --- | --- | --- | --- |
| Intelligence Index | 32.4 | 35.4 | Grok 4.7 +3.0 |
| Finance & Accounting Index | 42.2 | 51.7 | Grok 4.7 +9.5 |
| Strategy & Ops Index | 49.2 | 54.8 | Grok 4.7 +5.6 |
| Legal Index | 37.7 | 47.2 | Grok 4.7 +9.5 |
| Healthcare & Medical Index | 41.3 | 46.6 | Grok 4.7 +5.3 |
| Engineering Index | 37.5 | 41.7 | Grok 4.7 +4.2 |
| Economics Index | 38.5 | 45.7 | Grok 4.7 +7.2 |
| Cyber Index | 56.8 (0.0% of tasks refused) | 56.4 (0.0% of tasks refused) | DeepSeek V4.1 Flash 1017 +0.4 |
| FrontierCode-AA 2.0 | 28.2% | 28.9% | Grok 4.7 +0.7 |

## 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))
- [Grok 4.7](https://openrouter.ai/x-ai/grok-4.7) ([llms.txt](https://openrouter.ai/x-ai/grok-4.7/llms.txt))
