The issue with the Mini 2014 PCIe SSD is that there isn't that much of a performance increase over an internal SATA SSD. The people posting their results of the Blackmagic benchmark in this forum get may somewhere in the 600's-700's MB/sec. (if anybody gets more, say in the 800+ range, it would nice if you posted). My Crucial M500 gets in the mid-high 400 MB/sec in my 2014 Mini. A big reason for this is that the 2014 Mini has a PCIe 2-lane vs. 4-lane. If you have a good 4-lane PCIe SSD in a computer with a 4-lane PCIe interface, you can get 1700-1800MB/sec.
The other side of this is that there are issues with the alternatives:
1) Buy a used Apple SSD (keep in mind Apple stopped using these in 2015) - if you get one with a high erase/write cycle count, it won't last long.
2) Get a standard PCIe NVMe SSD. You have to get an adapter (as mentioned in post #2) and use High Sierra. I haven't seen people using an adapter in the 2014 Mini in this forum. To get an idea of the issues involved in doing this on the MacBook Pro, see:
https://forums.macrumors.com/threads/upgrading-2013-2014-macbook-pro-ssd-to-m-2-nvme.2034976/
3) Get one of the recent SSD's (Transcend JetDrive 820 or OWC Aura Pro X) which don't require an adapter. The OWC will require High Sierra (probably the JetDrive as well). Transcend says the JetDrive will work in the Mini, OWC does not list the Mini as being compatible (it probably will work but if doesn't, OWC may not take it back).
EDIT: I should have said that Apple stopped using the PCIe SSD's used in the 2014 Mini in models introduced after 2015, not that they stopped using them in 2015. You can still get a SSD for the 2014 Mini if you buy it from Apple (as part of the Mini, not separately). It's also not clear whether their the 2017 iMac's use the exact same SSD or an updated model, but it's not likely you'll find SSD's taken from the iMac since it's so difficult to take apart.