2024 AI Showdown: GPT-4o, Perplexity, Google Gemini, and Claude 3 Compared