Codex is open source and lets you use any model https://learn.chatgpt.com/docs/config-file/config-advanced#o...

Only its CLI is open source. The desktop app is always proprietary.