AI EngineerGuide

How to configure sub-agent model in Claude Code

by Ashik Nesin Ashik Nesin

Claude Code let’s you to customize the sub-agent model. This is especially useful if you’re using some powerful model like Fabel 5.1

You can just do it by setting the env variable

CLAUDE_CODE_SUBAGENT_MODEL=opus

By setting this, any new sub-agents that spawns will use that configured model instead.

Reference

https://x.com/lydiahallie/status/2099195114115707210

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.