What is the difference between open-source and closed-source LLMs? When would you choose one over the other?

Technical