Open, Closed, or Small Language Models for Text Classification?