superoc
v0.1.19
Published
Multi-provider API key & OAuth account rotator plugin for OpenCode — NVIDIA NIM, Google Gemini & Google Cloud Code Antigravity
Downloads
2,472
Maintainers
Readme
superoc
Multi-provider API key rotator and model fallback plugin for OpenCode.
Fork of opencode-nim-rotator with added multi-provider support (Google Gemini, Google Cloud Code Antigravity OAuth), live quota tracking, and bug fixes.
Features
- NVIDIA NIM: API key rotation with model fallback chains and rate-limit recovery.
- Google Gemini: Google AI Studio API key rotation with auto 429 failover.
- Antigravity (OAuth): Google OAuth account rotation for Claude Sonnet 4.6, Claude Opus 4.6 (Thinking), Gemini 3.7 Flash, and GPT-OSS 120B.
- Live Quota Tracking: Normalized 5-hour and weekly quotas displayed directly on model labels (
5h: 98.9% W: 100%). - TUI Manager: Terminal UI for managing keys, accounts, fallback chains, and live TTFB/TPS benchmarks.
Install
npm install -g superoc(The installer automatically adds superoc to your OpenCode config on install)
Usage
superocConnect Providers
- Antigravity: Launch
superoc->[3] Antigravity->[1] Add Account (OAuth)to login via browser. - NVIDIA: Launch
superoc->[1] NVIDIA->[1] Add Key(or exportNVIDIA_API_KEY). - Google: Launch
superoc->[2] Google->[1] Add Key(or exportGOOGLE_API_KEY).
License
MIT
