# DeepSeek V4.1 Flash 1017

## Best for

Coding agents and document tasks with long context

## When not to use

Audio or video input. Throughput depends on prompt length, output length, and how much input is cached.

## Overview

DeepSeek V4.1 Flash 1017 accepts text and images, supports tool calling and optional reasoning, and serves a 1,048,576-token context window. This identifier selects the 1017 checkpoint. Prompt cache reuse can improve throughput when coding sessions share context.

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

## Rates

USD per 1M tokens, on-demand tier.

| Input | Cached input | Output |
| --- | --- | --- |
| $0.24 | $0 | $0.96 |

## Call it

Put `deepseek/deepseek-v4.1-flash-1017` 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/deepseek-v4.1-flash-1017",
    "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).
