Listen to the naysayers with a grain of salt, a big grain of salt. There is some wisdom in what they're saying but their overall advice to simply not consider an out of warranty Tesla is WRONG! To say they're throw away cars after the warranty runs out is foolish. If that's the case then when your warranty runs out let me know and I'll come take the car off your hands!!! Of course they're the ones trying to get $30k for their out of warranty model S. If you want the latest greatest updates and tech then get a newer one. If you want to experience a wonderful EV but can't afford $40k plus then the older model S is a fantastic option, but it's not for everyone.
I would not purchase a pre-2015 with low miles. This is counter to what you'd normally look for in a used vehicle but a low mileage older model S has a greater risk of needing the battery or drive unit replaced because it probably still has the original equipment. With low mileage the original equipment hasn't been sufficiently used to know if it's faulty. A high mileage S would have had the problem parts replaced and if not, then they weren't problem parts to begin with. My 2013 model S has 150k on it and has had the drive unit replaced but it still has the original battery which has only lost about 10-11% capacity. Electric motors last a long time and batteries can be reconditioned which can greatly extend their usefulness. Gruber can take that $20k battery replacement down to a $5k repair. All electric motors can be rebuilt. I'm sure someone will step in to fill that need. The main problem with the drive unit is the bearings and coolant leaking. Both of those problems can be fixed.
$27k for a 2012-2014 is too much. I've seen them in the low 20's which is much more reasonable. Mine was even less. I don't need AP or FSD and if I had it I would hardly ever have the need for it. Yes I'm missing other very nice features but the newer vehicles are simply out of my price range, so for me, it's accept a few less features in order to get to drive a model S! I love this one. I've wanted a model S for a long time. It is so much fun to drive.
I do have unlimited free supercharging which really isn't a big deal but it's nice to have. I also have lifetime 4g data which is really nice. I upgraded my MCU in order to take full advantage of the free premium connectivity.
I drive less than 10k/yr so it'll take me more than 5 years to get to 200k and EVs can last much longer than that! Even if you drive a lot a 100k mile plus model S still has a LOT of life left in it. I'm getting 30+ miles for $1 of electricity so it's much cheaper than gas. I know I'll have repairs that I'll have to pay for but at the price I paid for my model S I'll accept that cost because I get to drive a model S! Insurance is much less on an older model S.
Don't let the doom and gloom naysayers scare you away from an older model S. Let them spend $50k on one with a warranty while you get a $20k model S. That $30k difference can more than pay for any repairs that might come up and if your battery does need replacing (not common) you can have it repaired or sell your car for at least half of what you paid for it. You'll loose less money over the life of you car than the person that buys a $50k vehicle with a warranty.
Don't give up on getting a model S. The model S is much nicer than the model 3. Use the battery and drive unit cost along with the expiring warranty as bargaining chips to get the price you want. That potential cost of repairs makes the older model S worth $20k, not $30k. The value of all non-Japan luxury cars drops like a rock after the warranty expires and it's because of the cost of repairs.
Stay away from a low mileage model S unless the drive unit was replaced after 2015, ceramic bearings vs steel. I'd also be weary of a low mileage original battery. It also seems like the 90 batteries degrade more than quickly than the 85's do.