the HPWC says it needs 3 gauge. Just getting 6 into my Nema 14-50 was fun...
"For most branch circuits of 100A, use 3 AWG (26.7 mm2), 167°F (75°C)
copper wire. Ground wiring can be a maximum of 4 AWG"
https://www.teslamotors.com/sites/default/files/blog_attachments/ms_hpwc_installation_guide.pdf
Depends on how to want to configure it. It requires #3 for the 100A setting. But you can also configure it for 64A charging / 80A breaker (#4 wire), 48A charging / 60A breaker (#6 wire in conduit only / no NM-B), 40A charging / 50A breaker (#8 wire in conduit or #6 NM-B), and a few lower than that.