The wheel hub motor (also called wheel motor, wheel hub drive, hub motor or in-wheel motor) is an electric motor that is incorporated into the hub of a wheel and drives it directly.
The horsepower required for an electric motorcycle motor depends on various factors such as the size, weight, and intended use of the motorcycle. Generally, a mid-range electric motorcycle motor would have a power output of around 30-50 horsepower, while high-performance electric motorcycles can exceed 100 horsepower.
Hub motors often rely on cadence sensors for pedal assist, which only regulate motor speed based on pedal speed, and can cause jerky or awkward motor timing, especially when hill climbing or moving the bicycle around obstacles.
If you want better performance, pick-up, better motor condensation, and a vehicle for long rides, then a belt-driven one would be a better pick. However, the belt-driven vehicles are a bit costlier to maintain and make more noise when compared to the hub motor.