> ## 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

> 具備原生視覺理解的 DeepSeek 推理模型，適合程式設計、代理和多模態分析。

<link rel="alternate" hrefLang="en" href="https://mixroute.ai/docs/model-api/deepseek/deepseek-v4.1-flash" />

<link rel="alternate" hrefLang="zh-Hans" href="https://mixroute.ai/docs/zh-hans/model-api/deepseek/deepseek-v4.1-flash" />

<link rel="alternate" hrefLang="zh-Hant" href="https://mixroute.ai/docs/zh-hant/model-api/deepseek/deepseek-v4.1-flash" />

<link rel="alternate" hrefLang="ja" href="https://mixroute.ai/docs/ja/model-api/deepseek/deepseek-v4.1-flash" />

<link rel="alternate" hrefLang="x-default" href="https://mixroute.ai/docs/model-api/deepseek/deepseek-v4.1-flash" />

具備原生視覺理解的 DeepSeek 推理模型，適合程式設計、代理和多模態分析。

## 模型資訊

| 欄位 | 說明 |
| - | - |
| `model` | deepseek-v4.1-flash |
| `alias` | deepseek-flash |
| `context` | 1M tokens |
| `max output` | 384K tokens |
| `endpoint` | POST /v1/chat/completions |

上下文和輸出長度為模型規格；實際請求限制、可用性與計費取決於 MixRoute 路由。

## 能力與使用

* deepseek-v4.1-flash 和 deepseek-flash 均為可用模型 ID；滾動別名對應的版本可能變化。
* 支援思考與非思考模式，thinking.type 可設為 enabled 或 disabled。思考模式下 reasoning\_effort 支援 low、high、max，預設為 high。
* 新整合應明確選擇此模型，不要假設所有路由的舊 V4 別名都指向同一快照。

## 請求示例

呼叫前設定 `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",
  "messages": [
    {
      "role": "user",
      "content": "Explain the tradeoffs of database indexes."
    }
  ],
  "max_tokens": 1024
}'
```

## 請求欄位

| 欄位 | 說明 |
| - | - |
| `model` | 必填，使用上方完整模型 ID。 |
| `messages` | 必填，會話訊息包含 role 和 content。 |
| `max_tokens` | 可選，輸出 token 預算。 |

完整請求格式見[介面說明](/docs/zh-hant/api-reference/endpoint/chat-openai)。


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