welding a fireplace grate?

Post heat is just as important. Cast should be around 400f preheat, then cool in vermiculite, sand or wrap it in ceramic blanket. If you have a buddy that can be ready with a torch as soon as you get done welding would be "grate" pun intended. That thin piece will lose heat quickly and start to spiderweb crack.