We are installing a hot tub- we have a 60 amp breaker and 6 AWG wire coiled in the crawl space that was put in several years ago when we built the house (anticipating putting in the tub- took us awhile). The tub requires a 60 amp breaker and draws 45 amps. The tub will need to hardwired to a GFCI near the tub outside the house. Our electrician told me we'd need 4 AWG wire to go to a 60 amp breaker, although I may have thought the tub drew more current when I last talked to him. I can downgrade the breaker to a 50 amp and the tub can be configured to run that way (can't run pumps with heater at same time). Would 6 AWG wire be code (or better) for a 60 amp breaker running a hot tub with a 45 amp draw? Or do I need to configure the tub to run on the 50 amp breaker (with 37 amp draw). I looked up the tables but still don't quite get it- which is why I have hired an electrician.
The answer is not really simple. Well, it could be but there are a lot of things to look at here. You did not mention if the cable has Aluminum or Copper conductors. Could make a difference here. You didn't say how many "several years ago" was. The conductors could be 60°, 75° or 90° rated. Are they type UF, THWN, THHN, THWN-2, XHHW, XHHW-2? It makes a difference.
Let's say it's copper type THWN-2 and they were 90° rated, such as in type NM-B cable.
First, NEC Article 110-14 says if the circuit is under 100A then the conductors need to be used at their 60° rating, unless all terminations in the circuit carry a higher rating. #6 copper at 60° is able to be used at no more than 55A. However, there is a way out here. According to NEC 240.6, 55A is not a standard fuse/breaker size so you are allowed to round up the the next standard size which is 60A. So if you had a 6-3 type NM-B cable run, you are good to go with a 60A breaker on a 45A load.
Now, let's say it is Aluminum conductors.
#6 at 60° is only good for 40A according to NEC 310.16 and 110.14
So I need more info to accurately answer your question. Post what cable type was run and I'll try to help more.