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

# DeepSeek V4.1 Flash

> 具备原生视觉理解的 DeepSeek 推理模型，适合编程、代理和多模态分析。

具备原生视觉理解的 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 预算。           |

完整请求格式见[接口说明](/cn/api-reference/endpoint/chat-openai)。
