How come Dirk, Dave, and Terezi didn't need gas masks on LOTAK (that's Dirk's planet right?)? You could say because they were god tier but terezi wasn't.

It’s because they were on top of the buildings. Krypton is denser than your average air so it sinks. They’d only need the masks if they went to the surface.