Text this: Advancing Sustainable Development Goal 4 -- A Comparative Analysis of Large Language Models