And yes, it is mostly the cost of convenience. For example, I manage my own server not because it's cheaper (which it is), but because I don't need to pay extra $50 a month to get a "managed" experience.
Same goes for very mundane tasks like image compression. You can pay some company to do it on your behalf, or you can go to GitHub and grab a fully functional library to compress 1,000 photos in an instant.