From internet:
Any person who brings or takes an aggregate amount of foreign currency exceeding USD20,000 or its equivalent out of or into Thailand shall declare such amount of foreign currency to a Customs Officer.
OP, be aware that if planning to exchange at say Super rich green you will find Wise transfer is better.