
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.4800 | $0.002400 | 0.58s | 155 tok/s | ||
65% off | $0.30$0.10500 | $1.20$0.4200 | $0.006$0.002100 | 0.73s | 136 tok/s | |
| $0.15000 | $0.5000 | $0.003000 | 0.61s | 141 tok/s | ||
| $0.12000 | $0.5000 | $0.003000 | 0.66s | 148 tok/s | ||
| $0.18000 | $0.7200 | $0.006000 | 0.68s | 174 tok/s | ||
| $0.21$0.10500 | $0.84$0.4200 | $0.0042$0.002100 | 0.98s | 122 tok/s | ||
| $0.06600 | $0.5000 | $0.006500 | 0.56s | 155 tok/s | ||
| $0.07000 | $0.8000 | $0.006000 | 0.95s | 152 tok/s | ||
| $0.03800 | $0.5000 | $0.010000 | 0.51s | 149 tok/s | ||
65% off | $0.28$0.09772 | $1.13$0.3944 | $0.006$0.002094 | 0.90s | 118 tok/s | |
| $0.07272 | $0.1080 | $0.007000 | 2.00s | 123 tok/s | ||
| $0.06000 | $0.5000 | $0.010000 | 0.62s | 122 tok/s | ||
| $0.07272 | $0.1080 | $0.007000 | 1.83s | 116 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.51s | 205 tok/s | ||
| $0.04368 | $0.7000 | $0.002400 | 1.01s | 107 tok/s | ||
| $0.25000 | $1.0000 | $0.005000 | 0.76s | 147 tok/s | ||
| $0.21000 | $0.6200 | $0.010500 | 0.65s | 152 tok/s | ||
| $0.08000 | $0.6050 | $0.008000 | 0.24s | 103 tok/s | ||
| $0.29000 | $1.2000 | $0.007000 | 0.48s | 202 tok/s | ||
63% off | $0.30$0.11100 | $1.20$0.4440 | $0.006$0.002220 | 1.45s | 104 tok/s | |
| $0.20$0.09800 | $0.60$0.2940 | $0.006$0.002940 | 1.27s | 88 tok/s | ||
| $0.10400 | $0.5830 | $0.005000 | 0.71s | 115 tok/s | ||
| $0.10400 | $0.5830 | $0.005000 | 0.79s | 99 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.78s | 179 tok/s | ||
| $0.30$0.14700 | $0.90$0.4410 | $0.009$0.004410 | 1.37s | 95 tok/s | ||
| $0.30000 | $1.2000 | $0.007000 | 1.15s | 190 tok/s | ||
| $0.08000 | $0.6050 | $0.008000 | 0.29s | 89 tok/s | ||
| $0.15000 | $1.2000 | $0.006000 | 0.93s | 147 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.44s | 212 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.54s | 135 tok/s | ||
| $0.18000 | $0.6800 | $0.006000 | 1.29s | 91 tok/s | ||
| $0.10000 | $0.6000 | $0.003000 | 2.22s | 89 tok/s | ||
40% off | $0.30$0.18000 | $1.20$0.7200 | $0.006$0.003600 | 0.73s | 158 tok/s | |
| $0.16000 | $1.1000 | $0.008000 | 0.74s | 96 tok/s | ||
45% off | $0.30$0.16500 | $1.20$0.6600 | $0.006$0.003300 | 1.37s | 87 tok/s | |
| $0.30000 | $1.2000 | $0.007000 | 0.64s | 127 tok/s | ||
| $0.30000 | $0.5500 | $0.006000 | 1.04s | 69 tok/s | ||
| $0.45000 | $1.8000 | $0.009000 | 0.43s | 198 tok/s | ||
| $0.30000 | $1.2000 | $0.007500 | 0.75s | 144 tok/s | ||
| $0.21000 | $0.8400 | $0.004200 | 2.36s | 62 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 1.54s | 104 tok/s | ||
| $0.30000 | $1.2000 | $0.006000 | 0.56s | 45 tok/s | ||
| $0.19500 | $0.7800 | $0.003900 | 2.87s | 78 tok/s | ||
| $0.24000 | $0.9600 | $0.004800 | 0.52s | 150 tok/s | ||
| $0.15000 | $0.6000 | $0.003000 | 1.20s | 121 tok/s | ||
Fast | $0.60000 | $2.4000 | $0.014000 | 0.32s | 484 tok/s | |
Not used in Standard routing:Why these endpoints are not used | ||||||
| $0.03000 | $0.2500 | $0.005000 | 0.58s | 114 tok/s | ||
Flex | $0.07750 | $0.2325 | $0.002325 | 0.64s | 192 tok/s | |
| $0.16$0.07840 | $0.48$0.2352 | $0.0048$0.002352 | -- | -- | ||
- Input $0.12 / Output $0.48155 tok/s100.00% uptime
- Input $0.105 / Output $0.4265% off136 tok/s100.00% uptime
Input $0.15 / Output $0.50141 tok/s100.00% uptime- Input $0.12 / Output $0.50148 tok/s99.97% uptime
- Input $0.18 / Output $0.72174 tok/s100.00% uptime
- Input $0.105 / Output $0.42122 tok/s98.68% uptime
- Input $0.066 / Output $0.50155 tok/s100.00% uptime
- Input $0.07 / Output $0.80152 tok/s100.00% uptime
- Input $0.038 / Output $0.50149 tok/s100.00% uptime
- Input $0.09772 / Output $0.394465% off118 tok/s99.21% uptime
- Input $0.07272 / Output $0.108123 tok/s99.81% uptime
- Input $0.06 / Output $0.50122 tok/s99.97% uptime
- Input $0.07272 / Output $0.108116 tok/s99.78% uptime
- Input $0.30 / Output $1.20205 tok/s99.52% uptime
- Input $0.04368 / Output $0.70107 tok/s99.97% uptime
- Input $0.25 / Output $1.00147 tok/s100.00% uptime
- Input $0.21 / Output $0.62152 tok/s98.47% uptime
- Input $0.08 / Output $0.605103 tok/s100.00% uptime
- Input $0.29 / Output $1.20202 tok/s100.00% uptime
- Input $0.111 / Output $0.44463% off104 tok/s100.00% uptime
Input $0.098 / Output $0.29451% off88 tok/s99.92% uptime- Input $0.104 / Output $0.583115 tok/s98.08% uptime
- Input $0.104 / Output $0.58399 tok/s100.00% uptimeFast
Input $0.30 / Output $1.20179 tok/s99.92% uptime
Input $0.147 / Output $0.44195 tok/s99.97% uptimePriority+11 more label
Input $0.30 / Output $1.20190 tok/s99.71% uptime- Input $0.08 / Output $0.60589 tok/s99.97% uptime
- Input $0.15 / Output $1.20147 tok/s99.94% uptime
- Input $0.30 / Output $1.20212 tok/s99.94% uptime
- Input $0.30 / Output $1.20135 tok/s100.00% uptime
- Input $0.18 / Output $0.6891 tok/s99.25% uptime
- Input $0.10 / Output $0.6089 tok/s99.97% uptime
- Input $0.18 / Output $0.7240% off158 tok/s99.69% uptime
- Input $0.16 / Output $1.1096 tok/s99.75% uptime
- Input $0.165 / Output $0.6645% off87 tok/s100.00% uptime
- Input $0.30 / Output $1.20127 tok/s100.00% uptime
- Input $0.30 / Output $0.5569 tok/s99.81% uptime
Input $0.45 / Output $1.80198 tok/s99.97% uptime- Input $0.30 / Output $1.20144 tok/s100.00% uptime
Input $0.21 / Output $0.8462 tok/s96.48% uptime- Input $0.30 / Output $1.20104 tok/s99.83% uptime
Input $0.30 / Output $1.2045 tok/s100.00% uptime- Input $0.195 / Output $0.7878 tok/s99.97% uptime
Input $0.24 / Output $0.96150 tok/s98.33% uptime
Input $0.15 / Output $0.60121 tok/s100.00% uptime- Input $0.60 / Output $2.40484 tok/s99.50% uptimeFast
- Not used in Standard routing:Why these endpoints are not used
- Input $0.03 / Output $0.25114 tok/s100.00% uptimeFlex
- Input $0.0775 / Output $0.2325192 tok/s99.94% uptimeFlex
Input $0.0784 / Output $0.2352-- tok/s83.18% 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.00442 | $0.700 | 95.1% | 3.0% | ||
| $0.00647 | $0.312 | 97.1% | 20.4% | ||
| $0.00707 | $0.600 | 97.2% | 18.7% | ||
| $0.00864 | $0.600 | 94.2% | 0.7% | ||
| $0.00868 | $0.420 | 93.6% | 2.5% | ||
| $0.00951 | $0.800 | 94.5% | 1.5% | ||
| $0.00953 | $0.500 | 94.4% | 4.0% | ||
| $0.01054 | $0.500 | 93.3% | 2.2% | ||
| $0.01057 | $0.480 | 93.0% | 1.1% | ||
| $0.01114 | $0.441 | 95.3% | 2.0% | ||
| $0.01132 | $0.108 | 93.4% | 0.9% | ||
| $0.01134 | $0.108 | 93.4% | 0.8% | ||
| $0.01136 | $0.582 | 93.6% | 0.6% | ||
| $0.01194 | $0.500 | 93.0% | 5.5% | ||
| $0.01244 | $0.500 | 93.6% | 2.7% | ||
| $0.01433 | $0.779 | 94.5% | 0.1% | ||
| $0.01470 | $0.406 | 87.2% | 1.2% | ||
| $0.01496 | $0.747 | 94.0% | 1.0% | ||
| $0.01508 | $0.550 | 96.9% | 0.2% | ||
| $0.01516 | $0.604 | 90.0% | 0.9% | ||
| $0.01527 | $0.720 | 94.7% | 3.1% | ||
| $0.01562 | $0.604 | 89.4% | 5.1% | ||
| $0.01621 | $0.444 | 87.1% | 0.1% | ||
| $0.01846 | $0.500 | 83.0% | 0.8% | ||
| $0.01970 | $1.200 | 90.5% | 0.7% | ||
| $0.02000 | $0.569 | 84.1% | 2.9% | ||
| $0.02027 | $0.787 | 91.4% | 0.6% | ||
| $0.02093 | $1.000 | 93.5% | 0.6% | ||
| $0.02105 | $1.199 | 94.9% | 5.9% | ||
| $0.02132 | $0.680 | 91.2% | 0.1% | ||
| $0.02235 | $0.720 | 89.4% | 0.1% | ||
| $0.02453 | $1.100 | 89.1% | 0.0% | ||
| $0.02535 | $1.200 | 93.7% | 1.4% | ||
| $0.02634 | $0.661 | 85.8% | 0.4% | ||
| $0.02689 | $1.200 | 92.9% | 2.1% | ||
| $0.02812 | $0.620 | 91.2% | 1.0% | ||
| $0.03217 | $0.959 | 88.4% | 0.0% | ||
| $0.03240 | $1.200 | 91.0% | 1.1% | ||
| $0.04620 | $1.200 | 86.3% | 0.2% | ||
| $0.04635 | $1.200 | 86.6% | 0.2% | ||
| $0.04858 | $1.200 | 85.5% | 0.4% | ||
| $0.05134 | $1.200 | 84.6% | 0.0% | ||
| $0.05267 | $1.799 | 90.1% | 0.5% | ||
| $0.05275 | $1.200 | 84.5% | 0.0% | ||
Fast | $0.10080 | $2.399 | 85.2% | 0.3% | |
| $0.14278 | $1.200 | 53.5% | 0.1% | ||
Not used in Standard routing:Why these endpoints are not used | |||||
Flex | $0.00849 | $0.232 | 91.8% | 0.2% | |
| $0.00876 | $0.249 | 84.8% | 1.7% | ||
| $0.00550 | $0.237 | 96.0% | 0.3% | ||
- Effective in $0.00442 / Effective out $0.700Token share3.0%
- Effective in $0.00647 / Effective out $0.312Token share20.4%
- Effective in $0.00707 / Effective out $0.600Token share18.7%
- Effective in $0.00864 / Effective out $0.600Token share0.7%
- Effective in $0.00868 / Effective out $0.420Token share2.5%
- Effective in $0.00951 / Effective out $0.800Token share1.5%
- Effective in $0.00953 / Effective out $0.500Token share4.0%
- Effective in $0.01054 / Effective out $0.500Token share2.2%
- Effective in $0.01057 / Effective out $0.480Token share1.1%
- Effective in $0.01114 / Effective out $0.441PriorityToken share2.0%
- Effective in $0.01132 / Effective out $0.108Token share0.9%
- Effective in $0.01134 / Effective out $0.108Token share0.8%
- Effective in $0.01136 / Effective out $0.582FastToken share0.6%
- Effective in $0.01194 / Effective out $0.500Token share5.5%
- Effective in $0.01244 / Effective out $0.500Token share2.7%
- Effective in $0.01433 / Effective out $0.779Token share0.1%
- Effective in $0.01470 / Effective out $0.406Token share1.2%
- Effective in $0.01496 / Effective out $0.747Token share1.0%
- Effective in $0.01508 / Effective out $0.550Token share0.2%
- Effective in $0.01516 / Effective out $0.604Token share0.9%
- Effective in $0.01527 / Effective out $0.720Token share3.1%
- Effective in $0.01562 / Effective out $0.604Token share5.1%
- Effective in $0.01621 / Effective out $0.444Token share0.1%
- Effective in $0.01846 / Effective out $0.500Token share0.8%
- Effective in $0.01970 / Effective out $1.200Token share0.7%
- Effective in $0.02000 / Effective out $0.569Token share2.9%
- Effective in $0.02027 / Effective out $0.787Token share0.6%
- Effective in $0.02093 / Effective out $1.000Token share0.6%
- Effective in $0.02105 / Effective out $1.199Token share5.9%
- Effective in $0.02132 / Effective out $0.680Token share0.1%
- Effective in $0.02235 / Effective out $0.720Token share0.1%
- Effective in $0.02453 / Effective out $1.100Token share0.0%
- Effective in $0.02535 / Effective out $1.200Token share1.4%
- Effective in $0.02634 / Effective out $0.661Token share0.4%
- Effective in $0.02689 / Effective out $1.200Token share2.1%
- Effective in $0.02812 / Effective out $0.620Token share1.0%
- Effective in $0.03217 / Effective out $0.959Token share0.0%
- Effective in $0.03240 / Effective out $1.200Token share1.1%
- Effective in $0.04620 / Effective out $1.200Token share0.2%
- Effective in $0.04635 / Effective out $1.200Token share0.2%
- Effective in $0.04858 / Effective out $1.200Token share0.4%
- Effective in $0.05134 / Effective out $1.200Token share0.0%
- Effective in $0.05267 / Effective out $1.799Token share0.5%
- Effective in $0.05275 / Effective out $1.200Token share0.0%
- Effective in $0.10080 / Effective out $2.399FastToken share0.3%
- Effective in $0.14278 / Effective out $1.200Token share0.1%
- Not used in Standard routing:Why these endpoints are not used
- Effective in $0.00849 / Effective out $0.232FlexToken share0.2%
- Effective in $0.00876 / Effective out $0.249FlexToken share1.7%
- Effective in $0.00550 / Effective out $0.237FlexToken share0.3%
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.