Skip to content

[FEATURE]: Fallback models in configuration #8687

Closed as duplicate
Closed as duplicate

Description

@stickerdaniel

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

it would be great if users could specify multiple models in the config (opencode.jsonc / agent/*md) so that an array like

    "$schema": "https://opencode.ai/config.json",
    "default_agent": "plan",
    "model": [
        "anthropic/claude-opus-4-5",
        "google/antigravity-claude-opus-4-5",
        "github-copilot/claude-opus-4-5"
    ],

would be a valid config option.

Why?

  • Users that dont have a specific provider connected have a fallback model
  • Ideally, opencode detects if provider limits are reached and selects the other model as default when starting a new session
  • This way you can continue using e.g. Opus 4.5 without switching the model manually through other providers even if Anthropic's ridiculous rate limits are reached.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 15, 2026
  2. github-actions commented on Jan 15, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

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

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions