[FEATURE]: Set up predefined models for agents. #3114

Closed
opened 2026-02-16 17:38:41 -05:00 by yindo · 5 comments
Owner

Originally created by @aymuos15 on GitHub (Nov 25, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Would be nice to have predefined models for specific agents.

Originally created by @aymuos15 on GitHub (Nov 25, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Would be nice to have predefined models for specific agents.
yindo added the discussion label 2026-02-16 17:38:41 -05:00
yindo closed this issue 2026-02-16 17:38:41 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 25, 2025):

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

  • #3666: Requests ability to define what model each agent uses for cost optimization
  • #3263: Requests ability to specify predefined models (search_model, text_model, image_model, reasoning_model, simple_task_model) in configuration file
  • #3439: Requests custom model aliases (like 'smart', 'thinking', 'image', 'cheap') that can be configured globally for agents

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

@github-actions[bot] commented on GitHub (Nov 25, 2025): This issue might be a duplicate of existing issues. Please check: - #3666: Requests ability to define what model each agent uses for cost optimization - #3263: Requests ability to specify predefined models (search_model, text_model, image_model, reasoning_model, simple_task_model) in configuration file - #3439: Requests custom model aliases (like 'smart', 'thinking', 'image', 'cheap') that can be configured globally for agents Feel free to ignore if none of these address your specific case.
Author
Owner

@aymuos15 commented on GitHub (Nov 25, 2025):

I guess it is somewhat similar to #3263 and #3439, but not exactly. For example, I want my default plan to be Opus but my build to be haiku.

@aymuos15 commented on GitHub (Nov 25, 2025): I guess it is somewhat similar to #3263 and #3439, but not exactly. For example, I want my default plan to be Opus but my build to be haiku.
Author
Owner

@rekram1-node commented on GitHub (Nov 25, 2025):

@aymuos15 cant you already do this? just put this in your opencode.json:

{
    "agent": {
    "plan": {
      "model": "anthropic/claude-opus-4-5",
    },
    "build": {
      "model": "anthropic/claude-haiku-4-5",
    },
  }, 
}
@rekram1-node commented on GitHub (Nov 25, 2025): @aymuos15 cant you already do this? just put this in your opencode.json: ``` { "agent": { "plan": { "model": "anthropic/claude-opus-4-5", }, "build": { "model": "anthropic/claude-haiku-4-5", }, }, } ```
Author
Owner

@aymuos15 commented on GitHub (Nov 25, 2025):

I actually wasn't aware of that. My bad, thanks.

@aymuos15 commented on GitHub (Nov 25, 2025): I actually wasn't aware of that. My bad, thanks.
Author
Owner

@geq1fan commented on GitHub (Dec 25, 2025):

test

@geq1fan commented on GitHub (Dec 25, 2025): test
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3114