anomalyco / anomalyco/opencode

[FEATURE]: Add Gemini sign-in instead of requiring an API key

Open
#47,020 3 comments 7 reactions 1 assignee View on GitHub

@fwang is already working on this.

Since Sep 3, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

It would be really helpful if OpenCode could support signing in with a Google/Gemini account instead of requiring users to manually add a Gemini API key.

A lot of people already have a Google AI Pro subscription, and it would be great if they could simply sign in with their Google account and use the Gemini models included with their subscription.

Having to create an API key separately feels like an extra step, especially for users who are already paying for Google AI Pro. A “Sign in with Google” / Gemini login option would make the setup much easier and more accessible.

This would be especially useful for people who already have an AI Pro plan and would love to use their existing Gemini access directly in OpenCode, without having to deal with API keys and separate API billing.

I think this could make the Gemini experience much smoother for a lot of users. 🙏
Thanks for considering it!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.