Skip to content

Two account same provider #57042

Closed as duplicate
Closed as duplicate

Description

@ina-yeshe

Hi OpenCode Team,
I am currently using multiple accounts under the same provider (for example, I have two separate Google accounts connected: "Google" using an AI Studio key, and "Google 2" using a Google Cloud enterprise setup with active credits).
Right now, the UX makes it very difficult to manage this in daily use:
• The issue: Inside a chat session, the model picker only allows me to select the model name (e.g., Gemini 2.5 Flash), but it does not show or let me choose which account that model should run on. Both accounts share identical model lists.
• Current workaround: I am forced to leave my current chat session, go all the way into Settings -> Providers, manually change the checkmark in the dropdown between "Google" and "Google 2", and then return to my chat.
This creates a very disruptive workflow when I need to jump between my private developer keys and my cloud billing credits.
Suggested solution:
Could you please update the chat model picker or the info panel to display the specific account name next to the model (e.g., Google (Account 1) / Gemini 2.5 Flash), or add a quick-toggle for accounts directly within the active session?
Thank you for an otherwise great tool!
Best regards,
[Your Name]

Activity

  1. opencode-agent commented on Oct 19, 2026

    @opencode-agent
    Contributor

    Thanks for the clear write-up! I think this is a duplicate of #54136. It asks to choose which saved account of a provider a session uses, from within the session, and to show that account's name. That's the in-chat account picker you're describing.

    Possible duplicates and related issues, most likely first:

    In the meantime, opencode auth switch <provider> <label> in a terminal switches the active account without opening Settings.

    The bot will close this issue as a duplicate in 1 day unless you reply explaining how your request is different. If you'd like, add your use case (AI Studio key vs. Google Cloud credits) to #54136.

  2. opencode-agent commented on Oct 20, 2026

    @opencode-agent
    Contributor

    Closing this as a duplicate of #54136, which asks to choose which saved account of a provider a session runs on, from inside the chat, with the account name shown. We didn't hear back on how this request differs, so further discussion will happen there. Please add your use case (AI Studio key vs. Google Cloud credits) to #54136, and reply here if you think this was closed by mistake.

    Until then, opencode auth switch <provider> <label> changes the active account without going into Settings. Thanks again for the clear report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions