ChatGPT has the InstructGPT model and additional prompt templates on top if it. I'm not sure if the GPT api includes those, I would guess not as that would interfere with some of the use cases you may have. So that's probably why output would differ.