FWIW, OpenAI Codex is open source and they help other open source projects like OpenCode to integrate their accounts (not just expensive API), unlike Anthropic who blocked it last month and force people to use their closed source CLI.
The classic commoditize your complements.
Gemini CLI is open source too, though I think the consensus is it's a distant third behind Claude Code and Codex