could be a number of things /pipe too restrictive/ air cleaner too restrictive/throttle plate adjustment,but it should rev higher than that at 1/4 throttle/way too rich/no fuel tank vent ,this mostly only causes problems after a few min of running/engine timing ,did the key drop out when installing the flywheel/coil failure ,rare but possible/spark plug gap ,too large will retard timing /poor fuel/coil air gap,to large will retard timing/kill switch/ then you have all the internal mechanical possibilities ,transfer port to crankcase alignment,I have seen the base gasket installed backwards blocking the ports/compression too high, will lower RPM/poor compression,would be hard to start /crankshaft out of faze ,causes vibration and a huge loss of power/crankcase air leaks , mostly causes poor Idle / a bad carb ,try a different one if you have one.cheers Roger