
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).
83% off | $0.30$0.0507 | $1.20$0.2028 | $0.006$0.001014 | 1.04s | 116 tok/s | |
|---|---|---|---|---|---|---|
| $0.0510 | $0.5670 | $0.018000 | 0.30s | 208 tok/s | ||
| $0.1200 | $0.4800 | $0.002400 | 0.68s | 132 tok/s | ||
| $0.21$0.1050 | $0.84$0.4200 | $0.0042$0.002100 | 0.84s | 125 tok/s | ||
| $0.1300 | $0.6500 | $0.002000 | 0.47s | 156 tok/s | ||
| $0.1950 | $0.6600 | $0.003000 | 0.29s | 148 tok/s | ||
| $0.1900 | $0.6500 | $0.012000 | 0.28s | 197 tok/s | ||
| $0.20$0.1400 | $0.60$0.4200 | $0.006$0.004200 | 0.78s | 101 tok/s | ||
| $0.2250 | $0.9000 | $0.006000 | 0.69s | 170 tok/s | ||
| $0.1200 | $0.5000 | $0.003000 | 0.66s | 101 tok/s | ||
| $0.1030 | $0.6000 | $0.008000 | 0.27s | 107 tok/s | ||
| $0.0700 | $0.8000 | $0.006000 | 0.83s | 112 tok/s | ||
| $0.1350 | $0.5400 | $0.013500 | 0.69s | 102 tok/s | ||
| $0.2900 | $1.2000 | $0.007000 | 0.59s | 179 tok/s | ||
| $0.1030 | $0.6000 | $0.008000 | 0.30s | 82 tok/s | ||
| $0.3000 | $1.2000 | $0.007000 | 0.83s | 175 tok/s | ||
35% off | $0.30$0.1950 | $1.20$0.7800 | $0.006$0.003900 | 1.38s | 105 tok/s | |
| $0.3000 | $1.2000 | $0.007500 | 1.22s | 154 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.27s | 241 tok/s | ||
20% off | $0.15$0.1200 | $0.80$0.6400 | $0.01$0.008000 | 0.26s | 77 tok/s | |
| $0.0890 | $0.5000 | $0.004000 | 0.78s | 70 tok/s | ||
| $0.2600 | $1.1700 | $0.005800 | 1.18s | 126 tok/s | ||
| $0.2100 | $0.8400 | $0.004200 | 1.50s | 109 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.36s | 185 tok/s | ||
51% off | $0.30$0.1470 | $1.20$0.5880 | $0.006$0.002940 | 1.35s | 73 tok/s | |
| $0.30$0.2100 | $0.90$0.6300 | $0.009$0.006300 | 0.97s | 72 tok/s | ||
| $0.2125 | $0.7500 | $0.050000 | 0.99s | 104 tok/s | ||
| $0.3000 | $1.2000 | $0.030000 | 0.37s | 130 tok/s | ||
| $0.4500 | $1.8000 | $0.009000 | 0.51s | 231 tok/s | ||
40% off | $0.30$0.1800 | $1.20$0.7200 | $0.006$0.003600 | 1.87s | 67 tok/s | |
Fast | $0.4500 | $1.8000 | $0.009000 | 0.39s | 212 tok/s | |
| $0.3000 | $1.2000 | $0.006000 | 1.63s | 92 tok/s | ||
| $0.3000 | $1.2000 | $0.030000 | 0.72s | 77 tok/s | ||
| $0.3000 | $1.2000 | $0.007000 | 0.49s | 158 tok/s | ||
| $0.3000 | $1.2000 | $0.006000 | 0.86s | 174 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.74s | 134 tok/s | ||
Ultrafast | $3.0000 | $12.0000 | $0.060000 | 0.39s | 284 tok/s | |
- Input $0.0507 / Output $0.202883% off116 tok/s99.55% uptime
- Input $0.051 / Output $0.567208 tok/s100.00% uptime
- Input $0.12 / Output $0.48132 tok/s99.75% uptime
- Input $0.105 / Output $0.42125 tok/s100.00% uptime
- Input $0.13 / Output $0.65156 tok/s99.68% uptime
Input $0.195 / Output $0.66148 tok/s100.00% uptime- Input $0.19 / Output $0.65197 tok/s100.00% uptime
Input $0.14 / Output $0.4230% off101 tok/s99.75% uptime- Input $0.225 / Output $0.90170 tok/s99.97% uptime
- Input $0.12 / Output $0.50101 tok/s100.00% uptime
- Input $0.103 / Output $0.60107 tok/s100.00% uptime
- Input $0.07 / Output $0.80112 tok/s100.00% uptime
- Input $0.135 / Output $0.54102 tok/s99.80% uptime
- Input $0.29 / Output $1.20179 tok/s100.00% uptime
- Input $0.103 / Output $0.6082 tok/s100.00% uptime
- Input $0.30 / Output $1.20175 tok/s97.59% uptime
- Input $0.195 / Output $0.7835% off105 tok/s99.65% uptime
- Input $0.30 / Output $1.20154 tok/s99.33% uptime
- Input $0.30 / Output $1.20241 tok/s100.00% uptime
- Input $0.12 / Output $0.6420% off77 tok/s97.77% uptime
- Input $0.089 / Output $0.5070 tok/s96.56% uptime
- Input $0.26 / Output $1.17126 tok/s99.87% uptime
Input $0.21 / Output $0.84109 tok/s96.41% uptime- Input $0.30 / Output $1.20185 tok/s98.53% uptime
- Input $0.147 / Output $0.58851% off73 tok/s99.77% uptime
Input $0.21 / Output $0.6372 tok/s99.75% uptimePriority+11 more label- Input $0.2125 / Output $0.75104 tok/s99.76% uptime
- Input $0.30 / Output $1.20130 tok/s100.00% uptime
Input $0.45 / Output $1.80231 tok/s99.82% uptime- Input $0.18 / Output $0.7240% off67 tok/s99.70% uptime
- Input $0.45 / Output $1.80212 tok/s100.00% uptimeFast
- Input $0.30 / Output $1.2092 tok/s99.85% uptime
- Input $0.30 / Output $1.2077 tok/s99.36% uptime
- Input $0.30 / Output $1.20158 tok/s96.82% uptime
Input $0.30 / Output $1.20174 tok/s99.27% uptime- Not used in Standard routing:Why these endpoints are not used
Input $0.112 / Output $0.336134 tok/s88.32% uptimeFlex+11 more label- Input $3.00 / Output $12.00284 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.00714 | $0.587 | 97.1% | 2.1% | ||
| $0.00963 | $0.800 | 94.3% | 4.0% | ||
| $0.01174 | $0.556 | 86.5% | 3.7% | ||
| $0.01325 | $0.216 | 79.4% | 2.3% | ||
| $0.01424 | $0.500 | 90.4% | 2.4% | ||
| $0.01443 | $0.788 | 94.6% | 1.4% | ||
| $0.01468 | $0.479 | 89.5% | 3.7% | ||
| $0.01567 | $0.421 | 91.6% | 14.5% | ||
| $0.01672 | $0.630 | 91.1% | 5.1% | ||
| $0.01734 | $0.599 | 90.1% | 2.4% | ||
| $0.01846 | $0.649 | 87.1% | 5.5% | ||
| $0.01925 | $0.839 | 92.7% | 1.2% | ||
| $0.02148 | $0.900 | 92.9% | 4.8% | ||
| $0.02162 | $0.566 | 89.0% | 8.7% | ||
| $0.02252 | $0.659 | 89.8% | 3.9% | ||
| $0.02426 | $0.599 | 82.8% | 1.0% | ||
| $0.02691 | $1.200 | 93.0% | 2.8% | ||
| $0.02704 | $0.638 | 82.9% | 0.1% | ||
| $0.02757 | $1.200 | 93.0% | 2.5% | ||
| $0.03165 | $1.200 | 91.6% | 0.2% | ||
| $0.03326 | $0.649 | 88.0% | 2.7% | ||
| $0.03366 | $1.200 | 91.1% | 1.6% | ||
| $0.03479 | $1.169 | 88.6% | 0.4% | ||
| $0.03545 | $0.630 | 85.7% | 0.3% | ||
| $0.03708 | $1.199 | 89.4% | 1.2% | ||
| $0.03954 | $0.720 | 79.6% | 0.1% | ||
| $0.05553 | $1.200 | 83.1% | 0.1% | ||
| $0.05713 | $0.536 | 64.0% | 0.2% | ||
| $0.05893 | $1.799 | 88.7% | 1.1% | ||
Fast | $0.07256 | $1.799 | 85.6% | 0.2% | |
| $0.07815 | $1.199 | 82.2% | 0.1% | ||
| $0.08513 | $1.200 | 73.1% | 18.9% | ||
| $0.09357 | $0.746 | 73.0% | 0.0% | ||
| $0.17366 | $1.200 | 46.8% | 0.2% | ||
| $0.03216 | $1.200 | 91.1% | 0.5% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
| $0.01386 | $0.336 | 90.3% | 0.3% | ||
Ultrafast | $1.08949 | $12.000 | 65.0% | 0.0% | |
- Effective in $0.00714 / Effective out $0.587Token share2.1%
- Effective in $0.00963 / Effective out $0.800Token share4.0%
- Effective in $0.01174 / Effective out $0.556Token share3.7%
- Effective in $0.01325 / Effective out $0.216Token share2.3%
- Effective in $0.01424 / Effective out $0.500Token share2.4%
- Effective in $0.01443 / Effective out $0.788Token share1.4%
- Effective in $0.01468 / Effective out $0.479Token share3.7%
- Effective in $0.01567 / Effective out $0.421Token share14.5%
- Effective in $0.01672 / Effective out $0.630Token share5.1%
- Effective in $0.01734 / Effective out $0.599Token share2.4%
- Effective in $0.01846 / Effective out $0.649Token share5.5%
- Effective in $0.01925 / Effective out $0.839Token share1.2%
- Effective in $0.02148 / Effective out $0.900Token share4.8%
- Effective in $0.02162 / Effective out $0.566Token share8.7%
- Effective in $0.02252 / Effective out $0.659Token share3.9%
- Effective in $0.02426 / Effective out $0.599Token share1.0%
- Effective in $0.02691 / Effective out $1.200Token share2.8%
- Effective in $0.02704 / Effective out $0.638Token share0.1%
- Effective in $0.02757 / Effective out $1.200Token share2.5%
- Effective in $0.03165 / Effective out $1.200Token share0.2%
- Effective in $0.03326 / Effective out $0.649Token share2.7%
- Effective in $0.03366 / Effective out $1.200Token share1.6%
- Effective in $0.03479 / Effective out $1.169Token share0.4%
- Effective in $0.03545 / Effective out $0.630PriorityToken share0.3%
- Effective in $0.03708 / Effective out $1.199Token share1.2%
- Effective in $0.03954 / Effective out $0.720Token share0.1%
- Effective in $0.05553 / Effective out $1.200Token share0.1%
- Effective in $0.05713 / Effective out $0.536Token share0.2%
- Effective in $0.05893 / Effective out $1.799Token share1.1%
- Effective in $0.07256 / Effective out $1.799FastToken share0.2%
- Effective in $0.07815 / Effective out $1.199Token share0.1%
- Effective in $0.08513 / Effective out $1.200Token share18.9%
- Effective in $0.09357 / Effective out $0.746Token share0.0%
- Effective in $0.17366 / Effective out $1.200Token share0.2%
- Effective in $0.03216 / Effective out $1.200Token share0.5%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.01386 / Effective out $0.336FlexToken share0.3%
- Effective in $1.08949 / 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, Morph, inference.net, 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.