I thought wire was sized by current, regardless of the voltage. Around my house 12AWG is used for 20Amps, so 10 or 8 unless you have a very short run.
Note: I reread the OP and 12 Ga should handle a 9 inch run. I had a 30 amp EVSE that used 14 ga inside for some very short connections.