Herding multiple Codex CLI accounts through one local gateway
CodexManager pools your Codex CLI accounts, tracks their quotas, and exposes a unified local OpenAI-compatible proxy so you can stop manually swapping credentials.

What it does
CodexManager is a Rust-based desktop app and background service that corrals multiple Codex CLI accounts into a single local gateway. It tracks usage across standard and bonus quota windows, lets you import accounts in bulk—even via ChatGPT session JSON—and generates platform keys with per-model bindings and tier controls. Requests from Codex CLI, Claude Code, or Gemini CLI are forwarded through a local OpenAI-compatible endpoint.
The interesting bit
The author openly admits the codebase is 98% AI-generated (mostly by Codex itself), yet it has accumulated over 2,700 stars and a surprisingly thorough feature set, including a plugin center with Rhai scripting and an experimental WebSocket upstream mode. It also auto-injects image generation tools to mimic official Codex behavior, which is a nice touch for compatibility.
Key highlights
- Local OpenAI-compatible gateway for Codex CLI, Claude Code, Gemini CLI, and third-party tools
- Account pool management with ban detection, grouping, tags, and usage tracking across standard and bonus quota windows
- Platform key generation with per-model bindings, reasoning tiers, and service levels (
Fast/Flex/follow request) - Plugin center supporting curated, enterprise, and custom market modes with Rhai integration
- Can import ChatGPT
/api/auth/sessionJSON directly without a Codex login
Caveats
- The author explicitly states only the Windows desktop build is personally verified; macOS and Linux rely on community testing
- The project carries prominent disclaimers that it is for “learning and development” only and must not be used to bypass rate limits or violate platform terms
- Roughly 98% of the code is AI-generated, which may explain the architectural ambition but also the testing gaps
Verdict
Worth a look if you juggle multiple Codex accounts and want a local traffic cop with a web UI. Skip it if you need a battle-tested, cross-platform guarantee or a simple single-account setup.
Frequently asked
- What is qxcnm/Codex-Manager?
- CodexManager pools your Codex CLI accounts, tracks their quotas, and exposes a unified local OpenAI-compatible proxy so you can stop manually swapping credentials.
- Is Codex-Manager open source?
- Yes — qxcnm/Codex-Manager is open source, released under the MIT license.
- What language is Codex-Manager written in?
- qxcnm/Codex-Manager is primarily written in Rust.
- How popular is Codex-Manager?
- qxcnm/Codex-Manager has 2.8k stars on GitHub and is currently accelerating.
- Where can I find Codex-Manager?
- qxcnm/Codex-Manager is on GitHub at https://github.com/qxcnm/Codex-Manager.