[BUG] Wrong default subagent model

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Dec 9, 2025 · closed Jan 26, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

On a Max plan (Team account) the default model for subagents is set to Sonnet rather than Opus. The default model for the main agent is correctly set to Opus though.

What Should Happen?

Subagents should default to Opus when not explicitly setting a model.

Error Messages/Logs

Steps to Reproduce

  1. Create a subagent without specifying a model.
  2. Open Claude Code and look at agents with /agents which will show to model used for each agent.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.62

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 9 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

philippevezina · 9 months ago

This is still an issue, here is a screenshot where you can see that the model should be Opus, but sonnet is used for agents even though no model is specified in the agent's file:

<img width="628" height="328" alt="Image" src="https://github.com/user-attachments/assets/e1a05755-c916-46ed-9780-96f71d815743" />

philippevezina · 8 months ago

Fixed in 2.1.19

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.