It is a gas giant that orbits around the star 51 Pegasi .
It was initially assumed that 51 Pegasi b is a terrestrial planet , but it is now believed to be a gas giant .