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
[FEATURE]: Allow agent-level model pools and fallback policies #16868
If the primary model fails with a configured runtime condition, OpenCode tries the next model in order.
Why this fits OpenCode
This seems like a natural extension of the project’s provider-agnostic design. It would make cost/speed/reliability tradeoffs easier to express without manual switching.
Backward compatibility
Single-model config should continue to work exactly as it does today.
Additional context
This would become even more useful if combined with:
Activity
github-actions commentedon Mar 10, 2026
This issue might be a duplicate of existing issues. Please check:
Additionally, the cooldown-aware failover aspect of this request overlaps closely with #16867, which was filed by the same author.
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.