NewKimi K3.1 Pro is now availableTry it now

DeepSeek V4.1 Flash

Run DeepSeek V4.1 Flash, DeepSeek's flagship serverless flash model for coding agents and extraction, on Inference.net at $0.103/1M input, $0.60/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.

DeepSeekReasoning ModelMixture-of-Experts1M contextUS residency
Get startedDocumentation
LIVE PERFORMANCELIVE
MEDIAN ยท LAST 15 MIN
Time to first token (p50)
188 ms
Output throughput (p50)
135 tok/s
Live benchmarks
MODEL SPEC
Developed by
DeepSeek
Model family
DeepSeek V4.1 Flash
Size
Not disclosed
Architecture
Mixture-of-Experts
Context window
1M tokens
Max output
393K tokens
License
MIT
Overview

DeepSeek V4.1 Flash (deepseek-v4.1-flash) is DeepSeek's flagship serverless flash model built on a Mixture-of-Experts architecture for fast, cost-efficient coding agents, multi-step tool calling, and high-volume extraction. See how it stacks up against Kimi K3 at /compare/kimi-k3-vs-deepseek-v4-1-flash/ and read our reproducible serverless benchmarking methodology in /blog/benchmarking-deepseek-v4-1-flash-kimi-k3-serverless-inference/.

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 handles long-context multi-turn workflows cleanly. On Inference.net, it is priced at $0.103/1M input tokens, $0.60/1M output tokens, and $0.007/1M cached reads (93% 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.

QUICKSTARTGet API key
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',
  messages: [{ role: 'user', content: 'Hello' }],
})

PRICING & TOKEN RATES

USD per 1M tokens
DeepSeek V4.1 Flash API pricing per 1 million tokens on Inference.net
Token typeRate (per 1M)Details
Input$0.103Standard prompt tokens
Cache read$0.00793% savings vs. standard input
Output$0.60Generated completion tokens

SPECIFICATIONS & CAPABILITIES

deepseek-v4.1-flash
DeepSeek V4.1 Flash technical specifications and API capabilities on Inference.net
SpecificationValue
MakerDeepSeek
ArchitectureMixture-of-Experts
ParametersNot disclosed
Quantizationfp8
Context window1M tokens (1,040,000)
Max output393K tokens (393,216)
Input modalitiesText, Image
Output modalitiesText
Tool callingSupported
Structured outputsSupported
JSON object modeSupported
LogprobsNot specified
Reasoning effortsSupported (none, low, high, max)
Supported wire endpoints/v1/chat/completions/v1/responses/v1/messages
Data residencyGlobal (api.inference.net)US in-region (us.api.inference.net)
LicenseMIT
Hugging Face repositorydeepseek-ai/DeepSeek-V4.1-Flash
Release dateSep 10, 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.

AGENT INTEGRATIONSView all
FAQ

Frequently asked questions about DeepSeek V4.1 Flash

DeepSeek V4.1 Flash (deepseek-v4.1-flash) is Inference.net's flagship serverless DeepSeek Flash route, pairing a 1M tokens context window and automatic implicit prefix caching with low per-token economics for coding agents, extraction, and high-volume automation. Compare it head to head with Kimi K3 at /compare/kimi-k3-vs-deepseek-v4-1-flash/, inspect the dated 1017 checkpoint at /models/deepseek-v4-1-flash-1017/, or run our open Python benchmark harness in /blog/benchmarking-deepseek-v4-1-flash-kimi-k3-serverless-inference/.

Head-to-head comparisons
All comparisons
Related models
See all models
Ready when you are

Start building with DeepSeek V4.1 Flash today

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