Directory · Subagents
model-relay
Localhost router for Claude Code that switches models per window, routes subagents to other providers, and fails over on 429s.
★ 113 stars · last updated 2026-10-24 · Free, open source · View on GitHub
Best for
- Claude Code users who want different models in different terminal windows
- Routing haiku or specific subagents to providers like DeepSeek, z.ai, Kimi, or OpenRouter
- Automatically falling back to a backup provider when Claude hits a usage limit
- Keeping Remote Control working while using a custom base URL
Install
claude plugin marketplace add cablate/model-relay
claude plugin install model-relay@model-relay
Our take
Runs as a single-user daemon on 127.0.0.1:8950 and requires Node.js 20+ and Claude Code 2.1.287 or later. Providers must accept Anthropic's /v1/messages format; OpenAI-only services need a separate local translator. Users upgrading from 0.6 or earlier must migrate their config to format 2 before the new router will start.
Similar subagents
- Awesome Claude Code Subagents (VoltAgent): A curated collection of 161+ Claude Code subagent definitions across 10 categories, installable as plugins or individual agent files.
- Claude Code System Prompts: Extracted, versioned copies of Claude Code's system prompt pieces, tool descriptions, and subagent prompts with token counts.
- claude-devtools: Desktop and web app that reads local Claude Code session logs to show tool calls, token usage, subagent trees, and context.
- AI Marketing Suite for Claude Code: Claude Code skills and parallel subagents for marketing audits, copywriting, email sequences, ad copy, and client-ready reports.
- Vibe Coding Toolkit: Portuguese-language guides, prompts, and templates for bootstrapping Next.js projects with Claude Code or Codex, including subagent orchestration.
- pentest-ai-agents: 50 Claude Code subagents turning Claude into an offensive security research assistant for authorized penetration testing.