
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.58s | 146 tok/s | ||
| $0.0510 | $0.5670 | $0.018000 | 0.30s | 199 tok/s | ||
| $0.1950 | $0.6600 | $0.003000 | 0.38s | 163 tok/s | ||
| $0.20$0.1400 | $0.60$0.4200 | $0.006$0.004200 | 0.68s | 117 tok/s | ||
| $0.1900 | $0.6500 | $0.012000 | 0.32s | 191 tok/s | ||
83% off | $0.30$0.0507 | $1.20$0.2028 | $0.006$0.001014 | 1.31s | 100 tok/s | |
| $0.1200 | $0.5000 | $0.003000 | 0.54s | 106 tok/s | ||
| $0.2250 | $0.9000 | $0.006000 | 0.69s | 174 tok/s | ||
| $0.1040 | $0.5830 | $0.005000 | 0.51s | 102 tok/s | ||
| $0.1300 | $0.6500 | $0.002000 | 0.59s | 111 tok/s | ||
| $0.1030 | $0.6000 | $0.008000 | 0.27s | 103 tok/s | ||
| $0.1030 | $0.6000 | $0.008000 | 0.28s | 104 tok/s | ||
| $0.0700 | $0.8000 | $0.006000 | 0.81s | 119 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.18s | 318 tok/s | ||
| $0.2900 | $1.2000 | $0.007000 | 0.63s | 177 tok/s | ||
| $0.2100 | $0.8400 | $0.004200 | 0.89s | 125 tok/s | ||
| $0.3000 | $1.2000 | $0.007500 | 0.65s | 193 tok/s | ||
| $0.1350 | $0.5400 | $0.013500 | 0.66s | 93 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.48s | 180 tok/s | ||
| $0.2600 | $1.1700 | $0.005800 | 0.46s | 156 tok/s | ||
20% off | $0.15$0.1200 | $0.80$0.6400 | $0.01$0.008000 | 0.25s | 77 tok/s | |
| $0.30$0.2100 | $0.90$0.6300 | $0.009$0.006300 | 0.86s | 83 tok/s | ||
51% off | $0.30$0.1470 | $1.20$0.5880 | $0.006$0.002940 | 1.34s | 78 tok/s | |
| $0.3000 | $1.2000 | $0.006000 | 0.42s | 153 tok/s | ||
35% off | $0.30$0.1950 | $1.20$0.7800 | $0.006$0.003900 | 0.98s | 109 tok/s | |
| $0.2125 | $0.7500 | $0.050000 | 0.75s | 76 tok/s | ||
| $0.2100 | $0.8400 | $0.004200 | 1.93s | 95 tok/s | ||
| $0.4500 | $1.8000 | $0.009000 | 0.44s | 168 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 1.61s | 102 tok/s | ||
| $0.3000 | $1.2000 | $0.030000 | 0.30s | 143 tok/s | ||
| $0.3000 | $1.2000 | $0.030000 | 0.89s | 63 tok/s | ||
| $0.3000 | $1.2000 | $0.007000 | 0.42s | 174 tok/s | ||
| $0.3000 | $1.2000 | $0.007000 | 0.24s | 225 tok/s | ||
Fast | $0.4500 | $1.8000 | $0.009000 | 0.39s | 198 tok/s | |
40% off | $0.30$0.1800 | $1.20$0.7200 | $0.006$0.003600 | 1.81s | 52 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.97s | 70 tok/s | ||
Ultrafast | $3.0000 | $12.0000 | $0.060000 | 2.30s | 131 tok/s | |
- Input $0.12 / Output $0.48146 tok/s99.82% uptime
- Input $0.051 / Output $0.567199 tok/s100.00% uptime
Input $0.195 / Output $0.66163 tok/s100.00% uptime
Input $0.14 / Output $0.4230% off117 tok/s99.70% uptime- Input $0.19 / Output $0.65191 tok/s100.00% uptime
- Input $0.0507 / Output $0.202883% off100 tok/s99.46% uptime
- Input $0.12 / Output $0.50106 tok/s100.00% uptime
- Input $0.225 / Output $0.90174 tok/s100.00% uptime
- Input $0.104 / Output $0.583102 tok/s98.45% uptime
- Input $0.13 / Output $0.65111 tok/s100.00% uptime
- Input $0.103 / Output $0.60103 tok/s100.00% uptime
- Input $0.103 / Output $0.60104 tok/s100.00% uptime
- Input $0.07 / Output $0.80119 tok/s100.00% uptime
- Input $0.30 / Output $1.20318 tok/s100.00% uptime
- Input $0.29 / Output $1.20177 tok/s100.00% uptime
- Input $0.21 / Output $0.84125 tok/s100.00% uptime
- Input $0.30 / Output $1.20193 tok/s99.33% uptime
- Input $0.135 / Output $0.5493 tok/s99.76% uptime
- Input $0.30 / Output $1.20180 tok/s98.22% uptime
- Input $0.26 / Output $1.17156 tok/s100.00% uptime
- Input $0.12 / Output $0.6420% off77 tok/s98.20% uptime
Input $0.21 / Output $0.6383 tok/s99.67% uptimePriority+11 more label- Input $0.147 / Output $0.58851% off78 tok/s99.73% uptime
Input $0.30 / Output $1.20153 tok/s99.15% uptime- Input $0.195 / Output $0.7835% off109 tok/s99.58% uptime
- Input $0.2125 / Output $0.7576 tok/s99.81% uptime
Input $0.21 / Output $0.8495 tok/s96.71% uptime
Input $0.45 / Output $1.80168 tok/s99.82% uptime- Input $0.30 / Output $1.20102 tok/s99.82% uptime
- Input $0.30 / Output $1.20143 tok/s100.00% uptime
- Input $0.30 / Output $1.2063 tok/s99.53% uptime
- Input $0.30 / Output $1.20174 tok/s99.50% uptime
- Input $0.30 / Output $1.20225 tok/s99.43% uptime
- Input $0.45 / Output $1.80198 tok/s100.00% uptimeFast
- Input $0.18 / Output $0.7240% off52 tok/s99.64% uptime
- Not used in Standard routing:Why these endpoints are not used
Input $0.112 / Output $0.33670 tok/s93.75% uptimeFlex+11 more label- Input $3.00 / Output $12.00131 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.00408 | $0.582 | 99.2% | 3.1% | ||
| $0.00919 | $0.202 | 83.5% | 8.3% | ||
| $0.00921 | $0.800 | 95.0% | 5.0% | ||
| $0.01384 | $0.500 | 90.7% | 2.4% | ||
| $0.01442 | $0.479 | 89.8% | 4.4% | ||
| $0.01522 | $0.420 | 91.9% | 14.1% | ||
| $0.01701 | $0.555 | 86.9% | 2.2% | ||
| $0.01781 | $0.650 | 87.6% | 5.6% | ||
| $0.01828 | $0.599 | 89.1% | 2.2% | ||
| $0.02047 | $0.599 | 86.8% | 0.9% | ||
| $0.02089 | $0.566 | 91.2% | 8.4% | ||
| $0.02128 | $0.839 | 91.7% | 2.1% | ||
| $0.02152 | $0.900 | 92.9% | 4.4% | ||
| $0.02233 | $0.839 | 91.2% | 7.0% | ||
| $0.02449 | $1.200 | 93.8% | 3.1% | ||
| $0.02509 | $0.659 | 88.5% | 3.5% | ||
| $0.02854 | $1.169 | 91.1% | 0.6% | ||
| $0.02875 | $0.649 | 90.6% | 3.4% | ||
| $0.02958 | $1.200 | 92.4% | 1.1% | ||
| $0.02970 | $1.199 | 92.2% | 0.1% | ||
| $0.02980 | $1.200 | 92.2% | 1.2% | ||
| $0.03271 | $1.200 | 90.9% | 1.1% | ||
| $0.03316 | $0.629 | 86.8% | 0.2% | ||
| $0.03689 | $0.719 | 81.1% | 0.1% | ||
| $0.04398 | $1.199 | 87.1% | 0.1% | ||
| $0.04411 | $0.633 | 67.0% | 0.0% | ||
| $0.04861 | $0.841 | 77.9% | 0.2% | ||
| $0.06085 | $1.200 | 81.3% | 0.3% | ||
| $0.06369 | $0.747 | 91.5% | 0.0% | ||
| $0.06652 | $0.534 | 56.3% | 0.2% | ||
| $0.07452 | $1.800 | 85.1% | 0.5% | ||
| $0.08081 | $1.199 | 81.2% | 0.0% | ||
Fast | $0.10853 | $1.799 | 77.4% | 0.1% | |
| $0.10904 | $1.200 | 64.9% | 13.2% | ||
| $0.18472 | $1.200 | 42.7% | 0.2% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
| $0.01588 | $0.335 | 88.4% | 0.5% | ||
Ultrafast | $0.28827 | $12.000 | 92.2% | 0.0% | |
- Effective in $0.00408 / Effective out $0.582Token share3.1%
- Effective in $0.00919 / Effective out $0.202Token share8.3%
- Effective in $0.00921 / Effective out $0.800Token share5.0%
- Effective in $0.01384 / Effective out $0.500Token share2.4%
- Effective in $0.01442 / Effective out $0.479Token share4.4%
- Effective in $0.01522 / Effective out $0.420Token share14.1%
- Effective in $0.01701 / Effective out $0.555Token share2.2%
- Effective in $0.01781 / Effective out $0.650Token share5.6%
- Effective in $0.01828 / Effective out $0.599Token share2.2%
- Effective in $0.02047 / Effective out $0.599Token share0.9%
- Effective in $0.02089 / Effective out $0.566Token share8.4%
- Effective in $0.02128 / Effective out $0.839Token share2.1%
- Effective in $0.02152 / Effective out $0.900Token share4.4%
- Effective in $0.02233 / Effective out $0.839Token share7.0%
- Effective in $0.02449 / Effective out $1.200Token share3.1%
- Effective in $0.02509 / Effective out $0.659Token share3.5%
- Effective in $0.02854 / Effective out $1.169Token share0.6%
- Effective in $0.02875 / Effective out $0.649Token share3.4%
- Effective in $0.02958 / Effective out $1.200Token share1.1%
- Effective in $0.02970 / Effective out $1.199Token share0.1%
- Effective in $0.02980 / Effective out $1.200Token share1.2%
- Effective in $0.03271 / Effective out $1.200Token share1.1%
- Effective in $0.03316 / Effective out $0.629PriorityToken share0.2%
- Effective in $0.03689 / Effective out $0.719Token share0.1%
- Effective in $0.04398 / Effective out $1.199Token share0.1%
- Effective in $0.04411 / Effective out $0.633Token share0.0%
- Effective in $0.04861 / Effective out $0.841Token share0.2%
- Effective in $0.06085 / Effective out $1.200Token share0.3%
- Effective in $0.06369 / Effective out $0.747Token share0.0%
- Effective in $0.06652 / Effective out $0.534Token share0.2%
- Effective in $0.07452 / Effective out $1.800Token share0.5%
- Effective in $0.08081 / Effective out $1.199Token share0.0%
- Effective in $0.10853 / Effective out $1.799FastToken share0.1%
- Effective in $0.10904 / Effective out $1.200Token share13.2%
- Effective in $0.18472 / Effective out $1.200Token share0.2%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.01588 / Effective out $0.335FlexToken share0.5%
- Effective in $0.28827 / 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, DeepInfra, River, Relace 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.