---
title: "DeepSeek V4.1 Flash"
description: "DeepSeek V4.1 Flash by DeepSeek: 1.02M context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go."
canonical: https://pirouter.ai/models/deepseek/deepseek-v4.1-flash
last-updated: 2026-10-15
---

# DeepSeek V4.1 Flash

> DeepSeek V4.1 Flash by DeepSeek: 1.02M context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go.

DeepSeek V4.1 Flash is the newest DeepSeek hybrid reasoning model, with higher reasoning accuracy and faster responses than V4. It takes text and image input with a 1M-token context, up to 384K output, tool calling, structured output and adjustable reasoning effort.

## At a glance

- Model ID: `deepseek/deepseek-v4.1-flash`
- Also accepted as: `deepseek-v4-1-flash`, `deepseek-v4.1-flash`
- Vendor: DeepSeek
- Category: text
- Openness: Proprietary
- Model page: https://api-docs.deepseek.com/
- Context: 1,024,000 tokens
- Max output: 384,000 tokens
- Added to pirouter: 2026-09-10
- Status: Available

## Pricing (USD per 1M tokens)

|  | Input | Output | Cache read | Reasoning |
|---|---|---|---|---|
| Standard | $0.18 ~~$0.3~~ | $0.72 ~~$1.2~~ | $0.0036 ~~$0.006~~ | $0.72 ~~$1.2~~ |

40% off for a limited time · Ends 2026-10-31 23:59 HKT · Same price on every provider · this is what you are billed.

## Capabilities

- Function calling
- Tool choice
- Parallel tool calls
- Structured outputs
- Response schema
- Logprobs
- Reasoning
- Prompt caching
- System messages
- Streaming
- Vision
- PDF input

## Reasoning effort

- max, xhigh, high, medium, low, minimal, none (default: medium)

## How to call it

One pirouter API key works with every API format below; create it in the console. Use one of these formats; formats not listed are not available for this model.

- API key: https://app.pirouter.ai/sign-in

### OpenAI Responses

- Endpoint: `POST /v1/responses` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- Reference: https://pirouter.ai/docs/api/responses

```bash
curl https://api.pirouter.ai/v1/responses \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "input": "Hello!"
  }'
```

### OpenAI Chat

- Endpoint: `POST /v1/chat/completions` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- Reference: https://pirouter.ai/docs/api/chat-completions

```bash
curl https://api.pirouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

### Anthropic Messages

- Endpoint: `POST /v1/messages` on https://api.pirouter.ai
- Auth: `x-api-key: <key>`
- SDK base URL: https://api.pirouter.ai
- Reference: https://pirouter.ai/docs/api/messages

```bash
curl https://api.pirouter.ai/v1/messages \
  -H "x-api-key: $PIROUTER_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek/deepseek-v4.1-flash",
    "max_tokens": 1024,
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

## Providers

One row per provider; pirouter sends each request to a healthy one.

| Provider | API format | Context | Max output | Input /M | Output /M | Trains on your data | Data retention |
|---|---|---|---|---|---|---|---|
| volcengine | openai, anthropic | 1,024,000 | 384,000 | $0.18 ~~$0.3~~ | $0.72 ~~$1.2~~ | No | Not disclosed |
| azure | openai, anthropic | 1,024,000 | 384,000 | $0.18 ~~$0.3~~ | $0.72 ~~$1.2~~ | No | Limited |

## Rankings

Where this model ranks on each blind-vote leaderboard, listing the boards where it makes the top 100. Open a board for the full ranking.

| Board | Rank | Score |
|---|---|---|
| [Overall](https://pirouter.ai/rankings/overall) | #34 / 385 | 1473 |
| [Coding](https://pirouter.ai/rankings/coding) | #19 / 380 | 1529 |
| [Math](https://pirouter.ai/rankings/math) | #11 / 371 | 1502 |
| [Creative writing](https://pirouter.ai/rankings/creative) | #49 / 383 | 1438 |
| [Instruction following](https://pirouter.ai/rankings/instruct) | #16 / 385 | 1478 |
| [Multi-turn](https://pirouter.ai/rankings/multiturn) | #62 / 383 | 1462 |
| [Long prompts](https://pirouter.ai/rankings/longctx) | #40 / 363 | 1478 |
| [Chinese](https://pirouter.ai/rankings/chinese) | #23 / 362 | 1524 |
| [Web dev](https://pirouter.ai/rankings/webdev) | #18 / 121 | 1620 |
| [Agents](https://pirouter.ai/rankings/agent) | #14 / 44 | +4.0 pp |

Data: [LMArena leaderboard dataset](https://huggingface.co/datasets/lmarena-ai/leaderboard-dataset), used under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Updated 2026-10-01

## Supported parameters

`tools`, `tool_choice`, `parallel_tool_calls`, `response_format`, `structured_outputs`, `max_tokens`, `max_completion_tokens`, `temperature`, `top_p`, `seed`, `stop`, `logprobs`, `top_logprobs`, `reasoning`, `include_reasoning`, `stream`

## Links

- HTML: https://pirouter.ai/models/deepseek/deepseek-v4.1-flash
- JSON: https://pirouter.ai/api/models/deepseek/deepseek-v4.1-flash
- Providers JSON: https://api.pirouter.ai/v1/models/deepseek/deepseek-v4.1-flash/endpoints
- Leaderboard ranks (JSON): https://pirouter.ai/api/models/deepseek/deepseek-v4.1-flash/rankings
- Catalog: https://pirouter.ai/models
- Quickstart: https://pirouter.ai/docs/quickstart
- How routing works: https://pirouter.ai/docs/routing
- llms.txt: https://pirouter.ai/llms.txt

---

HTML version: https://pirouter.ai/models/deepseek/deepseek-v4.1-flash · Machine-readable index: https://pirouter.ai/llms.txt
