That's when the replacement program was in place. I personally had my graphics/logic board replaced 3 times for free. However, the program had expired at the end of 2016.My 2011 macbook has this issue and was completely gutted and refurbished for free by apple right before I sold it.
If the graphics replacement program is still in place I wouldn't hesitated to recommend swapping out your HDD for a SSD and perhaps reformat your computer for a brand new experience. I personally have 1TB HDD (in place of my DVD drive) and 1TB SSD in my 2011 MBP and it still runs like a beast.
If you don't do graphics intensive work that will cause the MBP to heat up like crazy (which will cause the graphics issue to surface over time), then it's safer to prolong its life via RAM and SSD upgrades.