At this time the visa exempt entry program is set to expire on March 31st, 2023, and it will go back to the normal 30 days that people used to get prior to Oct 7th 2022.
The TAT (Tourism Authority of Thailand) proposed that the 45 day program be approved until the end of the year BUT that hasn't happened yet. Watch the news..
IF you're in the US you apply for a visa to thailand using the eVisa online system and selecting the thai consulate that serves the area where you live in the US
This is the website to apply for a tourist visa online
****************************