Krungsri yellow atms allow up to 30.000 but If you use your card at the atm there is a 220 baht fee every time you use a foreign card. Add to that your card costs and it adds up.
I advise you to take cash, but exchange it in Thailand for Thai baht.
You get a very good (probably the best rate at the airport.
But only in the basement. It’s a 8% difference with upstairs. Look here for directions.