Samuel Fila - There are several ATM's in the duty free zone in Phuket, Suvarnabhumi and Dong Mueang so you could get your cash out before you pass immigration.
Surat Thani or Hadyai don't have ATM before Immigration.
In either case, it doesn't matter as you're supposed to have the required amount BEFORE you even coma to an ATM in Thailand.