Skip to main content
Text generation

deepseek-v4.1-flash

DeepSeek-V4.1-Flash is a lightweight model in DeepSeek's new architecture family, with 552B total MoE parameters. It adopts a Causal Encoder-Decoder asymmetric design with 8B active parameters for input and 16B for output, and offers native multimodal visual understanding. KV Cache usage is reduced to one-quarter of the previous generation's HBM and one-eighth of its SSD storage, lowering costs for long-context and agentic workloads. It supports a 1M-token context window and up to 384K-token maximum output.

Inference Service Provider

The inference service provider for deepseek-v4.1-flash is QwenCloud.

Model Capabilities

  • Singapore
  • China North 2 (Beijing)
  • Germany (Frankfurt)
  • Japan (Tokyo)
  • US (Virginia)
Scope: International
CapabilitySupportCapabilitySupport

Input Modality

Text, Image

Output Modality

Text

Model Experience

Supported

Function Calling

Supported

Structured Outputs

Supported (JSON Object only)

Web Search

Supported

Prefix Completion

Unsupported

Context Caching

Supported

Batch Inference

Unsupported

Fine-tuning

Unsupported

Context Limits

ParameterValueParameterValue

Max Input Length

1000000

Max Output Length

393216

Context Window

1000000

Max Input Length (Thinking Mode)

1000000

Max Output Length (Thinking Mode)

393216

Max Chain-of-Thought Length

393216

Pricing

This page only shows the original pricing for model API calls, excluding any limited-time promotions. Visit QwenCloud console for promotional offers. Idle hours are 22:00–08:00 the next day (UTC+8); all other times are busy hours.
  • Singapore
  • China North 2 (Beijing)
  • Germany (Frankfurt)
  • Japan (Tokyo)
  • US (Virginia)
Scope: International
Billing ItemPrice (USD)Unit

Input (Idle hours)

0.15

Per 1M tokens

Input (Busy hours)

0.3

Per 1M tokens

Output (Idle hours)

0.6

Per 1M tokens

Output (Busy hours)

1.2

Per 1M tokens

Input(Implicit Cache, Idle hours)

0.015

Per 1M tokens

Input(Implicit Cache, Busy hours)

0.03

Per 1M tokens

Rate Limits

  • Singapore
  • China North 2 (Beijing)
  • Germany (Frankfurt)
  • China (Hong Kong)
  • Japan (Tokyo)
  • US (Virginia)
Scope: International
ParameterValue

RPM (Requests Per Minute)

10000

TPM (Tokens Per Minute)

1,200,000

Snapshot Versions

deepseek-v4.1-flash-1017

DeepSeek-V4.1-Flash-1017 is a subsequent iteration of V4.1-Flash, trained with self-feedback-based reinforcement learning to deliver substantial gains over its predecessor across benchmarks such as Terminal-Bench 4.0, DeepSWE v1.1, and ProgramBench, while shortening task runtime and output length to reach a new performance–cost Pareto optimum across multiple harnesses. Its ability to build complete projects from scratch is further strengthened, enabling "wish-based" programming tasks such as game development and 3D modeling, while retaining the same 552B-parameter MoE, native multimodal visual understanding, 1M-token context window, and 384K-token maximum output.

Inference Service Provider

The inference service provider for deepseek-v4.1-flash-1017 is QwenCloud.

Model Capabilities

The following capabilities apply to China North 2 (Beijing), Singapore, Germany (Frankfurt), US (Virginia), Japan (Tokyo), and China (Hong Kong).
CapabilitySupport
Input ModalityText, Image
Output ModalityText
Model ExperienceSupported
ThinkingSupported
Function CallingSupported
Structured Outputs (JSON Object)Supported
Implicit Context CachingSupported
Web SearchSupported
Prefix CompletionUnsupported
Batch InferenceUnsupported
Fine-tuningUnsupported
Chat CompletionsSupported
Responses APISupported
Anthropic APISupported
The Responses API supports the built-in tools web_search, web_extractor, and code_interpreter. The Anthropic API supports the built-in tools web_search and web_fetch. For Chat Completions, tool_choice supports auto, none, required, and specifying a named function.

Context Limits

All values are in tokens.
ParameterValue
Max Input Length1000000
Max Output Length393216
Context Window1000000
Max Input Length (Thinking Mode)1000000
Max Output Length (Thinking Mode)393216
Max Chain-of-Thought Length393216

Pricing

This page only shows the original pricing for model API calls, excluding any limited-time promotions. Visit QwenCloud console for promotional offers. Idle hours are 22:00–08:00 the next day (UTC+8); all other times are busy hours.
  • Singapore
  • China North 2 (Beijing)
  • Germany (Frankfurt)
  • China (Hong Kong)
  • Japan (Tokyo)
  • US (Virginia)
Scope: International
Billing ItemPrice (USD)Unit
Input (Idle hours)0.15Per 1M tokens
Input (Busy hours)0.3Per 1M tokens
Output (Idle hours)0.6Per 1M tokens
Output (Busy hours)1.2Per 1M tokens
Input (Implicit Cache Hit, Idle hours)0.015Per 1M tokens
Input (Implicit Cache Hit, Busy hours)0.03Per 1M tokens

Rate Limits

  • Singapore
  • China North 2 (Beijing)
  • Germany (Frankfurt)
  • China (Hong Kong)
  • Japan (Tokyo)
  • US (Virginia)
Scope: International
ParameterValue
RPM (Requests Per Minute)10000
TPM (Tokens Per Minute)1200000

Calling Methods

Set the model field to deepseek-v4.1-flash-1017 when calling the snapshot version. For calling instructions, see: