@Ryu *********
the easiest is the US since you can apply up to 3 months early. I would apply 2 months early at least. But you need to be traveling directly from the US to Thailand. Otherwise Laos is the fastest at about 2-3 days, but the issue there is you must apply online, get a QR code that must print, and then take that QR code to the embassy during the morning to pay in person in Thai baht.
If you do it in Vietnam it takes longer, 7 days or so, but you can do it all online including the payment. So it really depends on your priority. I find Laos boring but you wouldn't need to be there for long.