I've worked here for 30+ years. After 15 years (180 months) of paying into Thai Social Security, you are eligible for life. When I eventually give up my Work Permit, I have the option of a lump sum payment, monthly payments, or healthcare for life. I'll choose healthcare for life of course.
I am very grateful for the Thai Social Security system and the healthcare that it offers. I use it often unfortunately.