> ## 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-hant/api-reference/endpoint/chat-openai).


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