---
title: "DeepSeek V4.1 Flash 1017 API Pricing & Speed | Inference.net"
description: "Run standard DeepSeek V4.1 Flash 1017 API on Inference.net: $0.08/1M in, $0.635/1M out, $0.007 cached. 1M context, ZDR, self-serve."
url: "https://inference.net/models/deepseek-v4-1-flash-1017/"
---

# DeepSeek V4.1 Flash 1017

Run DeepSeek V4.1 Flash 1017, the standard general-purpose 1017 checkpoint for coding, agents, and extraction, on Inference.net at $0.08/1M input, $0.635/1M output, and $0.007/1M cached tokens. With a 1M-token context window, reasoning, vision, and tool calling, it delivers instant self-serve API access with Zero Data Retention enabled by default.

DeepSeek Reasoning Model Mixture-of-Experts 1M context US residency

[Get started](https://inference.net/register/) [Documentation](https://inference.net/docs/api/quickstart/)`deepseek-v4.1-flash-1017`

MODEL API PRICING

PER 1M TOKENS

Input

$0.08

Cache read

$0.007

Output

$0.635

[See all pricing](https://inference.net/subscription/)

LIVE PERFORMANCE LIVE

MEDIAN · LAST 15 MIN

Time to first token (p50)

172 ms

Output throughput (p50)

185 tok/s

[Live benchmarks](https://inference.net/benchmarks/)

MODEL SPEC

Developed by

DeepSeek

Model family

DeepSeek V4.1 Flash 1017

Size

Not disclosed

Architecture

Mixture-of-Experts

Context window

1M tokens

Max output

393K tokens

License

MIT

Overview

DeepSeek V4.1 Flash 1017 (deepseek-v4.1-flash-1017) is DeepSeek's standard general-purpose 1017 checkpoint built on a Mixture-of-Experts architecture for high-throughput coding agents, RAG pipelines, tool calling, and structured extraction. Unlike the abliterated security-research variant at /models/deepseek-v4-1-flash-1017-cyber/, this standard 1017 release is designed for everyday production workloads; compare both checkpoints side by side at /compare/deepseek-v4-1-flash-1017-vs-deepseek-v4-1-flash-1017-cyber/.

With a 1M tokens context window, up to 393K tokens output tokens, text and image input and reasoning, vision, and tool calling support, DeepSeek V4.1 Flash 1017 handles long-context multi-turn workflows cleanly. On Inference.net, it is priced at $0.08/1M input tokens, $0.635/1M output tokens, and $0.007/1M cached reads (91% savings on cached prefix reads); model your prefix hit rate in /tools/prompt-cache-calculator/. Implicit prompt caching is enabled automatically for byte-identical prefixes; do not send prompt_cache_key on this route.

Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and completions are not retained after processing or used for model training. Call it through https://api.inference.net/v1 or https://us.api.inference.net/v1 for US data residency across /v1/chat/completions, /v1/responses, and /v1/messages with instant self-serve API keys and no approval queue.

QUICKSTART [Get API key](https://inference.net/dashboard/api-keys/)

```typescript
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'deepseek-v4.1-flash-1017',
  messages: [{ role: 'user', content: 'Hello' }],
})
```

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inference.net/v1",
    api_key=os.environ["INFERENCE_API_KEY"],
)

completion = client.chat.completions.create(
    model="deepseek-v4.1-flash-1017",
    messages=[{"role": "user", "content": "Hello"}],
)
```

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

## PRICING & TOKEN RATES

USD per 1M tokens

| Token type | Rate (per 1M) | Details |
| --- | --- | --- |
| Input | $0.08 | Standard prompt tokens |
| Cache read | $0.007 | 91% savings vs. standard input |
| Output | $0.635 | Generated completion tokens |

## SPECIFICATIONS & CAPABILITIES

deepseek-v4.1-flash-1017

| Specification | Value |
| --- | --- |
| Maker | DeepSeek |
| Architecture | Mixture-of-Experts |
| Parameters | |
| Quantization | fp8 |
| Context window | 1M tokens (1,040,000) |
| Max output | 393K tokens (393,216) |
| Input modalities | Text, Image |
| Output modalities | Text |
| Tool calling | Supported |
| Structured outputs | Supported |
| JSON object mode | Supported |
| Logprobs | Not specified |
| Reasoning efforts | Supported (none, low, high, max) |
| Supported wire endpoints | `/v1/chat/completions``/v1/responses``/v1/messages` |
| Data residency | Global (`api.inference.net`) US in-region (`us.api.inference.net`) |
| License | MIT |
| Hugging Face repository | [`deepseek-ai/DeepSeek-V4.1-Flash-1017`](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017) |
| Release date | Oct 17, 2026 |

PROMPT CACHING

1. Keep the prompt prefix stable and byte-identical across calls.
2. Do not send prompt_cache_key. These routes do not support it and may reject the request.
3. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads.

Estimate monthly savings for your prefix length and hit rate in the [Prompt Cache Savings Calculator](https://inference.net/tools/prompt-cache-calculator/).

AGENT INTEGRATIONS [View all](https://inference.net/docs/integrations/overview/)

[### Claude Code Native Anthropic /v1/messages. Six model slots for every Claude Code workload. `fast claude on`](https://inference.net/docs/integrations/claude-code/) [### Codex OpenAI-compatible Responses API with a reversible Codex configuration. `fast codex on`](https://inference.net/docs/integrations/codex/) [### Grok Chat completions with a catalog-backed section for each supported alias. `fast grok on`](https://inference.net/docs/integrations/grok/) [### OpenCode Chat completions with Inference.net models registered as an OpenCode provider. `fast opencode on`](https://inference.net/docs/integrations/opencode/) [### Pi Chat completions with model and provider settings written for Pi Agent. `fast pi on`](https://inference.net/docs/integrations/pi/) [### Hermes Hermes provider configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/hermes/) [### OpenClaw OpenClaw provider routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/openclaw/) [### Fx Fx gateway configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/fx/) [### Cursor Cursor base URL routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/cursor/)

FAQ

## Frequently asked questions about DeepSeek V4.1 Flash 1017

### How does standard DeepSeek V4.1 Flash 1017 differ from DeepSeek V4.1 Flash 1017 Cyber?

DeepSeek V4.1 Flash 1017 (deepseek-v4.1-flash-1017) is the standard general-purpose 1017 checkpoint for everyday coding, multi-turn agents, RAG, and structured extraction with a 1M tokens context window and up to 393K tokens output tokens. If your security engineering team needs the abliterated variant tuned for authorized AppSec auditing, pentesting, and red teaming without over-broad refusals, use /models/deepseek-v4-1-flash-1017-cyber/ (see /compare/deepseek-v4-1-flash-1017-vs-deepseek-v4-1-flash-1017-cyber/ for the full side-by-side breakdown).

### How much does DeepSeek V4.1 Flash 1017 cost on Inference.net, and how does prompt caching work?

On Inference.net, DeepSeek V4.1 Flash 1017 is priced at $0.08 per 1M input tokens and $0.635 per 1M output tokens. Cached input reads are $0.007 per 1M tokens (91% less than standard input). Implicit prompt caching is enabled automatically for byte-identical prefixes; do not send prompt_cache_key on this route. Estimate monthly savings for your shared prefix length in /tools/prompt-cache-calculator/.

### What are the context window, output limits, and modalities for DeepSeek V4.1 Flash 1017?

DeepSeek V4.1 Flash 1017 supports a 1M tokens (1,040,000) context window and up to 393K tokens (393,216) output tokens per request. It accepts text and image input and produces text output. Configurable reasoning efforts (none, low, high, max) are supported.

### Does Inference.net offer Zero Data Retention and US residency for DeepSeek V4.1 Flash 1017?

Yes. Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and outputs sent to DeepSeek V4.1 Flash 1017 are not retained after processing or used for model training. Inference.net is SOC 2 Type 2 compliant; see our [ZDR policy](https://inference.net/zero-data-retention/) for full details. For US data residency, send requests to https://us.api.inference.net/v1 instead of the global https://api.inference.net/v1 host.

### How do I call DeepSeek V4.1 Flash 1017 with the OpenAI SDK or coding agents?

Point the official OpenAI TypeScript or Python SDK (or coding agents such as Claude Code, Codex, OpenCode, or Cursor) to https://api.inference.net/v1 with your INFERENCE_API_KEY and set model to "deepseek-v4.1-flash-1017". It is callable over /v1/chat/completions, /v1/responses, and /v1/messages. New accounts get instant self-serve API keys with no approval queue. Inspect live 15-minute production TTFT and throughput telemetry on /benchmarks/.

Head-to-head comparisons

[All comparisons](https://inference.net/compare/)

[**Kimi K3 vs DeepSeek V4.1 Flash**Flagship 2.8T MoE reasoning depth vs high-throughput flash economics — compared live from the Inference.net catalog. Live pricing & telemetry](https://inference.net/compare/kimi-k3-vs-deepseek-v4-1-flash/) [**DeepSeek V4.1 Flash vs GLM-5.2**Flash-tier throughput and long context vs interactive tool calling — live catalog pricing and specs compared. Live pricing & telemetry](https://inference.net/compare/deepseek-v4-1-flash-vs-glm-5-2/) [**MiniMax M3.1 Flash vs DeepSeek V4.1 Flash**Two speed-optimized flash models compared live on per-1M pricing, prompt caching, context limits, and agent fit. Live pricing & telemetry](https://inference.net/compare/minimax-m3-1-flash-vs-deepseek-v4-1-flash/) [**DeepSeek V4.1 Flash vs GLM-5.3 Flash**Head-to-head comparison of the two fastest low-cost open-weight flash models on Inference.net with live pricing and 15m telemetry. Live pricing & telemetry](https://inference.net/compare/deepseek-v4-1-flash-vs-glm-5-3-flash/) [**DeepSeek V4.1 Flash 1017 vs 1017 Cyber**General-purpose DeepSeek V4.1 Flash 1017 vs the cybersecurity-specialized 1017 Cyber variant — live pricing, access, and telemetry. Live pricing & telemetry](https://inference.net/compare/deepseek-v4-1-flash-1017-vs-deepseek-v4-1-flash-1017-cyber/) [**DeepSeek V4.1 Flash Cyber vs DeepSeek V4.1 Flash**Abliterated security-research Cyber variant ($0.30/$1.00) vs standard DeepSeek V4.1 Flash ($0.103/$0.60): same 1M context, $0.007 cache reads, and ZDR. Live pricing & telemetry](https://inference.net/compare/deepseek-v4-1-flash-cyber-vs-deepseek-v4-1-flash/)

Related models

[See all models](https://inference.net/models/)

[**DeepSeek V4.1 Flash 1017 Cyber**DeepSeek 1M context Vision Tools Reasoning In **$0.30** Out **$1.00**](https://inference.net/models/deepseek-v4-1-flash-1017-cyber/) [**DeepSeek V4.1 Flash**DeepSeek 1M context Vision Tools Reasoning In **$0.103** Out **$0.60**](https://inference.net/models/deepseek-v4-1-flash/) [**GLM-5.3-Flash**Z.ai 1M context Vision Tools Reasoning In **$0.10** Out **$0.35**](https://inference.net/models/glm-5-3-flash/) [**Kimi K3.1 Pro**Moonshot AI 1M context Vision Tools Reasoning In **$1.80** Out **$9.00**](https://inference.net/models/kimi-k3-1-pro/)

Ready when you are

## Start building with DeepSeek V4.1 Flash 1017 today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get started](https://inference.net/register/) [Read the docs](https://inference.net/docs/api/quickstart/)
