How much does DeepSeek V4.1 Flash 1017 cost on Modal?
DeepSeek V4.1 Flash 1017 costs $0.25 per million input tokens, $0.005 per million cached input tokens, and $1.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 | DeepSeek V4.1 Flash |
|---|---|---|---|
| Live coding agent session | 3M / 75K | $0.13 | $0.22 |
| Background agent from issue to pull request | 30M / 200K | $0.72 | $1.55 |
| Automated review of 100 pull requests | 50M / 1M | $1.86 | $3.38 |
Actual costs depend on token usage and cache hits. Estimates use Modal’s current pricing.
Use DeepSeek V4.1 Flash 1017 in your coding agent
Modal is supported natively in coding harnesses like Claude Code, Codex, OpenCode, Omp, and Hermes Agent. You can use DeepSeek V4.1 Flash 1017 or any other model supported in Model APIs. See the setup steps for each agent.



