Add an option to choose models from different providers #554

Closed
opened 2026-02-16 17:27:17 -05:00 by yindo · 8 comments
Owner

Originally created by @tukusejssirs on GitHub (Jul 8, 2025).

Originally assigned to: @thdxr on GitHub.

I have logged into Claude, then I can select only Claude models using /models. What if I want to (temporarily) switch to models of different providers?

Originally created by @tukusejssirs on GitHub (Jul 8, 2025). Originally assigned to: @thdxr on GitHub. I have logged into Claude, then I can select only Claude models using `/models`. What if I want to (temporarily) switch to models of different providers?
yindo closed this issue 2026-02-16 17:27:17 -05:00
Author
Owner

@rekram1-node commented on GitHub (Jul 8, 2025):

@tukusejssirs /models should work with any providers you have configured can you run opencode auth list and tell me what output you see?

@rekram1-node commented on GitHub (Jul 8, 2025): @tukusejssirs `/models` should work with any providers you have configured can you run `opencode auth list` and tell me what output you see?
Author
Owner

@tukusejssirs commented on GitHub (Jul 8, 2025):

@rekram1-node, so I need to choose each provider separately, right? That is not that obvious. How about looping the auth selection dialogue in the initial config by asking whether the user wants to add additional providers? Or at least notify them that they can add more providers using opencode auth login. And it would be nice to be able to search for a provider when there.

Anyway, it would be awesome if all opencode settings could be made using a slash command at runtime.

@tukusejssirs commented on GitHub (Jul 8, 2025): @rekram1-node, so I need to choose each provider separately, right? That is not that obvious. How about looping the auth selection dialogue in the initial config by asking whether the user wants to add additional providers? Or at least notify them that they can add more providers using `opencode auth login`. And it would be nice to be able to search for a provider when there. Anyway, it would be awesome if __all__ opencode settings could be made using a slash command at runtime.
Author
Owner

@rekram1-node commented on GitHub (Jul 8, 2025):

No you shouldn't need to choose each provider separately, see:

Image
@rekram1-node commented on GitHub (Jul 8, 2025): No you shouldn't need to choose each provider separately, see: <img width="739" height="390" alt="Image" src="https://github.com/user-attachments/assets/6c825531-7de2-4272-9c54-18938a59584a" />
Author
Owner

@jjeremycai commented on GitHub (Jul 11, 2025):

same issue here

@jjeremycai commented on GitHub (Jul 11, 2025): same issue here
Author
Owner

@anandghegde commented on GitHub (Jul 28, 2025):

same issue here. i accidentally clicked on anthropic as provider and then it couldnt authenticate. now when i type opencode it keeps looping on the "add credential" screen

@anandghegde commented on GitHub (Jul 28, 2025): same issue here. i accidentally clicked on anthropic as provider and then it couldnt authenticate. now when i type opencode it keeps looping on the "add credential" screen
Author
Owner

@mlin01 commented on GitHub (Jul 28, 2025):

I am using opencode on windows, I do not see options to switch to another provider.

@mlin01 commented on GitHub (Jul 28, 2025): I am using opencode on windows, I do not see options to switch to another provider.
Author
Owner

@bluenex commented on GitHub (Aug 1, 2025):

For those who are confused like me, /models won’t show you how to add more providers but you can always run opencode auth login to add more providers or reconfigure it if the first-time setup failed.

Ref. https://opencode.ai/docs/providers/

@bluenex commented on GitHub (Aug 1, 2025): For those who are confused like me, `/models` won’t show you how to add more providers but you can always run `opencode auth login` to add more providers or reconfigure it if the first-time setup failed. Ref. https://opencode.ai/docs/providers/
Author
Owner

@rekram1-node commented on GitHub (Aug 28, 2025):

@bluenex nailed it

@rekram1-node commented on GitHub (Aug 28, 2025): @bluenex nailed it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#554