You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opencode not picking up Google Vertex AI service account json #6280
but when i open opencode, it is just not picking it up. it shows me the default models (anthropic, glm, etc).
Google actively blocks creating api keys if you have enterprise google cloud accounts. there are multiple layers of permission blocks that need to be unblocked before you can create api keys in Google AI studio. it strongly steers towards using service account json.
Opencode would make it so much better if it gave a slightly better experience with setting service account json from within the connect flow.
I have the same issue. I identify GOOGLE_CLOUD_PROJECT="abc" have " only Anthropic model work well, and Google model not. And without " like GOOGLE_CLOUD_PROJECT=abc google model work but Anthropic not. AJAJ f
Activity
github-actions commentedon Dec 28, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rsbmk commentedon Jan 21, 2026
I have the same issue. I identify
GOOGLE_CLOUD_PROJECT="abc"have"only Anthropic model work well, and Google model not. And without"likeGOOGLE_CLOUD_PROJECT=abcgoogle model work but Anthropic not. AJAJ fsandys commentedon Jan 21, 2026
github-actions commentedon Mar 28, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.