Those direct drive motors come in many variations. They look the same from the outside but have different windings and magnets. The same applies to geared hub-motors.
Motor's don't have torque or power. They convert what the controller gives them. If a motor is too fast for the power you give it, it works inefficiently and makes a lot of heat for itself and the controller.
When choosing a motor, the most important characteristic is the maximum RPM, which needs to be about 1.3 times your planned modal riding speed, so you choose a 260 rpm motor for 15 mph riding (26" wheel) and 320 RPM for 20 mph, then you choose a controller that gives the motor enough power to deal with those speeds while considering your weight, how hard you pedal and the steepness of your hills.