Hello,
First of all, you should watch what kind of protocol support your m.2 port, like NVME or SATA. Probably it will be NVME, so then, look for some NVME with read and write data transfer speed between 2400 and 3000 mb/s, and it will be perfect and enough for every game and software.
For compare differents m.2 ssd, you should look at data transfer rate, capacity (this depends on what you need) and, TBW (TeraBytes Written) cause this represent the endurability (more less) of the device.
I hoe I'll help you a little bit.
Regards