OpenAI's Codex CLI is a genuinely good coding agent, but out of the box it runs OpenAI models on OpenAI billing. Sometimes you want Claude Opus for a gnarly refactor, Kimi K2. 7 Code for cheap long sessions, or a model served from EU infrastructure because your client asks where tokens go.

Source: [Dev.to](https://dev.to/opper/codex-cli-with-any-model-the-codex-router-setup-in-one-config-block-3ol7)

Sponsored