How much are your company's secrets and proprietary information worth, and how much would it cost to have them leak? You'd need to put a number on that before you could complete the calculus.
On the other hand (in particular for smaller companies particularly not in the USA): How much can you afford to pay? Can you actually afford the self-hosted route?
If the IP in question is software code then a lot of companies are overvaluing that at this point.
For individual lines of code or files I would agree, but I think there are way too many software companies out there for that to be a general rule. For example, JetBrains wouldn't be pleased if the entirety of Rider were leaked, and Jane Street would have a very bad day if their IP were leaked.