When you add up the component costs for RPi with NVMe, suitable case, cooling and power supply, it is not much cheaper than a mini PC which generally outperforms the RPi.
I use several RPis of various models. But there are times when even an old Intel/AMD laptop is a more suitable solution.
replies(2):