If I have enough local currency I will use cash, as that will avoid any potential unsuspecting bank charges, but it is re-assuring to know I can use one of the cards you suggest.
Apart from to and from the airport and perhaps BKK to and from Pattaya , most taxi fares will be relatively low (40-150 baht) so it’s usually better to pay in cash!
Remember , in Thailand, it’s totally different to the uk - cash is king. In the uk , I hardly carry any cash and sometimes none at all! In Thailand it’s completely the other way around. Sometimes I don’t take a card with me at all, just the cash that I think I need for the day or evening and a bit of “contingency “ cash! Everywhere takes cash , some/many places do not take cards!