Is there any way to combine 1 model from different providers into one? #6538

Closed
opened 2026-02-16 18:04:31 -05:00 by yindo · 8 comments
Owner

Originally created by @zortos293 on GitHub (Jan 16, 2026).

Originally assigned to: @thdxr on GitHub.

Question

I was wondering if you could combine multiple providers into 1 model

like I have Claude sonnet 4.5 on Claude , GitHub copilot , google

is there a way to combine them into 1

so when 1 fails it switches to the next one etc?

Originally created by @zortos293 on GitHub (Jan 16, 2026). Originally assigned to: @thdxr on GitHub. ### Question I was wondering if you could combine multiple providers into 1 model like I have Claude sonnet 4.5 on Claude , GitHub copilot , google is there a way to combine them into 1 so when 1 fails it switches to the next one etc?
yindo closed this issue 2026-02-16 18:04:31 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7602: [FEATURE]: Native Model Fallback / Failover Support - Comprehensive feature request for automatic fallback between different models with detailed specifications
  • #8687: [FEATURE]: Fallback models in configuration - Proposes specifying multiple models in config as fallback when rate limits are reached
  • #8673: [FEATURE]: fallback models for (sub) agents - Requests array of fallback models/providers that OpenCode uses when encountering issues
  • #6217: Have multiple instances of the same provider - Related request for multiple provider instances to support multiple accounts

Feel free to ignore if your specific use case differs from these.

@github-actions[bot] commented on GitHub (Jan 16, 2026): This issue might be a duplicate of existing issues. Please check: - #7602: [FEATURE]: Native Model Fallback / Failover Support - Comprehensive feature request for automatic fallback between different models with detailed specifications - #8687: [FEATURE]: Fallback models in configuration - Proposes specifying multiple models in config as fallback when rate limits are reached - #8673: [FEATURE]: fallback models for (sub) agents - Requests array of fallback models/providers that OpenCode uses when encountering issues - #6217: Have multiple instances of the same provider - Related request for multiple provider instances to support multiple accounts Feel free to ignore if your specific use case differs from these.
Author
Owner

@zortos293 commented on GitHub (Jan 16, 2026):

Image
@zortos293 commented on GitHub (Jan 16, 2026): <img width="834" height="166" alt="Image" src="https://github.com/user-attachments/assets/c197b963-3d22-4e2b-8826-0d6ca943e846" />
Author
Owner

@zortos293 commented on GitHub (Jan 16, 2026):

they all have an separate limit so I have to switch all the time and adjust my subagents

@zortos293 commented on GitHub (Jan 16, 2026): they all have an separate limit so I have to switch all the time and adjust my subagents
Author
Owner

@zortos293 commented on GitHub (Jan 18, 2026):

Image
@zortos293 commented on GitHub (Jan 18, 2026): <img width="635" height="102" alt="Image" src="https://github.com/user-attachments/assets/c73f3253-d85a-40e0-bb2d-08be71e07c3d" />
Author
Owner

@zortos293 commented on GitHub (Jan 18, 2026):

i made it for test

Image
@zortos293 commented on GitHub (Jan 18, 2026): i made it for test <img width="430" height="136" alt="Image" src="https://github.com/user-attachments/assets/bc035011-9abd-4faf-b340-bf6ef047fcbf" />
Author
Owner

@zortos293 commented on GitHub (Jan 18, 2026):

Image
@zortos293 commented on GitHub (Jan 18, 2026): <img width="1520" height="1311" alt="Image" src="https://github.com/user-attachments/assets/29821679-9f11-4dc4-8fff-6586e69b309c" />
Author
Owner

@zortos293 commented on GitHub (Jan 18, 2026):

https://github.com/zortos293/opencode-combined-models Working plugin example

@zortos293 commented on GitHub (Jan 18, 2026): https://github.com/zortos293/opencode-combined-models Working plugin example
Author
Owner

@zortos293 commented on GitHub (Jan 18, 2026):

https://github.com/anomalyco/opencode/issues/9270#issuecomment-3765579986

@zortos293 commented on GitHub (Jan 18, 2026): https://github.com/anomalyco/opencode/issues/9270#issuecomment-3765579986
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6538