How do you determine if a SaaS model is the right choice for a business or product?

For those of you who’ve worked with SaaS models, how do you decide if it’s the right fit for a particular business or product? What factors do you consider, like customer needs, infrastructure costs, or scalability? I’m curious about how you weigh the pros and cons, especially when compared to traditional software models.