Depends on the kind of maintenance you want to have to do as well.
A 2 stroke race engine will require frequentaintenance and rebuilds.
A 4 stroke pit bike engine is designed just to run. Granted, they don't run as hard, but they're way cheaper than to keep up.
true,
but it's not that bad as race kart engines..
not nearly!
take a cr125 for example.. (42 horses)
the only close maintenance schedule is the reed valve, transmission oil and the spark plug.
two of which are about as difficult as picking a nose;
the other as difficult as removing the carb.
the piston pin and it's bearing is due every 22hrs (machine hours that is)
Not great, but not too bad either.
Road legal bikes (say older Aprilia AF1 Futuras or Honda NSR125s)
are fine with even longer maintenance cycles.
~26 hrs until you need a screwdriver
(at the price of ~10horses less [32hp or 35hp])
not much inferior than any four stroke
(Lifan has a 30hr maintenance cycle on the 200cc air cooled five speed 16horse IIRC)
That's why I said to keep it between 22 and 35 horses
'sid