> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepSeek V4.1 Flash 1017

> DeepSeek V4.1 Flash 的 10 月 17 日更新版本，强化端到端项目开发，具备原生视觉理解能力。

DeepSeek V4.1 Flash 的 10 月 17 日更新版本，强化端到端项目开发，具备原生视觉理解能力。

## 模型信息

| 字段 | 说明 |
| - | - |
| `model` | deepseek-v4.1-flash-1017 |
| `context` | 1M tokens |
| `max output` | 384K tokens |
| `endpoint` | POST /v1/chat/completions |

上下文和输出长度为模型规格；实际请求限制、可用性与计费取决于 MixRoute 路由。

## 能力与使用

* 强化编程和智能体工作流中的端到端项目开发，相比上一版本缩短任务运行时间与输出长度。
* 使用此完整 MixRoute 模型 ID 明确选择 1017 版本，不要假设所有路由上的 `deepseek-v4.1-flash` 或 `deepseek-flash` 都指向同一版本。
* 支持思考与非思考模式。`thinking.type` 可设为 `enabled` 或 `disabled`；`reasoning_effort` 设为 `none` 可关闭思考，`low`、`high`、`max` 可启用思考，默认强度为 `high`。

## 请求示例

调用前设置 `MIXROUTE_API_KEY`。

```bash theme={null}
curl --request POST "https://api.mixroute.ai/v1/chat/completions" \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "model": "deepseek-v4.1-flash-1017",
  "messages": [
    {
      "role": "user",
      "content": "Explain when a database index improves query performance."
    }
  ],
  "thinking": {
    "type": "disabled"
  },
  "max_tokens": 1024
}'
```

## 请求字段

| 字段 | 说明 |
| - | - |
| `model` | 必填，使用上方完整模型 ID。 |
| `messages` | 必填，会话消息包含 `role` 和 `content`。 |
| `thinking` | 可选，`{"type":"enabled"}` 或 `{"type":"disabled"}`，默认为 `enabled`。 |
| `reasoning_effort` | 可选，`none`、`low`、`high` 或 `max`，默认为 `high`。不要同时设置互相冲突的思考参数。 |
| `max_tokens` | 可选，输出 token 预算，上限为 393216 tokens（384K），同时受上下文窗口与路由限制。 |
| `stream` | 可选，设为 `true` 以启用流式响应。 |

完整请求格式见: [Chat Completions](/docs/zh-Hans/api-reference/endpoint/chat-openai).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.