How much does DeepSeek V4.1 Flash 1017 Fast cost on Modal?
DeepSeek V4.1 Flash 1017 Fast costs $0.50 per million input tokens, $0.01 per million cached input tokens, and $2.00 per million output tokens.
The examples below use illustrative token counts for coding agents and assume 95% of input tokens are cache hits.
| Workload | Input / output tokens | DeepSeek V4.1 Flash 1017 Fast | DeepSeek V4.1 Flash 1017 |
|---|---|---|---|
| Live coding agent session | 3M / 75K | $0.25 | $0.13 |
| Background agent from issue to pull request | 30M / 200K | $1.44 | $0.72 |
| Automated review of 100 pull requests | 50M / 1M | $3.73 | $1.86 |
Actual costs depend on token usage and cache hits.
Use DeepSeek V4.1 Flash 1017 Fast in your coding agent
Modal is supported natively in coding harnesses like Claude Code, Codex, OpenCode, Omp, and Hermes Agent. You can access DeepSeek V4.1 Flash 1017 Fast or any other model supported in Model APIs. See the setup steps for each agent.



