Just in case anyone in the future has this question, here you go:
“Infinity” in this game is not truly infinity. Instead, the game shows “Infinity” when a resource reaches one quintillion (1,000q).