← Reddit

I built a router that spreads work between my Claude and ChatGPT subscriptions

Reddit · YaBoyChips3819 · July 23, 2026
Alloy'd is an MCP server that automatically dispatches coding work between Claude and ChatGPT subscriptions based on which service has more remaining usage capacity. An experiment across 26 sessions demonstrated that routed work shifted approximately 25-38% of usage to ChatGPT compared to control sessions that concentrated 98% on Claude. The tool currently supports macOS and Linux with Windows support planned.

Detailed Analysis

A developer has built and open-sourced "Alloy'd," an MCP server and hooks-based tool that intelligently routes coding work between Claude Code and OpenAI's Codex CLI based on which subscription has more usage headroom remaining. Rather than bypassing usage limits, the tool calls each platform's official headless interfaces (claude -p and codex exec) and dispatches substantial work—like a feature build or multi-file edit—to whichever provider has more capacity left in its usage window. The setup is lightweight: it wires up the Codex side, adds configuration blocks to global CLAUDE.md and AGENTS.md files, and registers a usage-cache hook into Claude Code's statusline, all while backing up any files it touches. Currently it supports macOS and Linux, with Windows support planned.

The motivation behind Alloy'd speaks to a genuine pain point for power users of AI coding assistants: many developers now pay for multiple subscriptions (in this case, Claude Max 5x and ChatGPT Plus) to access the best models from each company, but manually deciding which tool to use for which task is tedious and inefficient. By automating that routing decision, the tool aims to let users benefit from both ecosystems without consciously context-switching or over-paying for redundant top-tier plans. This reflects a broader shift in how technical users are approaching the AI tooling landscape—not as loyalists to a single provider, but as pragmatic resource managers optimizing across multiple services the way one might load-balance cloud compute.

The developer backed up the claim with a modest but structured experiment: 26 coding sessions randomly assigned to either a control group (no routing) or a routed group, with 20 sessions deemed usable after excluding stale or edge-case data. The results showed control sessions dumping nearly all usage (98%) onto Claude, while routed sessions with at least one dispatch shifted roughly 28% of measured usage onto Codex, and sessions with multiple dispatches pushed that figure up to 38%. Critically, the author's informal review found no obvious quality degradation in outputs assigned to either provider, though this observation wasn't rigorously quantified. The author is transparent about methodological limitations—Claude's usage meter operates on a 5-hour rolling window versus Codex's weekly window, and the relative "cost" of a work unit differs across the two pricing tiers—but the directional finding, that intelligent routing measurably offloads usage from a primary subscription, holds up under the caveats.

This project is emblematic of a maturing ecosystem around Claude Code and other agentic coding tools, where third-party developers are building meta-infrastructure atop official products rather than competing with them directly. It also underscores a subtle competitive dynamic between Anthropic and OpenAI: as both companies iterate rapidly on coding-focused models (Claude's Sonnet/Opus lineup versus GPT-5 and Codex), power users are increasingly unwilling to commit exclusively to one vendor, instead treating model access as a fungible resource pool. Tools like Alloy'd may foreshadow a future where usage-based routing and multi-provider orchestration become standard practice for teams and individual developers alike, especially as usage caps and rate limits remain a persistent friction point across premium AI subscription tiers. It also raises interesting questions for Anthropic and OpenAI about how sticky their respective ecosystems truly are once developers build interoperability layers that treat their flagship products as interchangeable backends.

Read original article →