Go · Cross-Platform · Zero Dependencies

Never hit a Gemini
quota wall again.

Manage multiple Gemini CLI accounts with instant switching, automatic quota rotation, and a unified account pool — all in one lightweight Go binary.

Zero Config Atomic Operations Auto Rotation

Demo

See it in action.

Switch accounts instantly with a single command.

gcam — zsh
⌘K
~/dev gcam

Gemini CLI Account Manager

Active Account: alice@gmail.com

Accounts in Pool:

~/dev gcam next

✓ Switched to next account: bob@developer.io

~/dev gcam quota
gemini-2.5-flash
68%
gemini-2.5-pro
23%
gemini-2.0-flash
91%

Features

Built for developers
who live in the terminal.

Instant Switching

Switch accounts in milliseconds. No restart, no re-auth, no friction.

Atomic Operations

Credential updates use temp-file + rename to prevent corruption under concurrent access.

Auto Quota Rotation

When quota hits your threshold, gcam silently rotates to the next available account.

Account Pool

Add unlimited accounts via OAuth browser login. Manage them all from one command.

Real-time Quota

Check remaining quota per model via Google Cloud Code APIs before you hit the wall.

Slash Commands

After install, use /gcam directly inside Gemini CLI — no context switching.

Go

Zero runtime dependencies. One static binary.

3OS

macOS, Linux, and Windows — one tool everywhere.

0deps

Pure Go standard library only. No surprises.

1cmd

gcam install hooks everything in seconds.

Reference

Every command you'll need.

Simple, intuitive, and powerful.

Account Management

gcam List all accounts and their status
gcam <n> Switch to account by index
gcam <email> Switch to account by email
gcam next Switch to next in pool

System

gcam quota Display quota usage
gcam pool login Add account via OAuth
gcam menu Interactive management
gcam install Install hooks & commands
gcam uninstall Remove all hooks

Installation

Up in 60 seconds.

One build step. One install command. Then you're managing accounts like a pro.

1

Build from source

Clone and compile with Go in seconds

2

Install hooks

Enable slash commands and shell integration

3

Login accounts

Add accounts via OAuth browser flow

# Clone the repo
git clone https://github.com/dong4j/gemini-cli-account-manager.git
cd gemini-cli-account-manager

# Build the binary
go build -o gcam cmd/gcam/main.go

# Install hooks (optional)
./gcam install

# Add your first account
./gcam pool login

# Start using Gemini CLI
gemini --account gcam

Get Started

Stop switching tabs to regenerate accounts.

gcam handles the account juggling so you can stay in flow.

View on GitHub Download Binary