
DeepSeek: DeepSeek V4.1 Flash 1017
deepseek/deepseek-v4.1-flash-1017
Model weightsDeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the deepseek-flash API model name. 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.12000 | $0.5000 | $0.003000 | 0.72s | 150 tok/s | ||
65% off | $0.30$0.10500 | $1.20$0.4200 | $0.006$0.002100 | 0.95s | 140 tok/s | |
| $0.15000 | $0.5000 | $0.003000 | 0.59s | 147 tok/s | ||
| $0.18000 | $0.7200 | $0.006000 | 0.72s | 189 tok/s | ||
| $0.06600 | $0.5000 | $0.006500 | 0.55s | 160 tok/s | ||
| $0.21$0.10500 | $0.84$0.4200 | $0.0042$0.002100 | 1.09s | 127 tok/s | ||
| $0.03800 | $0.5000 | $0.010000 | 0.46s | 156 tok/s | ||
| $0.07000 | $0.8000 | $0.006000 | 0.89s | 153 tok/s | ||
| $0.12000 | $0.4800 | $0.002400 | 0.80s | 117 tok/s | ||
| $0.21000 | $0.6200 | $0.010500 | 0.74s | 167 tok/s | ||
65% off | $0.28$0.09772 | $1.13$0.3944 | $0.006$0.002094 | 1.35s | 117 tok/s | |
| $0.06000 | $0.5000 | $0.010000 | 0.69s | 136 tok/s | ||
| $0.20$0.09800 | $0.60$0.2940 | $0.006$0.002940 | 0.80s | 107 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.49s | 204 tok/s | ||
| $0.30$0.14700 | $0.90$0.4410 | $0.009$0.004410 | 0.95s | 114 tok/s | ||
| $0.04368 | $0.7000 | $0.002400 | 1.04s | 108 tok/s | ||
| $0.15000 | $1.2000 | $0.006000 | 0.63s | 186 tok/s | ||
| $0.10400 | $0.5830 | $0.005000 | 0.64s | 125 tok/s | ||
| $0.07272 | $0.1080 | $0.007000 | 2.32s | 117 tok/s | ||
| $0.30000 | $1.2000 | $0.007000 | 1.21s | 179 tok/s | ||
| $0.07272 | $0.1080 | $0.007000 | 2.12s | 110 tok/s | ||
| $0.29000 | $1.2000 | $0.007000 | 0.54s | 202 tok/s | ||
| $0.08000 | $0.6050 | $0.008000 | 0.23s | 99 tok/s | ||
| $0.10400 | $0.5830 | $0.005000 | 0.77s | 100 tok/s | ||
| $0.25000 | $1.0000 | $0.005000 | 0.73s | 141 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.47s | 207 tok/s | ||
| $0.10000 | $0.6000 | $0.003000 | 2.04s | 102 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.75s | 188 tok/s | ||
| $0.08000 | $0.6050 | $0.008000 | 0.34s | 87 tok/s | ||
| $0.18000 | $0.6800 | $0.006000 | 2.04s | 109 tok/s | ||
45% off | $0.30$0.16500 | $1.20$0.6600 | $0.006$0.003300 | 1.60s | 107 tok/s | |
| $0.30000 | $1.2000 | $0.007500 | 1.07s | 165 tok/s | ||
40% off | $0.30$0.18000 | $1.20$0.7200 | $0.006$0.003600 | 0.82s | 176 tok/s | |
| $0.30000 | $1.2000 | $0.007000 | 0.62s | 127 tok/s | ||
| $0.16000 | $1.1000 | $0.008000 | 0.73s | 107 tok/s | ||
63% off | $0.30$0.11100 | $1.20$0.4440 | $0.006$0.002220 | 1.29s | 58 tok/s | |
| $0.45000 | $1.8000 | $0.009000 | 0.82s | 170 tok/s | ||
| $0.30000 | $0.5500 | $0.006000 | 0.97s | 74 tok/s | ||
| $0.21000 | $0.8400 | $0.004200 | 1.83s | 92 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.54s | 105 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 1.36s | 99 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.60s | 47 tok/s | ||
| $0.19500 | $0.7800 | $0.003900 | 2.52s | 86 tok/s | ||
| $0.24000 | $0.9600 | $0.004800 | 0.43s | 150 tok/s | ||
| $0.15000 | $0.6000 | $0.003000 | 1.16s | 128 tok/s | ||
Fast | $0.60000 | $2.4000 | $0.014000 | 0.33s | 471 tok/s | |
Not used in Standard routing:Why these endpoints are not used | ||||||
| $0.03000 | $0.2500 | $0.005000 | 0.53s | 106 tok/s | ||
Flex | $0.07750 | $0.2325 | $0.002325 | 0.94s | 134 tok/s | |
| $0.16$0.07840 | $0.48$0.2352 | $0.0048$0.002352 | 3.32s | 73 tok/s | ||
- Input $0.12 / Output $0.50150 tok/s99.97% uptime
- Input $0.105 / Output $0.4265% off140 tok/s100.00% uptime
Input $0.15 / Output $0.50147 tok/s100.00% uptime- Input $0.18 / Output $0.72189 tok/s100.00% uptime
- Input $0.066 / Output $0.50160 tok/s100.00% uptime
- Input $0.105 / Output $0.42127 tok/s98.75% uptime
- Input $0.038 / Output $0.50156 tok/s100.00% uptime
- Input $0.07 / Output $0.80153 tok/s100.00% uptime
- Input $0.12 / Output $0.48117 tok/s100.00% uptime
- Input $0.21 / Output $0.62167 tok/s98.55% uptime
- Input $0.09772 / Output $0.394465% off117 tok/s99.26% uptime
- Input $0.06 / Output $0.50136 tok/s99.97% uptime
Input $0.098 / Output $0.29451% off107 tok/s99.92% uptime- Input $0.30 / Output $1.20204 tok/s99.55% uptime
Input $0.147 / Output $0.441114 tok/s99.97% uptimePriority+11 more label- Input $0.04368 / Output $0.70108 tok/s99.97% uptime
- Input $0.15 / Output $1.20186 tok/s99.94% uptime
- Input $0.104 / Output $0.583125 tok/s98.18% uptime
- Input $0.07272 / Output $0.108117 tok/s99.82% uptime
Input $0.30 / Output $1.20179 tok/s99.72% uptime- Input $0.07272 / Output $0.108110 tok/s99.80% uptime
- Input $0.29 / Output $1.20202 tok/s100.00% uptime
- Input $0.08 / Output $0.60599 tok/s100.00% uptime
- Input $0.104 / Output $0.583100 tok/s100.00% uptimeFast
- Input $0.25 / Output $1.00141 tok/s100.00% uptime
- Input $0.30 / Output $1.20207 tok/s99.95% uptime
- Input $0.10 / Output $0.60102 tok/s99.97% uptime
Input $0.30 / Output $1.20188 tok/s99.92% uptime- Input $0.08 / Output $0.60587 tok/s99.97% uptime
- Input $0.18 / Output $0.68109 tok/s99.29% uptime
- Input $0.165 / Output $0.6645% off107 tok/s100.00% uptime
- Input $0.30 / Output $1.20165 tok/s100.00% uptime
- Input $0.18 / Output $0.7240% off176 tok/s99.71% uptime
- Input $0.30 / Output $1.20127 tok/s100.00% uptime
- Input $0.16 / Output $1.10107 tok/s99.76% uptime
- Input $0.111 / Output $0.44463% off58 tok/s100.00% uptime
Input $0.45 / Output $1.80170 tok/s99.97% uptime- Input $0.30 / Output $0.5574 tok/s99.82% uptime
Input $0.21 / Output $0.8492 tok/s96.65% uptime- Input $0.30 / Output $1.20105 tok/s100.00% uptime
- Input $0.30 / Output $1.2099 tok/s99.83% uptime
Input $0.30 / Output $1.2047 tok/s100.00% uptime- Input $0.195 / Output $0.7886 tok/s99.97% uptime
Input $0.24 / Output $0.96150 tok/s98.47% uptime
Input $0.15 / Output $0.60128 tok/s100.00% uptime- Input $0.60 / Output $2.40471 tok/s99.52% uptimeFast
- Not used in Standard routing:Why these endpoints are not used
- Input $0.03 / Output $0.25106 tok/s100.00% uptimeFlex
- Input $0.0775 / Output $0.2325134 tok/s99.95% uptimeFlex
Input $0.0784 / Output $0.235273 tok/s81.75% uptimeFlex+11 more label
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 1017 — Price history
| $0.00443 | $0.700 | 95.1% | 3.1% | ||
| $0.00647 | $0.312 | 97.1% | 19.7% | ||
| $0.00697 | $0.600 | 97.3% | 19.4% | ||
| $0.00849 | $0.600 | 94.3% | 0.7% | ||
| $0.00852 | $0.420 | 93.8% | 2.5% | ||
| $0.00940 | $0.800 | 94.7% | 1.7% | ||
| $0.00959 | $0.500 | 94.4% | 3.9% | ||
| $0.01004 | $0.480 | 93.5% | 1.4% | ||
| $0.01050 | $0.500 | 93.4% | 2.1% | ||
| $0.01101 | $0.441 | 95.4% | 1.9% | ||
| $0.01139 | $0.108 | 93.3% | 0.7% | ||
| $0.01142 | $0.108 | 93.3% | 0.9% | ||
| $0.01143 | $0.582 | 93.5% | 0.6% | ||
| $0.01190 | $0.500 | 93.2% | 5.6% | ||
| $0.01227 | $0.500 | 93.7% | 2.7% | ||
| $0.01271 | $0.670 | 94.2% | 1.2% | ||
| $0.01439 | $0.404 | 87.5% | 1.2% | ||
| $0.01519 | $0.550 | 96.9% | 0.2% | ||
| $0.01535 | $0.720 | 94.6% | 3.0% | ||
| $0.01540 | $0.604 | 89.7% | 0.8% | ||
| $0.01557 | $0.780 | 93.9% | 0.1% | ||
| $0.01563 | $0.604 | 89.4% | 5.1% | ||
| $0.01615 | $0.444 | 87.2% | 0.1% | ||
| $0.01769 | $0.720 | 92.0% | 0.2% | ||
| $0.01899 | $0.500 | 82.0% | 0.7% | ||
| $0.01969 | $0.680 | 92.1% | 0.1% | ||
| $0.02063 | $1.200 | 95.0% | 6.1% | ||
| $0.02064 | $0.571 | 83.6% | 2.8% | ||
| $0.02077 | $1.200 | 89.7% | 0.6% | ||
| $0.02094 | $1.000 | 93.5% | 0.6% | ||
| $0.02144 | $1.100 | 91.1% | 0.0% | ||
| $0.02152 | $0.793 | 90.8% | 0.5% | ||
| $0.02515 | $1.200 | 93.8% | 1.4% | ||
| $0.02525 | $0.661 | 86.5% | 0.4% | ||
| $0.02759 | $1.200 | 92.7% | 1.8% | ||
| $0.02814 | $0.620 | 91.1% | 1.0% | ||
| $0.03103 | $0.959 | 88.8% | 0.0% | ||
| $0.03127 | $1.200 | 91.4% | 1.1% | ||
| $0.03480 | $1.200 | 90.2% | 0.4% | ||
| $0.04530 | $1.200 | 86.9% | 0.2% | ||
| $0.04688 | $1.200 | 86.5% | 0.0% | ||
| $0.04742 | $1.200 | 85.9% | 0.4% | ||
| $0.05317 | $1.799 | 90.0% | 0.5% | ||
| $0.06789 | $1.200 | 78.9% | 0.0% | ||
Fast | $0.10146 | $2.399 | 85.1% | 0.3% | |
| $0.15120 | $1.200 | 50.6% | 0.1% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
| $0.00611 | $0.237 | 95.2% | 0.3% | ||
Flex | $0.00844 | $0.232 | 91.9% | 0.3% | |
| $0.00881 | $0.249 | 84.6% | 1.8% | ||
- Effective in $0.00443 / Effective out $0.700Token share3.1%
- Effective in $0.00647 / Effective out $0.312Token share19.7%
- Effective in $0.00697 / Effective out $0.600Token share19.4%
- Effective in $0.00849 / Effective out $0.600Token share0.7%
- Effective in $0.00852 / Effective out $0.420Token share2.5%
- Effective in $0.00940 / Effective out $0.800Token share1.7%
- Effective in $0.00959 / Effective out $0.500Token share3.9%
- Effective in $0.01004 / Effective out $0.480Token share1.4%
- Effective in $0.01050 / Effective out $0.500Token share2.1%
- Effective in $0.01101 / Effective out $0.441PriorityToken share1.9%
- Effective in $0.01139 / Effective out $0.108Token share0.7%
- Effective in $0.01142 / Effective out $0.108Token share0.9%
- Effective in $0.01143 / Effective out $0.582FastToken share0.6%
- Effective in $0.01190 / Effective out $0.500Token share5.6%
- Effective in $0.01227 / Effective out $0.500Token share2.7%
- Effective in $0.01271 / Effective out $0.670Token share1.2%
- Effective in $0.01439 / Effective out $0.404Token share1.2%
- Effective in $0.01519 / Effective out $0.550Token share0.2%
- Effective in $0.01535 / Effective out $0.720Token share3.0%
- Effective in $0.01540 / Effective out $0.604Token share0.8%
- Effective in $0.01557 / Effective out $0.780Token share0.1%
- Effective in $0.01563 / Effective out $0.604Token share5.1%
- Effective in $0.01615 / Effective out $0.444Token share0.1%
- Effective in $0.01769 / Effective out $0.720Token share0.2%
- Effective in $0.01899 / Effective out $0.500Token share0.7%
- Effective in $0.01969 / Effective out $0.680Token share0.1%
- Effective in $0.02063 / Effective out $1.200Token share6.1%
- Effective in $0.02064 / Effective out $0.571Token share2.8%
- Effective in $0.02077 / Effective out $1.200Token share0.6%
- Effective in $0.02094 / Effective out $1.000Token share0.6%
- Effective in $0.02144 / Effective out $1.100Token share0.0%
- Effective in $0.02152 / Effective out $0.793Token share0.5%
- Effective in $0.02515 / Effective out $1.200Token share1.4%
- Effective in $0.02525 / Effective out $0.661Token share0.4%
- Effective in $0.02759 / Effective out $1.200Token share1.8%
- Effective in $0.02814 / Effective out $0.620Token share1.0%
- Effective in $0.03103 / Effective out $0.959Token share0.0%
- Effective in $0.03127 / Effective out $1.200Token share1.1%
- Effective in $0.03480 / Effective out $1.200Token share0.4%
- Effective in $0.04530 / Effective out $1.200Token share0.2%
- Effective in $0.04688 / Effective out $1.200Token share0.0%
- Effective in $0.04742 / Effective out $1.200Token share0.4%
- Effective in $0.05317 / Effective out $1.799Token share0.5%
- Effective in $0.06789 / Effective out $1.200Token share0.0%
- Effective in $0.10146 / Effective out $2.399FastToken share0.3%
- Effective in $0.15120 / Effective out $1.200Token share0.1%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.00611 / Effective out $0.237FlexToken share0.3%
- Effective in $0.00844 / Effective out $0.232FlexToken share0.3%
- Effective in $0.00881 / Effective out $0.249FlexToken share1.8%
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 1017 (High) Intelligence Index | 28.6 |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (High) Terminal-Bench 4.0 | 28.8% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (High) AA-Omniscience Accuracy | 38.9% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (High) AA-Omniscience Non-Hallucination Rate | 38.8% |
| Artificial Analysis | DeepSeek V4.1 Flash (Max) HLE | 39.2% |
| Artificial Analysis | DeepSeek V4.1 Flash (Max) AA-LCR | 84.0% |
| Artificial Analysis | DeepSeek V4.1 Flash (Max) GDPval-AA | 55.0% |
| Artificial Analysis | DeepSeek V4.1 Flash (Max) CritPt | 14.3% |
| Artificial Analysis | DeepSeek V4.1 Flash (Max) SciCode | 51.9% |
| Artificial Analysis | DeepSeek V4.1 Flash (Max) Terminal-Bench 4.0 | 26.8% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) Intelligence Index | 18.5 |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) HLE | 11.5% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) AA-LCR | 57.3% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) CritPt | 0.3% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) SciCode | 38.5% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) Terminal-Bench 4.0 | 9.1% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) AA-Omniscience Accuracy | 21.9% |
| Artificial Analysis | DeepSeek V4.1 Flash 1017 (Non-reasoning) AA-Omniscience Non-Hallucination Rate | 74.7% |
| Design Arena | DeepSeek-V4.1-Flash (1017) Agents Arena Spreadsheet Elo | 1263 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena 3D Elo | 1343 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena Asciiart Elo | 1231 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena Code Categories Elo | 1286 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena Data Visualization Elo | 1264 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena Game Development Elo | 1251 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena SVG Elo | 1245 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena UI Component Elo | 1283 |
| Design Arena | DeepSeek-V4.1-Flash (1017) Models Arena Website Elo | 1294 |
| Vals AI | DeepSeek V4.1 Flash 1017 Access to Justice Benchmark | 73.1% |
| Vals AI | DeepSeek V4.1 Flash 1017 Code Migration v1.1 | 67.5% |
| Vals AI | DeepSeek V4.1 Flash 1017 CyberOffense | 54.8% |
| Vals AI | DeepSeek V4.1 Flash 1017 EMB v1.1 | 69.2% |
| Vals AI | DeepSeek V4.1 Flash 1017 Finance Agent v2.1 | 62.9% |
| Vals AI | DeepSeek V4.1 Flash 1017 Vals Finance Index | 60.9% |
| Vals AI | DeepSeek V4.1 Flash 1017 HLAB-Vals-1.1 | 14.2% |
| Vals AI | DeepSeek V4.1 Flash 1017 Vals Legal Index | 71.9% |
| Vals AI | DeepSeek V4.1 Flash 1017 Legal Research Bench | 45.2% |
| Vals AI | DeepSeek V4.1 Flash 1017 Tax Agent Bench | 44.4% |
| Vals AI | DeepSeek V4.1 Flash 1017 Terminal-Bench 4.0 | 31.8% |
| Vals AI | DeepSeek V4.1 Flash 1017 Vals Index | 61.3% |
| Vals AI | DeepSeek V4.1 Flash 1017 Vibe Code Bench 1-100 v1.1 | 26.2% |
| Vals AI | DeepSeek V4.1 Flash 1017 Vibe Code Bench v1.1 | 87.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 1017 on OpenRouter.
Frequently asked questions
DeepSeek V4.1 Flash 1017 is the October 17, 2026 snapshot of DeepSeek V4.1 Flash, served by DeepSeek under the deepseek-flash API model name. 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.
The DeepSeek V4.1 Flash 1017 documentation on OpenRouter includes 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 1017 costs $0.038/M input tokens and $0.50/M output tokens, with separate rates for Cache Read at $0.01/M tokens.
DeepSeek V4.1 Flash 1017 has a 1,048,576 token context window. It supports up to 1,048,576 completion tokens.
Yes. DeepSeek V4.1 Flash 1017 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
DeepSeek V4.1 Flash 1017 accepts text and images as input and returns text.
DeepSeek V4.1 Flash 1017 is served by 38 providers on OpenRouter: Particle AI, Wafer, Prime Intellect, Open Inference, Sail Research, Ionstream, DeepInfra, inference.net and 30 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 1017 was released on October 17, 2026.