DeepSeek V4.1 Flash 1017 vs Grok 4.7: API pricing
Compare DeepSeek V4.1 Flash 1017 vs Grok 4.7 API pricing, context windows, and monthly workload costs side by side; via OpenRouter, as of 2026-11-13.
Prices via OpenRouter · as of 13 Nov 2026. USD per million tokens.
| DeepSeek V4.1 Flash 1017 | Grok 4.7 | |
|---|---|---|
| Lab | DeepSeek | SpaceXAI |
| Input | $0.038 | $2.00 |
| Output | $0.50 | $6.00 |
| Cached input | $0.01 | $0.50 |
| Context window | 1.05M tokens | 500K tokens |
| Maximum output | 944K tokens | 450K tokens |
| Input types | text, image | text, image, file |
Monthly cost for common workloads
| Workload | Assumptions | DeepSeek V4.1 Flash 1017 per month | Grok 4.7 per month | Cheaper |
|---|---|---|---|---|
| Chat assistant | 1,000 requests a day, 2,000 input and 500 output tokens each, 30% of input cached | $9.28 | $183.00 | DeepSeek V4.1 Flash 1017 |
| Support bot | 2,000 requests a day, 3,000 input and 300 output tokens each, 60% of input cached | $12.82 | $306.00 | DeepSeek V4.1 Flash 1017 |
| Document summaries | 200 requests a day, 20,000 input and 800 output tokens each, 0% of input cached | $6.96 | $268.80 | DeepSeek V4.1 Flash 1017 |
| Coding agent | 500 requests a day, 60,000 input and 2,000 output tokens each, 85% of input cached | $27.78 | $832.50 | DeepSeek V4.1 Flash 1017 |
| Bulk classification | 100,000 requests a day, 300 input and 5 output tokens each, 50% of input cached | $29.10 | $1,215.00 | DeepSeek V4.1 Flash 1017 |
Verdict
DeepSeek V4.1 Flash 1017 is 53x cheaper than Grok 4.7 for input ($0.038 against $2.00 per million tokens). DeepSeek V4.1 Flash 1017 is 12x cheaper than Grok 4.7 for output ($0.50 against $6.00 per million tokens). DeepSeek V4.1 Flash 1017 has the larger context window, 1.05M tokens against 500K tokens. DeepSeek V4.1 Flash 1017 works out cheaper for all 5 workloads below. For a chat assistant the bill is about $9.28 a month with DeepSeek V4.1 Flash 1017 and $183.00 with Grok 4.7.
Keep exploring
- DeepSeek V4.1 Flash 1017 pricing
- Grok 4.7 pricing
- All AI model prices
- Open ModelCost: search all 363 models, compare any two and run the cost calculator.
- All OnePassApps apps
Enable JavaScript to use the interactive ModelCost app and calculator.