How long does behavioral therapy for weight loss last?

Depends. As long as it takes to achieve the desired behavioral change that can be self maintained. In my experience there is a 6 weeks minimum.
Need to continue. Until changes in behavior becomes a habit. There is a quote I like "thoughts lead to purpose, purpose becomes actions, actions form habits, habits decide character and character fixes our destiny".