I've built 20+ yfz motors, 15+ Raptor motors. Both bikes will have glowing red pipes from hard 100% load runs, the stock exhaust tubing is very thin. Aftermarket exhaust should stop that, but it also has to be upjetted for the exhaust.
Stock yfz is a 155 main jet
Should jet to a 176 or so with a pipe and K&N.
210+ for built motors, but they should be dyno'd.