> ## 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 reasoning model with native visual understanding for coding, agents, and multimodal analysis.

DeepSeek reasoning model with native visual understanding for coding, agents, and multimodal analysis.

## Model Information

| Field | Description |
| - | - |
| `model` | deepseek-v4.1-flash |
| `alias` | deepseek-flash |
| `context` | 1M tokens |
| `max output` | 384K tokens |
| `endpoint` | POST /v1/chat/completions |

Context and output sizes describe the model specification. Effective request limits, availability, and billing depend on the MixRoute route.

## Capabilities and Usage

* Both deepseek-v4.1-flash and deepseek-flash are available model IDs; the rolling alias can change over time.
* Supports thinking and non-thinking modes. Set thinking.type to enabled or disabled. In thinking mode, reasoning\_effort supports low, high, or max; the default is high.
* For new integrations, select this model explicitly instead of assuming older V4 aliases use the same snapshot on every route.

## Request Example

Set `MIXROUTE_API_KEY` before making the request.

```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
}'
```

## Request Fields

| Field | Description |
| - | - |
| `model` | Required. Use the exact model ID above. |
| `messages` | Required conversation messages with role and content. |
| `max_tokens` | Optional output-token budget. |

Complete request format: [chat-openai](/api-reference/endpoint/chat-openai).


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