It highly depends on the task. So far, on the tasks I personally benchmark, DS v4.1 Flash @ deepinfra.com is always cheaper because their cached input price for it is so very low and their cache hit rate is so very high.
I really want to see some comparison on deepseek 4.1 flash 1017 providers, like, what's more trustworthy to not quantize without disclosing it, etc
also I can't find the official DeepSeek provider on openrouter https://openrouter.ai/deepseek/deepseek-v4.1-flash-1017