DeepSeek logo

DeepSeek V4.1 Flash

NEW
DeepSeekReleased Sep 14, 2026deepseek/deepseek-v4.1-flash
Compare

DeepSeek-V4.1-Flash is a multimodal Mixture-of-Experts model with a 552B-parameter backbone, activating just 8B parameters per token during prefill and 16B during decoding. It natively processes images and text, supports a 1M-token context window, and introduces a Causal Encoder-Decoder architecture with Compressed Sparse Attention 2 to make long-context inference more efficient. Configurable reasoning-effort levels let developers trade latency and cost for deeper deliberation. Compared with DeepSeek-V4-Flash-0731, it reduces the global KV-cache footprint by roughly 4x while delivering stronger coding, reasoning, and agentic performance.

Context
1.05M
Max output
944K
Input /1M
$0.30
Output /1M
$1.20
Blended /1M
$0.52
AcceptsTextImageProducesTextInstruct type none

Providers

5 providers serve this model. FastRouter routes each request to the best available one, and you can bring your own key for any of them.

DeepInfra logo
DeepInfrafp8Cheapest
deepinfra
Input /1M$0.20
Output /1M$0.60
Context1.05M
Max output944K
Latency—
Throughput—
Supports tool calling
Together AI logo
Together AI
together
Input /1M$0.30
Output /1M$1.20
Context1.05M
Max output944K
Latency—
Throughput—
Supports tool calling
TE
Telnyx
telnyx
Input /1M$0.30
Output /1M$1.20
Context1.05M
Max output944K
Latency—
Throughput—
Supports tool calling
Alibaba logo
Alibaba
alibaba
Input /1M$0.30
Output /1M$1.20
Context1.05M
Max output944K
Latency—
Throughput—
Supports tool calling
Baseten logo
Baseten
baseten
Input /1M$0.30
Output /1M$1.20
Context1.05M
Max output944K
Latency—
Throughput—
Supports tool calling

Supported parameters

Request parameters you can send with this model.

Parameter
Type
Together AI
Telnyx
Alibaba
DeepInfra
Baseten
Core (Sampling & basic generation)
max_tokensMaximum tokens to generate.
number
1 to 4096
1 to 4096
1 to 4096
1 to 4096
1 to 4096
temperatureControls randomness of output.
number
0 to 2
0 to 2
0 to 2
0 to 2
0 to 2
top_pNucleus sampling threshold.
number
0 to 1
0 to 1
0 to 1
0 to 1
0 to 1
Reasoning (Reasoning Controls)
reasoning_effortReasoning effort before answering.
string
"low", "medium", "high"
"low", "medium", "high"
"low", "medium", "high"
"low", "medium", "high"
"low", "medium", "high"
Tool Use (Function Calls & Tools)
tool_choiceHow the model should use tools.
string
"auto", "required", "none"
"auto", "required", "none"
"auto", "required", "none"
"auto", "required", "none"
"auto", "required", "none"
toolsTool/function definitions available to the model.
array
Request Behaviour (Request Config)
streamStream partial responses as they are generated.
bool
true | false
true | false
true | false
true | false
true | false
Other
thinking
bool
true | false
true | false
true | false
true | false
true | false

Performance

Median throughput and time to first token per provider over the last week.

Throughput

Latency

Make your first API call

OpenAI-compatible. Point your SDK at FastRouter, or call the API directly.

Full API docs
Replace <FASTROUTER_API_KEY> with your key · Get your key →Install
OpenAI SDKHTTP
from openai import OpenAI
client = OpenAI(
base_url="https://api.fastrouter.ai/api/v1", # FastRouter base URL
api_key= "<FASTROUTER_API_KEY>", # Replace with your FastRouter API key
)
completion = client.chat.completions.create(
model="deepseek/deepseek-v4.1-flash", # Replace with your model ID
messages=[
{ "role": "user", "content": "What is the meaning of life?" }
]
)
print(completion.choices[0].message.content)

Frequently asked questions

More models from DeepSeek

DeepSeek logo
V4 Flashdeepseek/deepseek-v4-flash

DeepSeek V4 Flash is an efficiency-optimized Mixture-of-Experts large language model from DeepSeek with a 1M-token context window and strong general, coding, and reasoning performance. It is designed as a fast, low-cost frontier model suitable for long-context chat, agents, and tools. The Flash variant emphasizes high throughput and low latency while maintaining competitive reasoning quality.

DeepSeek logo
DeepSeek V4 Prodeepseek/deepseek-v4-pro

DeepSeek-V4-Pro is a 1.6 trillion parameter Mixture-of-Experts (MoE) language model from DeepSeek AI, with 49 billion parameters activated per token and support for a 1 million token context window. It features a hybrid attention architecture combining Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA), which reduces inference FLOPs to 27% and KV cache to 10% of DeepSeek-V3.2 at 1M context, enabling 83.5% MRCR comprehension. The model was pre-trained on over 32 trillion tokens using the Muon optimizer and a two-stage post-training process involving SFT, RL with GRPO, and on-policy distillation for domain-specific expertise.

DeepSeek logo
DeepSeek V3.2deepseek/deepseek-v3.2

DeepSeek-V3.2 is positioned as a next-generation “general-purpose + reasoning” model intended to be a daily driver at roughly frontier (GPT‑5-class) performance on broad tasks like coding, math, agents, and general chat. It is released in several variants (such as V3.2, V3.2-Exp, and V3.2-Speciale), sharing the same core architecture but targeting different trade‑offs between efficiency and maximum reasoning power.

DeepSeek logo
R1deepseek-ai/DeepSeek-R1

A frontier-level reasoning model with 671B total parameters (37B activated per token) that delivers performance comparable to OpenAI's o1 across mathematics, coding, and reasoning tasks. Licensed under MIT for free commercial use, it pioneered cold-start data techniques before reinforcement learning to achieve breakthrough capabilities.

DeepSeek logo
DeepSeek V3.1deepseek/deepseek-v3.1

DeepSeek V3.1 is an advanced open-source hybrid AI model designed to balance powerful reasoning with high-speed efficiency. It uniquely supports two inference modes—"Think" for deep reasoning and "Non-Think" for direct, lightweight tasks—making it versatile across use cases. Built with a mixture-of-experts architecture, it scales to 685B parameters while activating only 37B per token, enabling cost-effective performance. With a 128K context window, it can handle large documents, codebases, and complex multi-step workflows. DeepSeek V3.1 is optimized for tool use, agent-based applications, and enterprise deployment through open weights and developer-friendly APIs.

Compare DeepSeek V4.1 Flash with

Side by side: price per provider, context window, benchmarks and speed.

Model scores sourced from ArtificialAnalysis