Herein, we show that thin films of MAPbI3, FAPbI3, (CsMA)PbI3, and (CsMAFA)PbI3, where MA and FA are methylammonium and formamidinium cations, respectively, tolerate ultrahigh doses of γ rays approaching 10 MGy without significant changes in their absorption spectra. However, among the studied materials, FAPbI3 was the only one that did not form metallic lead due to its extreme radiation hardness. Infrared near-field optical microscopy revealed the radiation-induced depletion of organic cations from the grains of MAPbI3 and their accumulation at the grain boundaries, whereas FAPbI3 on the contrary lost FA cations from the grain boundaries. The multication (CsMAFA)PbI3 perovskite underwent a facile phase segregation to domains enriched with MA and FA cations, which is a principally new radiation-induced degradation pathway. Our findings suggest that the radiation hardness of the rationally designed perovskite semiconductors could go far beyond the impressive threshold of 10 MGy we set herein for FAPbI3 films, which opens many exciting opportunities for practical implementation of these materials.