"Travellers under 6 years of age, travelling with parents with a negative RT-PCR test result within 72 hours before travelling, are not required to have a pre-arrival negative RT-PCR test result and can have a saliva test when entering the Kingdom"
https://www.tatnews.org/2021/12/thailand-reopening-exemption-from-quarantine-test-go/