Neither. Goku never transforms into Super Saiyan 5 in Dragon Ball Z or Dragon Ball GT.
SSJ5 is fan art and internet legend rather than anything from the official series — the highest canonical GT form is Super Saiyan 4.