The original transmission cooler hoses were 10mm ID. The majority of aftermarket hoses are 9.5mm (3/8") ID. Some that say they're 10mm are actually 9.5mm IME. IIRC someone may have found a source for true 10mm hose, try a search on the forum.
The critical dimension is the OD of the hose, otherwise the stock clamp may not give enough squeeze for a good seal. There are however multiple sizes of OEM hose clamps, the hard part, if you want to stick with a Toyota clamp, is finding the one that will work with the aftermarket hose you use.