OAuth Plugin for Opencode with Gemini
JSON →Opencode-gemini-auth is an open-source plugin (current stable v1.4.10, released 2025) that authenticates the Opencode CLI using your Google account, enabling access to Gemini models including the free tier. It spins up a local OAuth callback server, supports manual URL paste fallback, and provides a `/gquota` command. Actively maintained with frequent releases. Differentiators: eliminates the need for a separate Google AI API key, supports Gemini Code Assist subscriptions via `projectId`, and includes automatic token refresh. Written in TypeScript, ships with types, peer-depends on TypeScript ^5.9.3.
Traffic · last 30 days ↓74% vs prev 7d
total hits 45
actors 11 distinct systems
last hit 18h ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · VN · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/opencode-gemini-auth
compatibility /v1/registry/opencode-gemini-auth/compatibility