← Reddit

Any 3rd party model as a subagent in Claude Code, Fable/Opus main agent on your Max plan

Reddit · sdexca · August 9, 2026
A developer created an unofficial patch for Claude Code that enables third-party models like DeepSeek and GLM to run as subagents while maintaining Fable/Opus through a Max plan subscription for the main agent, bypassing the standard limitation of choosing between Anthropic or third-party models exclusively. The patch includes quality-of-life improvements for subagent management, such as pinning subagents to keep them in the interface indefinitely, detaching them into independent sessions, and extending their retention time in the list from 30 seconds to one hour.

Detailed Analysis

A developer has released an unofficial patch for Claude Code that breaks one of the tool's core architectural constraints: the strict separation between Anthropic-model sessions and third-party-model sessions. Normally, a Claude Code session commits entirely to one provider — either Anthropic's models through a Claude subscription (including Max plan access to Opus, referenced here as "Fable/Opus") or an external model like DeepSeek or GLM, with no mixing allowed. The patch modifies the local Claude Code bundle so that subagents — the delegated worker processes Claude Code spins up for subtasks — can run on any Anthropic-compatible third-party model, while the orchestrating main agent continues to run on Opus through a paid Max subscription. This is a per-request configuration, meaning users can selectively route specific subagent tasks to cheaper or differently-capable models without abandoning their primary Anthropic-backed session.

The technical approach matters because it's explicitly framed by the author as safer than the more common alternative: running a proxy or router in front of the Anthropic API to intercept and redirect model calls, a technique used by various third-party harnesses. The author notes this router approach is something "Anthropic doesn't like" and considers it riskier than a local bundle patch, though both remain unofficial and carry some risk of violating terms of service or breaking with future Claude Code updates. This distinction reflects a broader tension in the Claude Code ecosystem: power users want more flexibility and cost control than Anthropic's default architecture provides, but modifying or intercepting the client-server relationship with Anthropic's API sits in a gray area that could prompt account or access consequences.

Beyond the core patch, the release includes quality-of-life improvements to subagent management — pinning subagents to keep them persistently visible in the UI, detaching a subagent into its own independent resumable session via a generated `claude --resume` command, and extending the default 30-second visibility window for completed subagents to a full hour. These features, bundled separately in a "my-cc-config" repository, suggest the author is iterating on Claude Code's interface for users who run many parallel or sequential subagent tasks and find the default ephemeral display insufficient for tracking work in progress.

This kind of grassroots patching reflects a recurring pattern in the coding-agent space: as tools like Claude Code, Cursor, and other agentic IDEs proliferate, users increasingly want multi-model workflows — using premium frontier models like Opus for planning and orchestration while offloading cheaper, well-defined subtasks to lower-cost or open-weight models like DeepSeek and GLM to control spend. Anthropic has not built this kind of hybrid routing into Claude Code officially, likely due to product-strategy incentives to keep usage within its own model family and subscription tiers. Community-built workarounds like this one signal demand for more granular, cost-aware orchestration in coding agents, and they foreshadow pressure on vendors to either formalize multi-model support or risk continued proliferation of unofficial patches that operate outside sanctioned integration paths.

Read original article →