# DeepSeek V4.1 Flash

## Best for

Fast, low-cost agentic coding and visual analysis

## When not to use

Audio or video input. Not V4 Pro — keep Pro on the main agent and this Flash on sub-agents. Not V4 Flash 0731 (`dsv4`) when you want the cheaper text-only path.

## Overview

DeepSeek V4.1 Flash is a 552B-parameter mixture-of-experts model with a causal encoder-decoder architecture: 8B parameters activate for input tokens and 16B for output tokens. It combines fast, low-cost agentic coding and reasoning with native visual understanding, tool use, and a 1M-token context window. Its substantially smaller KV cache also lowers the cost of long-running, cache-heavy workloads.

| | |
| --- | --- |
| API identifier | `deepseek-v4.1-flash` |
| Developer | DeepSeek |
| Context window | 1,000,000 tokens |
| Supports | text, reasoning, tool-use, image input, vision |
| Status | Serving |

## Rates

USD per 1M tokens, on-demand tier.

| Input | Cached input | Output |
| --- | --- | --- |
| $0.20 | $0.01 | $1.00 |

## Call it

Put `deepseek-v4.1-flash` in the `model` field. The same request works against the Anthropic Messages API — see [API Compatibility](https://inference.boundless.network/docs/api-compatibility).

```bash
curl https://api.inference.boundless.network/v1/chat/completions \
  -H "Authorization: Bearer $BOUNDLESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash",
    "messages": [{
      "content": "Say hello",
      "role": "user"
    }]
  }'
```

Every model we serve is listed at [Models](https://inference.boundless.network/models); the rate card in full is on [Pricing](https://inference.boundless.network/docs/pricing).
