DeepSeek V4.1 Flash 1017 vs Grok 4.7 pricing
DeepSeek V4.1 Flash 1017 and xAI Grok 4.7 side by side: token prices, cache and batch prices, limits, and the monthly cost of your own workload.
For this workload DeepSeek V4.1 Flash 1017 costs $24.30 a month and xAI Grok 4.7 costs $288: 12 times as much.
| Attribute | DeepSeek V4.1 Flash 1017 | Grok 4.7 |
|---|---|---|
| Provider | DeepSeek | xAI |
| Input, per 1M tokens | $0.15 | $2.00 |
| Output, per 1M tokens | $0.60 | $6.00 |
| Cached input (read) | $0.003 | $0.50 |
| Batch (input / output) | $0.035 / $0.149 | $1.60 / $4.80 |
| Provider list price (input / output) | not recorded | $2.00 / $6.00 |
| Context window | 1,048,576 | 500,000 |
| Maximum output | 393,216 | 450,000 |
| Accepts | text, image | text, image, file |
| Intelligence Index (Artificial Analysis) | 32.6 | 35.5 |
| Your cost per month | $24.30lowest | $288 |
The cost uses each model’s published cache-read price for the cached share and normal input price where none is published. Full detail: DeepSeek V4.1 Flash 1017 pricing and Grok 4.7 pricing.
Collected from the OpenRouter models API (476 entries). 104 models are cross-checked against provider list prices in the LiteLLM price table.
How to read this comparison
A lower price per token does not settle which model is cheaper for you. The two models can differ in how the bill splits between input and output: one may have cheaper input and dearer output than the other. Which side wins depends on how long your prompts are compared with the answers you ask for, so set the workload above to your own traffic before reading the last row.
If your requests repeat a long prefix, such as a system prompt or a document, raise “From cache”. The share you set is billed at each model’s cache-read price when one is published, which can change the result when only one of the two offers it. Reasoning models bill hidden thinking as output: for those, raise the output tokens to what your requests really consume.
Price is one axis. Context window, maximum output and accepted inputs are listed because they decide whether a model can do the job at all; the Intelligence Index, where shown, is a third-party score from Artificial Analysis and not a judgement by this site.
Related comparisons
- DeepSeek V4.1 Flash 1017 vs DeepSeek V4.1 Flash
- DeepSeek V4.1 Flash 1017 vs GPT-6.2 Astra Pro
- DeepSeek V4.1 Flash 1017 vs Claude Fable 5.2
- DeepSeek V4.1 Flash 1017 vs Gemini 4 Neon
- DeepSeek V4.1 Flash 1017 vs Pixtral Large 2502
- DeepSeek V4.1 Flash 1017 vs Llama 4 Maverick
- DeepSeek V4.1 Flash 1017 vs Qwen4 Max
- Grok 4.7 vs Grok 4.6
- Grok 4.7 vs GPT-6.2 Astra Pro
- Grok 4.7 vs Claude Fable 5.2
- Grok 4.7 vs Gemini 4 Neon
- Grok 4.7 vs Pixtral Large 2502
Questions and answers
Which is cheaper, DeepSeek V4.1 Flash 1017 or xAI Grok 4.7?
For 1,000 requests a day with 3,000 input and 600 output tokens each, DeepSeek V4.1 Flash 1017 costs $24.30 a month and xAI Grok 4.7 costs $288, so DeepSeek V4.1 Flash 1017 is cheaper for that workload. A different mix of input and output can change the answer; use the simulator on this page.
What are the prices per million tokens?
DeepSeek V4.1 Flash 1017: $0.15 input and $0.60 output. xAI Grok 4.7: $2.00 input and $6.00 output. These are the OpenRouter prices at the collection of 22 Nov 2026, 06:52 UTC.
Which one has the larger context window?
DeepSeek V4.1 Flash 1017, with 1,048,576 tokens against 500,000.
Do both offer a cached-input price?
DeepSeek V4.1 Flash 1017: $0.003 per million cached input tokens. xAI Grok 4.7: $0.50 per million cached input tokens.
Does this comparison say which model is better?
No. It compares prices and limits. Quality depends on your task; where OpenRouter relays the Artificial Analysis Intelligence Index for a model, the table shows it as a third-party reference.
Keep going
- Price tableEvery model and its price, sorted by your monthly bill.
- Cost calculatorYour bill on up to four models, what switching saves and how long a budget lasts.
- Cheapest modelsThe five lowest-cost models in each category.
- Free modelsModels listed at zero price, kept apart from the paid ones.
- Price changesA dated log of every price that went up or down.
- Caching and batch discountsHow the two discounts work and what you save.
- Long-context pricingModels that read very long prompts, and what they charge.
- JSON and RSS dataThe full price file, the change log and the RSS feed, with their units and update times.