Heat level 8. Sometimes maybe heat level 7. I can't find the thread right now.
But keep in mind that the 5-star weapon may have other advantages, such as a charge attack with more projectiles or explosions. I usually advise people to upgrade to 5 stars when they have enough Radiants to heat the weapon to at least heat level 5, and preferably heat level 7 or 8.