edX and Coursera both offer cheap or free online graduate courses, many from top universities like MIT, Duke, and the University of Michigan. edX MicroMasters and Coursera MasterTracks are bite-sized portions of master's degree programs. They can be used to build stand-alone skills to advance your career or as a stepping stone to a full master's program. We compared MicroMasters and MasterTracks for you here. Overall, the deciding factor will be the program itself. But generally, edX's offerings are cheaper, have more options, and are more lenient than Coursera's.
https://www.businessinsider.com/edx-micromaster-vs-coursera-mastertrack-online-masters-programs