DeepSeek V4.1 Flash 1017¶
DeepSeek V4.1 Flash 1017 is DeepSeek's October 2026 update to DeepSeek V4.1 Flash. It is a Mixture-of-Experts model that reads text and images, works with up to 1M tokens of context, and can reason before it answers when you ask it to.
Model details¶
| Specification | Value |
|---|---|
| Model ID | deepseek-4-1-flash-1017 |
| Provider | DeepSeek |
| Parameters | 552B backbone plus 196B Engram, 16B active per output token |
| Context window | 1,048,576 tokens |
| Input | Text, image |
| Output | Text |
| Features | Tool calling, JSON mode, reasoning |
| Reasoning effort | none, low, high, max (default none) |
| Quantization | MXFP4 routed experts, FP8 for the rest, as released by DeepSeek |
| Released | 17 October 2026 |
| Runs in | Germany |
| Weights | deepseek-ai/DeepSeek-V4.1-Flash-1017 |
| License | MIT License |
Prices and your rate limits are on the model's page in the Console. Image input works through the API; the Playground in the Console takes text only.
Good for¶
According to DeepSeek, the 1017 update improves on V4.1 Flash in reasoning, coding, agentic and visual tasks, and finishes tasks faster with shorter outputs. It suits:
- Coding agents: fixes and features in real repositories, and projects built from scratch
- Agentic workflows: tool use, office automation and multi-step tasks
- Image understanding: screenshots, charts and documents, with or without tools
- High-volume chat and extraction: low price per token, and cheaper cached input
Benchmarks¶
DeepSeek's published results for the 1017 update, next to the previous V4.1 Flash:
| Benchmark | What it checks | V4.1 Flash 1017 | V4.1 Flash |
|---|---|---|---|
| DeepSWE v1.1 | Coding-agent tasks in real repositories | 77.0 | 74.2 |
| NL2Repo-Bench | Building a repository from a written spec | 68.2 | 65.4 |
| Terminal-Bench 4.0 | Coding agents on realistic terminal tasks | 42.3 | 31.2 |
| Apex Bench v1.1 | Professional knowledge-work tasks | 72.1 | 64.6 |
| Agents' Last Exam | Hard end-to-end agent tasks | 35.4 | 31.8 |
| HLE, no tools | Humanity's Last Exam | 42.6 | 36.8 |
| ChartoGraphy, with tools | Chart understanding | 83.0 | 78.9 |
| BabyVision, with tools | Basic visual reasoning | 92.5 | 89.6 |
For the comparison with other models and the harnesses used, see the model card. Test it on your own tasks before you choose.
Call the model¶
curl -X POST "https://inference.verda.com/v1/chat/completions" \
-H "Authorization: Bearer <your key>" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-4-1-flash-1017",
"messages": [{"role": "user", "content": "What is the best viewpoint in Helsinki?"}],
"max_tokens": 2048
}'
For Python, Node and coding agents, see the Quickstart and Coding agents.
Reasoning¶
DeepSeek V4.1 Flash 1017 answers directly by default. To have it reason first, set reasoning_effort to low, high or max. It returns its reasoning in reasoning_content, and reasoning counts as output tokens. To turn reasoning off again, leave out reasoning_effort or set it to none.
DeepSeek's own API switches reasoning with a thinking parameter. Verda ignores it, so use reasoning_effort instead.
curl -X POST "https://inference.verda.com/v1/chat/completions" \
-H "Authorization: Bearer <your key>" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-4-1-flash-1017",
"messages": [{"role": "user", "content": "How many weekdays are there in March 2027?"}],
"reasoning_effort": "high",
"max_tokens": 16384
}'
With reasoning on, leave room in max_tokens so the answer isn't cut off after the reasoning.
When the request includes tools and reasoning is on, send back each earlier assistant message in full, with its reasoning_content and tool_calls, not only content. If you leave out reasoning_content, the model sees an empty reasoning block where its earlier reasoning was. Without tools, earlier reasoning is left out of the prompt, so you don't need to send it back.
Cached input tokens cost less than regular input tokens, so long prompts that repeat the same opening are cheaper to send again.