If you mean chatgpt.com, try with a real “agent” harness. The exact same model on chatgpt.com frequently performs much worse than it does with a proper harness, not to mention that the chatgpt.com frontend itself is quite bad.
codex-rs, popularly known as Codex or maybe the Codex CLI, is a fine choice.