Hydrolyzes ATP, and can also hydrolyze GTP with lower efficiency. Has lower affinity for GTP. {ECO:0000255|HAMAP- Rule:MF_03167}. This is the function of OLA1 (Obg like ATPase 1, ENSG00000138430).