Soft or hard bolts for exhaust flange?

For exhaust use hardened. Minimum grade five, preferred grade 8.