Feature Request: Multi-account support for Gemini CLI
Is your feature request related to a problem?
Currently, Gemini CLI tracking only supports a single account via GEMINI_REFRESH_TOKEN / GEMINI_ACCESS_TOKEN. There is no way to monitor multiple Gemini accounts from a single onWatch instance, unlike MiniMax and Codex which already support multi-account via the Settings UI.
Describe the solution you'd like
Add multi-account support for Gemini CLI, similar to what is already available for MiniMax (Settings > MiniMax > Add Account). Ideally:
- Ability to add multiple Gemini accounts from the dashboard (Settings > Gemini > Add Account)
- Each account polls independently with its own OAuth credentials
- Per-account quota cards in the Gemini dashboard tab
- Support for additional accounts via environment variables (e.g.
GEMINI_REFRESH_TOKEN_2, GEMINI_ACCOUNT_2_NAME) for Docker/headless setups
Describe alternatives you've considered
- Running separate onWatch instances on different ports, one per Gemini account — works but loses the unified dashboard view and doubles resource usage
- Using the custom API integrations (JSONL) as a workaround — possible but requires manual instrumentation and loses the automatic quota polling
Additional context
MiniMax already implements this pattern well and could serve as a reference. The main use case is developers or teams with separate personal and work Gemini accounts who want a single dashboard.
Feature Request: Multi-account support for Gemini CLI
Is your feature request related to a problem?
Currently, Gemini CLI tracking only supports a single account via
GEMINI_REFRESH_TOKEN/GEMINI_ACCESS_TOKEN. There is no way to monitor multiple Gemini accounts from a single onWatch instance, unlike MiniMax and Codex which already support multi-account via the Settings UI.Describe the solution you'd like
Add multi-account support for Gemini CLI, similar to what is already available for MiniMax (Settings > MiniMax > Add Account). Ideally:
GEMINI_REFRESH_TOKEN_2,GEMINI_ACCOUNT_2_NAME) for Docker/headless setupsDescribe alternatives you've considered
Additional context
MiniMax already implements this pattern well and could serve as a reference. The main use case is developers or teams with separate personal and work Gemini accounts who want a single dashboard.