Hi everyone, I’m a Claude Pro subscriber. For a while now, I’ve been thinking about replacing Claude Code’s native subagents with third-party models. Specifically, I was wondering how great it would be (since I also have an OpenCode Go subscription) if my Opus model, directly from the Claude interface, could launch DeepSeek subagents (Pro/Flash) instead of the usual Sonnet and Haiku. This would let me save a significant amount of tokens and get much more value out of my subscriptions. In short, what I’m trying to do is: Use Claude (Pro/Max) as the main orchestrator Use subagents for cheap and parallelizable tasks Route these subagents to non-Anthropic models (e.g. DeepSeek, Qwen, models via OpenRouter/OpenCode Zen, or any other API-accessible model) From what I understand: You can set ANTHROPIC_BASE_URL to point Claude Code to a different provider for the main session (which is not what I want) You can modify the model: field in subagents, but it seems to only accept Anthropic model IDs (Sonnet/Opus/Haiku), not arbitrary external provider models So before I keep digging into this: Has anyone actually managed to use non-Anthropic models inside Claude Code subagents ? I’ve done quite a bit of research and tried implementing a few things myself, but it seems like almost no one talks about making this work. Yet I feel like it could be a real game changer. Thanks! submitted by /u/BeppeTemp
Originally posted by u/BeppeTemp on r/ClaudeCode
