A framework for evaluating whether companies should keep paying an external vendor, renegotiate, consolidate, or build SaaS tools in-house.