#335 · Primary category: AI Coding Assistants

opencode-gemini-auth

gemini opencode opencode-plugins

Gemini auth plugin for opencode

Project last updated:08/09/26

GitHub Stars

1.7K

Forks

118

Contributors

8

License

MIT

Why we included this project

Opencode users who want Gemini models without managing a separate API key can authenticate with their Google account through this plugin. It adds Google as a provider in `opencode auth login`, runs the OAuth flow in a browser, and forwards requests using your existing Gemini plan and quotas, including the free tier. Beyond login, it offers practical controls: pin a specific Google Cloud project for organization-backed subscriptions, route traffic through an HTTP proxy, and whitelist or blacklist which Gemini models appear in the picker. The README is honest about the current risk: Google has deprecated consumer Gemini Code Assist access and flagged third-party OAuth as policy-violating, so teams should weigh that before relying on it, and the manual API key path remains a safer fallback. For developers already standardized on Opencode, this is the most direct way to bring Gemini into that workflow.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category