If sharing all of your code with the closed providers is OK then it works. If that is a blocker, open weights becomes much more compelling...