What Locks Codex Is the Picker, Not the Models
The expensive part is rarely the model. It is being locked inside one vendor's picker.
Codex is already a strong daily driver: desktop app, tasks, Computer Use, native GPT. The friction is elsewhere. Open the model list and you mostly see Sol, Terra, and Luna. Meanwhile you may already be paying for OpenCode Go, an official Grok login, and a Z.ai GLM Coding Plan. Those subscriptions stop at the picker.
So people make the wasteful move: open another terminal, learn another harness, throw the same repo at a second agent. Codex is not the weak link. The product simply splits "models you can use here" from "models you already bought."
The community project codex-router closes that split.
What it actually solves
It is not another proxy tutorial. It changes the most expensive surface in Codex: the model selector.
After it is on, a new task looks like this:
| Source | What you actually get |
|---|---|
| Native GPT | Sol, Terra, Luna, with login and cloud tasks intact |
| OpenCode Go | Grok, GLM, Kimi, DeepSeek V4 Flash |
| Grok OAuth | The official grok login --oauth session, in the picker |
| Z.ai Coding | glm-5.3 / 5.2 / 5-turbo from the Coding Plan |
No new app. No lost ChatGPT login. No keys pasted into chat. The router turns subscriptions and OAuth sessions you already have into a catalog Codex understands. Native GPT still goes through OpenAI; external models go through a local proxy. They sit side by side instead of overwriting each other.
That is worth writing about because it hits the real cost structure of coding agents in 2026:
- Capability is abundant. The gate is still closed. You do not need another Grok or GLM. You need the models you already pay for to appear in the picker you already live in.
- Subscriptions are sunk cost. Switching tools is a new tax. Another CLI means buying the workflow, permissions, skills, and session history again.
- Credentials should not leave the machine. The router reads local Keychain, OpenCode
auth.json, and the official Grok session. It is not another cloud relay.
Why this beats raising a second agent
opencode is already a model-agnostic socket. Grok has its own CLI. If daily work already lives in Codex, a parallel agent stacks friction in the collaboration layer, not the model layer.
Review, long tasks, desktop automation, and team conventions are bound to this app. codex-router does not steal that workflow. It only makes the picker vendor-neutral. You still start tasks in Codex. You just pick the model by the job: native GPT for expensive work, Go / Grok / GLM for high-frequency, cheaper, or different-taste work.
That is also why it is not "buy another API key." People think they lack a new secret. What they lack is reuse of a payment relationship that already exists. OpenCode Go, Grok OAuth, and the Z.ai Coding Plan are channels you have already authorized once. The router translates those channels for Codex. It does not ask you to register a fourth vendor.
What it refuses to do
It is unofficial. It will not free you from a ChatGPT account, and it will not dump Gemini or other Zen models into the default Go preset. A provider without credentials shows setup needed and leaves the rest alone.
Uninstall is clean: codex-router codex uninstall. Back up ~/.codex/config.toml first. It changes a local openai_base_url and a merged model catalog, not your login state.
The one-line entry
The repo is duolahypercho/codex-router. If this machine has ChatGPT / Codex, Node 22, and any one of the three credentials, you can hook it up. The steps are not the story. The judgment is:
Do not open a second toolkit for models you already bought. Open the picker first.
Related entries: Codex CLI, opencode, Grok 4.6, GLM-5.3, DeepSeek V4 Flash.
Comments
No comments yet. Be the first to comment!
Related Tools
Pi
pi.dev
Minimal terminal coding harness that adapts to your workflows: four core tools, ~1k-token system prompt, TypeScript extensions, skills, session trees, 15+ providers, and four modes (TUI, print, RPC, SDK).
OpenCode
opencode.ai
An open-source AI coding agent that lives in your terminal, helping you understand codebases, plan features, and write code efficiently.
Waku
waku.sh
Waku is a fast native macOS app by egoist (ChatWise) that unifies local AI coding agents like Claude Code, Codex, and OpenCode in one Rust + GPUI interface.
Related Articles
Seven AI Coding CLIs, Six Months: No Matter How Strong the Model, Work Needs Supervision
Claude Code, Codex, opencode, pi, omp and DeepSeek Harness all have personalities. After six months of deep use I run a division of labor: pi for the fastest cheapest reviews, omp for complex PRs, DeepSeek Harness on V4 Flash for high-frequency low-cost review, and Claude Code, Qoder and Cursor for writing. No matter how strong the model, work needs supervision — ideally from an independent third party.
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.
Claudesidian: Transform Obsidian into an AI-Powered Second Brain
Discover Claudesidian, an open-source project that perfectly integrates Obsidian with Claude Code. Built-in PARA method, custom commands, and automated workflows for a complete idea-to-implementation solution.