https://citizenremote.com/visas/thailand/
or retirement visa once you hit 50
https://www.siam-legal.com/thailand-visa/Thailand-Retirement-Visa.php
(http://www.autoadmit.com/thread.php?thread_id=5616474&forum_id=2#48229677)