The ultimate command center for your AI coding assistants.
Quota Switch Manager is a robust cross-platform daemon and web dashboard for managing CLIProxyAPI - a local proxy server that powers your AI coding agents. It helps you manage multiple AI accounts, track quotas, and configure CLI tools in one place.
- Multi-Platform: Runs seamlessly on Linux, macOS, and Windows.
- Multi-Provider Support: Connect accounts from Gemini, Claude, OpenAI Codex, Qwen, Vertex AI, iFlow, Antigravity, Kiro, Trae, and GitHub Copilot via OAuth or API keys.
- One-Click Agent Configuration: Auto-detect and configure AI coding tools like Claude Code, OpenCode, Gemini CLI, and more.
- Real-time Dashboard: Monitor request traffic, token usage, and success rates live.
- Smart Quota Management: Visual quota tracking per account with automatic failover strategies (Round Robin / Fill First).
- API Key Management: Generate and manage API keys for your local proxy.
- Web Interface: Modern, responsive web UI to manage your server.
| Provider | Auth Method |
|---|---|
| Google Gemini | OAuth |
| Anthropic Claude | OAuth |
| Antigravity | Internal |
| OpenAI Codex | OAuth |
| Vertex AI | Service Account JSON |
| GitHub Copilot | OAuth |
- Cursor
- Claude Code
- Aider
- Cline
- Gemini CLI
- Python 3.12+
- Node.js 20+ (for building the web UI)
-
Clone the repository:
git clone https://github.com/yourusername/quota-switch-manager.git cd Quota-Switch-Manager -
Run the setup script:
- Linux/macOS:
./start.sh - Windows:
python main.py(after installing dependencies)
The start script will:
- Create a Python virtual environment
- Install backend dependencies
- Install frontend dependencies
- Build the frontend
- Start the daemon and web server
- Linux/macOS:
-
Access the Dashboard: Open http://localhost:21451 in your browser.
Quota Switch Manager stores its configuration in platform-standard locations:
- Linux:
~/.config/quota-switch-manager/ - macOS:
~/Library/Application Support/Quota Switch Manager/ - Windows:
%LOCALAPPDATA%\Quota Switch Manager\
Account credentials are stored in ~/.cli-proxy-api/ (cross-platform).
- Backend: Python (FastAPI) located in
daemon/ - Frontend: React (TypeScript, Vite) located in
web/
Run the backend manually:
cd daemon
python main.pyRun the frontend manually:
cd web
npm run devMIT License