A Desktop Application for Managing Multiple OpenAI Codex CLI Accounts
Easily switch between accounts, monitor usage limits, and stay in control of your quota
- Multi-Account Management – Add and manage multiple Codex accounts in one place
- Quick Switching – Switch between accounts with a single click
- Usage Monitoring – View real-time usage for both 5-hour and weekly limits
- Dual Login Mode – OAuth authentication or import existing
auth.jsonfiles
# Clone the repository
git clone https://github.com/Lampese/codex-switcher.git
cd codex-switcher
# Install dependencies
pnpm install
# Run in development mode
pnpm tauri dev
# Build for production
pnpm tauri buildThe built application will be in src-tauri/target/release/bundle/.
You can also serve the built dashboard over HTTP instead of opening the Tauri shell.
# Build the frontend and start the web server on 0.0.0.0:3210
pnpm lanOptional environment variables:
CODEX_SWITCHER_WEB_HOSTto override the bind hostCODEX_SWITCHER_WEB_PORTto override the port
The browser dashboard serves the same UI and backend actions through /api/invoke/*, which makes it usable over LAN, Tailscale, or a remote host tunnel when you expose the chosen port safely.
This tool is designed exclusively for individuals who personally own multiple OpenAI/ChatGPT accounts. It is intended to help users manage their own accounts more conveniently.
This tool is NOT intended for:
- Sharing accounts between multiple users
- Circumventing OpenAI's terms of service
- Any form of account pooling or credential sharing
By using this software, you agree that you are the rightful owner of all accounts you add to the application. The authors are not responsible for any misuse or violations of OpenAI's terms of service.