International Gate 2 just before the immigration counters. Open 24 hours but not always manned. Tell an immigration officer that you need a re-entry stamp and they’ll get someone to do it for you.
If you have the photo and forms filled it’s the standard price of 1,
*****
,800. If you don’t then they add on an admin charge of 200 baht and you only need your passport.