DeepSeek V4.1 Flash 1017 vs Grok 4.20 (Non-Reasoning) pricing
- For the Chatbot workload, DeepSeek V4.1 Flash 1017 costs 2.8× less than Grok 4.20 (Non-Reasoning).
- For the RAG workload, DeepSeek V4.1 Flash 1017 costs 3.8× less than Grok 4.20 (Non-Reasoning).
- For the Coding agent workload, DeepSeek V4.1 Flash 1017 costs 4.5× less than Grok 4.20 (Non-Reasoning).
Prices
| USD per 1M tokens | DeepSeek V4.1 Flash 1017 | Grok 4.20 (Non-Reasoning) |
|---|---|---|
| Input | $0.30 | $1.25 |
| Output | $1.20 | $2.50 |
| Cache read | $0.006 | $0.20 |
| Cache write | Not published | Not published |
| Batch input | Not published | Not published |
| Batch output | Not published | Not published |
| Off-peak input | $0.15 | Not published |
| Off-peak output | $0.60 | Not published |
| Off-peak cache read | $0.003 | Not published |
DeepSeek V4.1 Flash 1017: The Input, Output and Cache read rows are the standard (peak) prices; the Off-peak rows apply at other times. Off-peak is every hour outside 01:00–04:00 and 06:00–10:00 UTC on weekdays, plus weekends and Chinese public holidays.
DeepSeek V4.1 Flash 1017: Verified against the provider's official pricing page on Oct 9, 2026. Official pricing page
Grok 4.20 (Non-Reasoning): xAI's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Monthly cost by workload
| Workload | DeepSeek V4.1 Flash 1017 | Grok 4.20 (Non-Reasoning) |
|---|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $270.00/mo | $750.00/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $450.00/mo | $1,688/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $169.20/mo | $765.00/mo |
Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.
Context and capabilities
| DeepSeek V4.1 Flash 1017 | Grok 4.20 (Non-Reasoning) | |
|---|---|---|
| Context | 1,048,576 tokens | 1,000,000 tokens |
| Max output | 393,216 tokens | 30,000 tokens |
| Input | text, image | text, image, pdf |
| Tool calling | Yes | Yes |
| Reasoning | Yes | No |
| Structured outputs | Yes | Yes |
Questions
- What is the price difference between DeepSeek V4.1 Flash 1017 and Grok 4.20 (Non-Reasoning)?
- DeepSeek V4.1 Flash 1017: $0.30 per 1M input tokens and $1.20 per 1M output tokens. Grok 4.20 (Non-Reasoning): $1.25 per 1M input tokens and $2.50 per 1M output tokens. Base prices apply to prompts up to 200,000 input tokens; longer prompts use separate prices. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $270.00 per month for DeepSeek V4.1 Flash 1017 and $750.00 for Grok 4.20 (Non-Reasoning).
- Which has the longer context window, DeepSeek V4.1 Flash 1017 or Grok 4.20 (Non-Reasoning)?
- DeepSeek V4.1 Flash 1017 has the longer context window: up to 1,048,576 tokens, compared with 1,000,000 for Grok 4.20 (Non-Reasoning).
- Do DeepSeek V4.1 Flash 1017 and Grok 4.20 (Non-Reasoning) have prompt caching and batch prices?
- DeepSeek V4.1 Flash 1017: cached input $0.006 per 1M tokens; no batch price published. Grok 4.20 (Non-Reasoning): cached input $0.20 per 1M tokens; no batch price published. Base prices apply to prompts up to 200,000 input tokens; longer prompts use separate prices.