The comic book version of the X-Men and Spider-Man 90s cartoon universe took place in the sixth cosmos, before the 7th cosmos and before 616 existed. Galactus was a fictional character. Also, where Galan from Taa survived and later became the current Galactus of Universe 616. Nowadays, Marvel core titles are set in the 8th cosmos post Secret Wars.
https://marvel.fandom.com/wiki/Earth-TRN566
Below in the link, the 90's cartoon universe, the universe where the upcoming X-Men 97 cartoon also takes place in
https://marvel.fandom.com/wiki/Earth-92131
Bunch of other versions exist.