Decoding GPT-4o and GPT-4: A Comparative Analysis