Ferrite is an ordinary magnet with general magnetism.
Sm-Co is a kind of high temperature resistant magnet, which has good magnetism and can be comparable to NdFeB, but it is easy to break.
Al-Ni-Co is a kind of high temperature resistant magnet, but its magnetism is very weak, so it is generally used in high-end technology.
The order from strong to weak is: NdFeB, samarium cobalt, ferrite, Al-Ni-Co.
If it is applied to a motor, it depends on what motor you use. NdFeB is generally used for motors, but ferrite and samarium cobalt are also used, and Al-Ni-Co is rarely used.
If you want to buy magnets, I recommend you a place: Foshan Yang Yang Magnetic Materials.