
DeepSeek: DeepSeek V4.1 Flash
deepseek/deepseek-v4.1-flash
Model weightsDeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. It activates 8B parameters on input and 16B on output from a 552B-parameter backbone, an asymmetric split that keeps per-token compute low relative to the model's total size. Image understanding is native to the architecture, with visual and text embeddings trained jointly from the start of pre-training rather than added afterward as in the earlier experimental V4 Flash Vision ExpOpens in new tab.
It is suited for coding, terminal, and computer-use agents, along with long-horizon tasks that must run to completion across many steps and long-context analysis. Compressed KV caching cuts cache memory to roughly a quarter of the previous Flash generation, significantly reducing costs on agentic workloads. DeepSeek positions it as the cost-efficient tier of the V4.1 family and reports that it exceeds V4 ProOpens in new tab on performance, speed, and task completion time.
Providers
Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).
| $0.1200 | $0.4800 | $0.002400 | 0.68s | 145 tok/s | ||
| $0.0510 | $0.5670 | $0.018000 | 0.25s | 214 tok/s | ||
| $0.1950 | $0.6600 | $0.003000 | 0.28s | 151 tok/s | ||
| $0.1900 | $0.6500 | $0.012000 | 0.23s | 196 tok/s | ||
| $0.20$0.1400 | $0.60$0.4200 | $0.006$0.004200 | 0.57s | 122 tok/s | ||
| $0.21$0.1050 | $0.84$0.4200 | $0.0042$0.002100 | 0.84s | 130 tok/s | ||
| $0.1200 | $0.5000 | $0.003000 | 0.71s | 112 tok/s | ||
83% off | $0.30$0.0507 | $1.20$0.2028 | $0.006$0.001014 | 1.44s | 107 tok/s | |
| $0.2250 | $0.9000 | $0.006000 | 0.67s | 174 tok/s | ||
| $0.1300 | $0.6500 | $0.002000 | 0.61s | 123 tok/s | ||
| $0.0700 | $0.8000 | $0.006000 | 0.90s | 153 tok/s | ||
| $0.3000 | $1.2000 | $0.007000 | 0.52s | 222 tok/s | ||
| $0.30$0.2100 | $0.90$0.6300 | $0.009$0.006300 | 0.46s | 115 tok/s | ||
| $0.1350 | $0.5400 | $0.013500 | 0.66s | 105 tok/s | ||
| $0.1040 | $0.5830 | $0.005000 | 0.55s | 91 tok/s | ||
| $0.3000 | $1.2000 | $0.007500 | 0.63s | 183 tok/s | ||
| $0.2100 | $0.8400 | $0.004200 | 0.89s | 124 tok/s | ||
| $0.2900 | $1.2000 | $0.007000 | 0.49s | 165 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.26s | 238 tok/s | ||
| $0.2600 | $1.1700 | $0.005800 | 0.48s | 158 tok/s | ||
| $0.1030 | $0.6000 | $0.008000 | 0.32s | 87 tok/s | ||
| $0.2125 | $0.7500 | $0.050000 | 0.71s | 108 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.35s | 108 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.32s | 151 tok/s | ||
| $0.1030 | $0.6000 | $0.008000 | 0.30s | 84 tok/s | ||
35% off | $0.30$0.1950 | $1.20$0.7800 | $0.006$0.003900 | 0.97s | 103 tok/s | |
51% off | $0.30$0.1470 | $1.20$0.5880 | $0.006$0.002940 | 1.20s | 74 tok/s | |
Fast | $0.4500 | $1.8000 | $0.009000 | 0.43s | 184 tok/s | |
40% off | $0.30$0.1800 | $1.20$0.7200 | $0.006$0.003600 | 1.62s | 68 tok/s | |
| $0.3000 | $1.2000 | $0.006000 | 1.65s | 103 tok/s | ||
| $0.4500 | $1.8000 | $0.009000 | 0.37s | 190 tok/s | ||
| $0.3000 | $1.2000 | $0.030000 | 0.61s | 109 tok/s | ||
20% off | $0.15$0.1200 | $0.80$0.6400 | $0.01$0.008000 | 0.30s | 89 tok/s | |
| $0.3000 | $1.2000 | $0.007000 | 0.38s | 212 tok/s | ||
| $0.3000 | $1.2000 | $0.030000 | 0.32s | 155 tok/s | ||
Not used in Standard routing:Why these endpoints are not used | ||||||
| $0.16$0.1120 | $0.48$0.3360 | $0.0048$0.003360 | 1.60s | 165 tok/s | ||
Ultrafast | $3.0000 | $12.0000 | $0.060000 | 0.56s | 203 tok/s | |
- Input $0.12 / Output $0.48145 tok/s99.86% uptime
- Input $0.051 / Output $0.567214 tok/s100.00% uptime
Input $0.195 / Output $0.66151 tok/s100.00% uptime- Input $0.19 / Output $0.65196 tok/s100.00% uptime
Input $0.14 / Output $0.4230% off122 tok/s99.75% uptime- Input $0.105 / Output $0.42130 tok/s100.00% uptime
- Input $0.12 / Output $0.50112 tok/s100.00% uptime
- Input $0.0507 / Output $0.202883% off107 tok/s99.55% uptime
- Input $0.225 / Output $0.90174 tok/s100.00% uptime
- Input $0.13 / Output $0.65123 tok/s100.00% uptime
- Input $0.07 / Output $0.80153 tok/s100.00% uptime
- Input $0.30 / Output $1.20222 tok/s99.58% uptime
Input $0.21 / Output $0.63115 tok/s99.72% uptimePriority+11 more label- Input $0.135 / Output $0.54105 tok/s99.80% uptime
- Input $0.104 / Output $0.58391 tok/s98.70% uptime
- Input $0.30 / Output $1.20183 tok/s99.44% uptime
Input $0.21 / Output $0.84124 tok/s97.40% uptime- Input $0.29 / Output $1.20165 tok/s100.00% uptime
- Input $0.30 / Output $1.20238 tok/s100.00% uptime
- Input $0.26 / Output $1.17158 tok/s100.00% uptime
- Input $0.103 / Output $0.6087 tok/s100.00% uptime
- Input $0.2125 / Output $0.75108 tok/s99.84% uptime
- Input $0.30 / Output $1.20108 tok/s98.51% uptime
Input $0.30 / Output $1.20151 tok/s99.29% uptime- Input $0.103 / Output $0.6084 tok/s99.97% uptime
- Input $0.195 / Output $0.7835% off103 tok/s99.65% uptime
- Input $0.147 / Output $0.58851% off74 tok/s99.77% uptime
- Input $0.45 / Output $1.80184 tok/s100.00% uptimeFast
- Input $0.18 / Output $0.7240% off68 tok/s99.70% uptime
- Input $0.30 / Output $1.20103 tok/s99.85% uptime
Input $0.45 / Output $1.80190 tok/s99.85% uptime- Input $0.30 / Output $1.20109 tok/s99.51% uptime
- Input $0.12 / Output $0.6420% off89 tok/s98.16% uptime
- Input $0.30 / Output $1.20212 tok/s99.53% uptime
- Input $0.30 / Output $1.20155 tok/s100.00% uptime
- Not used in Standard routing:Why these endpoints are not used
Input $0.112 / Output $0.336165 tok/s94.78% uptimeFlex+11 more label- Input $3.00 / Output $12.00203 tok/s100.00% uptimeUltrafast
Pricing
The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.
Weighted average
DeepSeek V4.1 Flash — Price history
| $0.00456 | $0.584 | 98.9% | 2.3% | ||
| $0.00792 | $0.202 | 86.1% | 9.3% | ||
| $0.00959 | $0.800 | 94.4% | 5.6% | ||
| $0.01305 | $0.479 | 90.9% | 4.9% | ||
| $0.01311 | $0.500 | 91.3% | 2.3% | ||
| $0.01369 | $0.420 | 93.0% | 14.5% | ||
| $0.01822 | $0.570 | 86.2% | 2.0% | ||
| $0.01828 | $0.730 | 91.5% | 6.0% | ||
| $0.01865 | $0.599 | 88.7% | 1.3% | ||
| $0.01867 | $0.599 | 88.7% | 1.8% | ||
| $0.01871 | $0.650 | 86.9% | 3.9% | ||
| $0.02047 | $0.900 | 93.4% | 4.2% | ||
| $0.02084 | $0.566 | 91.3% | 8.2% | ||
| $0.02127 | $0.659 | 90.5% | 4.0% | ||
| $0.02162 | $0.829 | 91.1% | 0.7% | ||
| $0.02367 | $0.839 | 90.5% | 1.7% | ||
| $0.02537 | $1.199 | 93.7% | 0.2% | ||
| $0.02681 | $1.200 | 93.0% | 2.1% | ||
| $0.02721 | $1.200 | 93.1% | 1.8% | ||
| $0.02745 | $1.200 | 92.7% | 1.2% | ||
| $0.02852 | $0.649 | 90.7% | 3.4% | ||
| $0.03053 | $1.170 | 90.3% | 0.5% | ||
| $0.03254 | $0.629 | 87.1% | 0.3% | ||
| $0.03266 | $1.200 | 91.4% | 1.1% | ||
| $0.04177 | $0.635 | 69.3% | 0.0% | ||
| $0.04281 | $0.719 | 77.8% | 0.1% | ||
| $0.04884 | $1.200 | 85.4% | 0.1% | ||
| $0.06007 | $1.200 | 81.6% | 0.1% | ||
| $0.06575 | $0.534 | 56.9% | 0.2% | ||
| $0.06576 | $1.800 | 87.1% | 0.4% | ||
| $0.07292 | $0.748 | 85.7% | 0.0% | ||
| $0.08527 | $1.199 | 79.5% | 0.0% | ||
| $0.09010 | $1.200 | 71.4% | 15.1% | ||
Fast | $0.09990 | $1.799 | 79.4% | 0.1% | |
| $0.19469 | $1.200 | 39.0% | 0.1% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
| $0.01278 | $0.335 | 91.3% | 0.5% | ||
Ultrafast | $0.15395 | $12.000 | 96.8% | 0.0% | |
- Effective in $0.00456 / Effective out $0.584Token share2.3%
- Effective in $0.00792 / Effective out $0.202Token share9.3%
- Effective in $0.00959 / Effective out $0.800Token share5.6%
- Effective in $0.01305 / Effective out $0.479Token share4.9%
- Effective in $0.01311 / Effective out $0.500Token share2.3%
- Effective in $0.01369 / Effective out $0.420Token share14.5%
- Effective in $0.01822 / Effective out $0.570Token share2.0%
- Effective in $0.01828 / Effective out $0.730Token share6.0%
- Effective in $0.01865 / Effective out $0.599Token share1.3%
- Effective in $0.01867 / Effective out $0.599Token share1.8%
- Effective in $0.01871 / Effective out $0.650Token share3.9%
- Effective in $0.02047 / Effective out $0.900Token share4.2%
- Effective in $0.02084 / Effective out $0.566Token share8.2%
- Effective in $0.02127 / Effective out $0.659Token share4.0%
- Effective in $0.02162 / Effective out $0.829Token share0.7%
- Effective in $0.02367 / Effective out $0.839Token share1.7%
- Effective in $0.02537 / Effective out $1.199Token share0.2%
- Effective in $0.02681 / Effective out $1.200Token share2.1%
- Effective in $0.02721 / Effective out $1.200Token share1.8%
- Effective in $0.02745 / Effective out $1.200Token share1.2%
- Effective in $0.02852 / Effective out $0.649Token share3.4%
- Effective in $0.03053 / Effective out $1.170Token share0.5%
- Effective in $0.03254 / Effective out $0.629PriorityToken share0.3%
- Effective in $0.03266 / Effective out $1.200Token share1.1%
- Effective in $0.04177 / Effective out $0.635Token share0.0%
- Effective in $0.04281 / Effective out $0.719Token share0.1%
- Effective in $0.04884 / Effective out $1.200Token share0.1%
- Effective in $0.06007 / Effective out $1.200Token share0.1%
- Effective in $0.06575 / Effective out $0.534Token share0.2%
- Effective in $0.06576 / Effective out $1.800Token share0.4%
- Effective in $0.07292 / Effective out $0.748Token share0.0%
- Effective in $0.08527 / Effective out $1.199Token share0.0%
- Effective in $0.09010 / Effective out $1.200Token share15.1%
- Effective in $0.09990 / Effective out $1.799FastToken share0.1%
- Effective in $0.19469 / Effective out $1.200Token share0.1%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.01278 / Effective out $0.335FlexToken share0.5%
- Effective in $0.15395 / Effective out $12.000UltrafastToken share0.0%
Performance
Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).
P50, best across providers
P50, best provider
Uptime
Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.
Availability over the last 3 days
Last 72 hoursAvailability over the last 24 hours
When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.
Benchmarks
Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | DeepSeek V4.1 Flash (Non-reasoning) HLE | 10.8% |
| Artificial Analysis | DeepSeek V4.1 Flash (Non-reasoning) AA-LCR | 55.3% |
| Artificial Analysis | DeepSeek V4.1 Flash (Non-reasoning) GDPval-AA | 42.4% |
| Artificial Analysis | DeepSeek V4.1 Flash (Non-reasoning) CritPt | 0.3% |
| Artificial Analysis | DeepSeek V4.1 Flash (Non-reasoning) SciCode | 35.5% |
| Artificial Analysis | DeepSeek V4.1 Flash (Non-reasoning) Terminal-Bench 4.0 | 5.6% |
| Vals AI | DeepSeek V4.1 Flash Access to Justice Benchmark | 72.9% |
| Vals AI | DeepSeek V4.1 Flash BioMysteryBench | 67.8% |
| Vals AI | DeepSeek V4.1 Flash Code Migration v1.1 | 58.9% |
| Vals AI | DeepSeek V4.1 Flash CyberBench v1.1 | 73.7% |
| Vals AI | DeepSeek V4.1 Flash EMB v1.1 | 67.8% |
| Vals AI | DeepSeek V4.1 Flash Finance Agent v2.1 | 65.4% |
| Vals AI | DeepSeek V4.1 Flash Vals Finance Index | 57.1% |
| Vals AI | DeepSeek V4.1 Flash Financial Coaching Bench | 72.8% |
| Vals AI | DeepSeek V4.1 Flash Harvey's Legal Agent Benchmark v1 | 6.7% |
| Vals AI | DeepSeek V4.1 Flash Immigration | 65.6% |
| Vals AI | DeepSeek V4.1 Flash Vals Inference Provider Index | 66.6% |
| Vals AI | DeepSeek V4.1 Flash IOI | 40.3% |
| Vals AI | DeepSeek V4.1 Flash LegalBench | 83.3% |
| Vals AI | DeepSeek V4.1 Flash Legal Research Bench | 41.3% |
| Vals AI | DeepSeek V4.1 Flash MedCode | 41.2% |
| Vals AI | DeepSeek V4.1 Flash MedScribe | 85.5% |
| Vals AI | DeepSeek V4.1 Flash MysteryMechanism | 21.2% |
| Vals AI | DeepSeek V4.1 Flash ProgramBench | 0.5% |
| Vals AI | DeepSeek V4.1 Flash ProofBench v1.1 | 54.0% |
| Vals AI | DeepSeek V4.1 Flash Public Benefits Bench v1.1 | 64.3% |
| Vals AI | DeepSeek V4.1 Flash SAGE | 85.4% |
| Vals AI | DeepSeek V4.1 Flash Vals Science Index | 29.6% |
| Vals AI | DeepSeek V4.1 Flash SkillsBench | 69.8% |
| Vals AI | DeepSeek V4.1 Flash SRE Bench | 0.8% |
| Vals AI | DeepSeek V4.1 Flash SWE-bench Multimodal | 46.5% |
| Vals AI | DeepSeek V4.1 Flash Tax Agent Bench | 26.6% |
| Vals AI | DeepSeek V4.1 Flash Terminal-Bench 4.0 | 19.7% |
| Vals AI | DeepSeek V4.1 Flash Terminal-Bench-Science | 0.0% |
| Vals AI | DeepSeek V4.1 Flash Vals Index | 51.3% |
| Vals AI | DeepSeek V4.1 Flash Vibe Code Bench 1-100 | 16.4% |
| Vals AI | DeepSeek V4.1 Flash Vibe Code Bench v1.1 | 84.7% |
Apps
Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.
Activity
Token volume and request traffic to this model over time.
API
Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.
DeepSeek: DeepSeek Flash versions
Not currently available through EU in-region routing. In-region routing docs
Documentation
Guides, cookbooks, blog posts, and tools for building with DeepSeek: DeepSeek V4.1 Flash on OpenRouter.
- Self-Hosted LLM vs API: When Does Self-Hosting Pay OffBlog post
- How to Benchmark LLMsBlog post
- How to Stop an AI Agent Stuck in an Infinite LoopBlog post
- LLM API Rate Limits: How to Fix OpenAI and Claude 429 ErrorsBlog post
- How to Get Structured Output from Any LLM: JSON Schema, Tool Calls, or a Decision ModelBlog post
- Best OCR Model for Scanned Documents, MeasuredBlog post
- Build an AI Code Reviewer with OpenRouterBlog post
- Open-Weight vs Closed-Weight Models: What's the Difference?Blog post
- How to Extract Tables from a PDF with an LLMBlog post
- Does DeepSeek V4 Have Vision?Blog post
Frequently asked questions
DeepSeek V4.1 Flash is a sparse mixture-of-experts model from DeepSeek, and the first built on the company's Causal Encoder-Decoder (CED) architecture. It activates 8B parameters on input and 16B on output from a 552B-parameter backbone, an asymmetric split that keeps per-token compute low relative to the model's total size.
The DeepSeek V4.1 Flash documentation on OpenRouter includes the Self-Hosted LLM vs API: When Does Self-Hosting Pay Off blog post, the How to Benchmark LLMs blog post, the How to Stop an AI Agent Stuck in an Infinite Loop blog post, the LLM API Rate Limits: How to Fix OpenAI and Claude 429 Errors blog post, the How to Get Structured Output from Any LLM: JSON Schema, Tool Calls, or a Decision Model blog post, the Best OCR Model for Scanned Documents, Measured blog post, the Build an AI Code Reviewer with OpenRouter blog post, the Open-Weight vs Closed-Weight Models: What's the Difference? blog post, the How to Extract Tables from a PDF with an LLM blog post, and the Does DeepSeek V4 Have Vision? blog post. The quickstart covers API keys and your first request, and the API reference lists every parameter.
DeepSeek V4.1 Flash costs $0.0507/M input tokens and $0.2028/M output tokens, with separate rates for Cache Read at $0.001014/M tokens.
DeepSeek V4.1 Flash has a 1,048,576 token context window. It supports up to 393,216 completion tokens.
Yes. DeepSeek V4.1 Flash accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
DeepSeek V4.1 Flash accepts text and images as input and returns text.
DeepSeek V4.1 Flash is served by 28 providers on OpenRouter: Baidu Qianfan, Wafer, Open Inference, inference.net, Morph, Alibaba Cloud Int., DeepInfra, River and 20 more. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.
DeepSeek V4.1 Flash was released on September 10, 2026.