DeepSeek-V4.1-Flash vs Grok 4.7
deepseek-v4-1-flashgrok-4.7DeepSeek-V4.1-Flash costs $0.209351 per 1M input tokens and $0.837404 per 1M output tokens, with a 1M-token context window; Grok 4.7 costs $0.198958 per 1M input tokens and $0.596874 per 1M output tokens, with a 500K-token context window.
Side by side
Prices in US dollars; limits and capabilities as published by each model’s provider.
| Spec | DeepSeek-V4.1-Flash | Grok 4.7 |
|---|---|---|
| Input/ 1M tokens | $0.209351 | $0.198958 |
| Output/ 1M tokens | $0.837404 | $0.596874 |
| Cache read/ 1M tokens | $0.004187 | $0.04974 |
| Cache write/ 1M tokens | $0 | — |
| Discount | 30% off | 90% off |
| Contexttokens | 1M | 500K |
| Max outputtokens | 384K | — |
| Input types | text, image | text, image |
| Output types | text | text |
| Released | 2026-09-10 | — |
| Knowledge cutoff | — | 2026-05 |
| Tokens, last 7 daystokens | 82M | 14M |
| Endpoints | // | // |
Same workload
One workload of 1,000,000 input and 200,000 output tokens, priced at each model’s current rates.
- DeepSeek-V4.1-Flash
- $0.3768$0.2094 input + $0.1675 output
- Grok 4.7
- $0.3183$0.199 input + $0.1194 output
For this workload, Grok 4.7 costs $0.0585 less than DeepSeek-V4.1-Flash.
Same code
Only the model field changes.
curl https://api.cheapaimodel.ai/v1/chat/completions \
-H "Authorization: Bearer $CHEAPAIMODEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-1-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'When to choose which
Differences in the published specs, then each provider’s own description.
- DeepSeek-V4.1-Flash has the longer context window (1M vs 500K tokens).
- Grok 4.7 has the lower input price ($0.198958 vs $0.209351 per 1M tokens).
- Grok 4.7 has the lower output price ($0.596874 vs $0.837404 per 1M tokens).
About DeepSeek-V4.1-Flash
The smallest model in DeepSeek's new architecture family, with native image understanding. It runs in thinking mode by default and also offers a non-thinking mode; DeepSeek reports it outperforms its earlier DeepSeek-V4-Pro flagship on benchmarks.
About Grok 4.7
xAI's most capable model, for coding, agentic tasks and knowledge work, released in September 2026 as the successor to Grok 4.6. It takes text and image input with a 500K-token context window and offers four reasoning effort levels, from low to xhigh.