Don't think I made a note of the size when I replaced mine but part number 93210-49046-00 and cost under £5 from yamaha dealer.
If you don't want to go to Yamaha dealer or it's on back order you can split the thermostat housing to check the size with bike on sidestand and only lose a cup full of coolant