Feature request: aliases for models #1984

Closed
opened 2026-02-16 17:33:34 -05:00 by yindo · 3 comments
Owner

Originally created by @F0x1d on GitHub (Oct 7, 2025).

I want to have two models

  • claude-sonnet-4-5-20250929 with thinking mode enabled for plan agent
  • non-thinking claude-sonnet-4-5-20250929 to be used in subagents to save tokens

Currently i can't define this in opencode config

                "claude-sonnet-4-5-20250929": {
                    "name": "Claude Sonnet 4.5 Thinking",
                    "options": {
                        "thinking": {
                            "type": "enabled",
                            "budgetTokens": 16000,
                        }
                    }
                },
                "claude-sonnet-4-5-20250929": {
                    "name": "Claude Sonnet 4.5 NOT THINKING"
                }

I guess something like aliases can help

Originally created by @F0x1d on GitHub (Oct 7, 2025). I want to have two models - `claude-sonnet-4-5-20250929` with thinking mode enabled for plan agent - non-thinking `claude-sonnet-4-5-20250929` to be used in subagents to save tokens Currently i can't define this in opencode config ```json "claude-sonnet-4-5-20250929": { "name": "Claude Sonnet 4.5 Thinking", "options": { "thinking": { "type": "enabled", "budgetTokens": 16000, } } }, "claude-sonnet-4-5-20250929": { "name": "Claude Sonnet 4.5 NOT THINKING" } ``` I guess something like aliases can help
yindo closed this issue 2026-02-16 17:33:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 7, 2025):

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

  • #1106: Similar request about enabling Claude Sonnet thinking mode, though focused on activation rather than configuration flexibility
  • #2949: Related to Claude Sonnet 4.5 thinking configuration limits, addressing output token constraints with thinking enabled
  • #2919: About Claude Sonnet 4.5 thinking configuration and display issues

The core request for model aliases or multiple configurations of the same model with different settings (thinking vs non-thinking) appears to be a new feature request that hasn't been directly addressed in the existing issues.

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

@github-actions[bot] commented on GitHub (Oct 7, 2025): This issue might be a duplicate of existing issues. Please check: - #1106: Similar request about enabling Claude Sonnet thinking mode, though focused on activation rather than configuration flexibility - #2949: Related to Claude Sonnet 4.5 thinking configuration limits, addressing output token constraints with thinking enabled - #2919: About Claude Sonnet 4.5 thinking configuration and display issues The core request for model aliases or multiple configurations of the same model with different settings (thinking vs non-thinking) appears to be a new feature request that hasn't been directly addressed in the existing issues. Feel free to ignore if none of these address your specific case.
Author
Owner
@towry commented on GitHub (Oct 7, 2025): https://opencode.ai/docs/models/ "id" https://github.com/geril07/dotfiles/blob/4d3d1fc764da6c29913f37be7a2daced8e15ed54/.config/opencode/opencode.jsonc#L18
Author
Owner

@F0x1d commented on GitHub (Oct 7, 2025):

thx

@F0x1d commented on GitHub (Oct 7, 2025): thx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1984