Non-Immigant O-Visa as you have a Thai Wife, then apply for 365 days extension for Retirement, Terms and Conditions apply.
Use 'Thai Visa Centre,' they take the hassle out of it all. Remember your 800,000 bt has to be in 'your' (not joint) Thai Bank Account for xx Months, or proof of your pension, that it meets the required amount