opencode-gemini-auth icon indicating copy to clipboard operation
opencode-gemini-auth copied to clipboard

[Bug]: My Google Workspace account is not working properly.

Open hi-one-gg opened this issue 10 months ago • 1 comments

I registered with opencode using the Google Workspace account provided by the company. After running opencode, I selected the Google gemini-3-pro-preview model and issued a command, but error 429 immediately appeared. Can't I use my Google Workspace account?

hi-one-gg avatar Feb 02 '26 16:02 hi-one-gg

The 429 error occurs because gemini-3-pro-preview is a highly restricted preview model that often defaults to zero quota for Workspace users unless a Google Cloud project with billing is explicitly linked and specific thinking features are handled.

For Workspace and new Google Cloud accounts, the default quota for Preview models like Gemini 3 is often set to zero by default. Unlike standard models (like 1.5 Flash), these preview models require an active Google Cloud Billing account to activate even the free tier portion of the quota.

gemini-3-pro-preview is currently only available on the global Vertex AI endpoint. If OpenCode is configured to hit a regional endpoint (like us-central1), the server returns a 429 or 404 which the app interprets as "Resource Exhausted."

Try using gemini-2.5-flash that works for me.

ezetina86 avatar Feb 06 '26 20:02 ezetina86