CodexAi and Copilot are much better at code generation. Chatgpt is better for... conversations, so for chatbots..etc things that are totally gimmicky. And also a nice U.I that makes it ideal for... conversations.