Model Relay — AI skill for Claude Code
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window with /provider, delegate subagents across models, and keep Remote Control & statuslines worki.
How to install Model Relay
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open cablate/model-relay and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Model Relay does
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window with /provider, delegate subagents across models, and keep Remote Control & statuslines working.
Alternatives in AI
- Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
- Claude Code Switch — One-command model switcher for Claude Code (Only for Anthropic API) 655 ★
- Folkbench — AI API 中转站评测排行与切换工具:实测可用率、延迟与价格 · Open-source AI API relay benchmark, rankings & switcher for Claude Code / Co 420 ★
README
Switch any Claude Code window to another model from an interactive panel, route subagents to any provider,
and automatically fail over when Claude hits a usage limit—all on localhost, with Remote Control and statuslines intact.
English · 繁體中文 · Install · Features · Configuration · Changelog
Why
Claude Code binds model settings globally across every terminal window. `model-relay` runs a lightweight router on localhost (`127.0.0.1:8950`) so each window and subagent can use the model you want—with zero external cloud proxies.
| When… | Without
Related Skills
Clipal
Minimal LLM API reverse proxy for Claude Code, Codex CLI & Gemini CLI — YAML routing, hot reload, and automati
Smart Switch
Multi-app model provider switcher: manage OpenAI/Anthropic-protocol providers (base URL + API key + models) an
Tashev Relay
Switch AI. Switch machine. Keep working. Local-first project continuity for Claude Code, Codex, Cursor, Gemini
Infinite Claude Code
Infinite, 100% Free, Zero-latency Multi-provider AI Router for Claude Code CLI & Desktop with real-time SSE st
Vmr
A local-first, single-binary LLM router & Agent flight recorder. Automatically turns byte-faithful logs into s
Dsh Oh My Claude
Claude Code CLI as an LLM provider for dsh (DeepSeek Harness): live model list, per-session resume, approval r
Related Agents
Quota Router
Thin wrapper over ~/.claude/router/state.sh. Reports the router's provider-state verdict (GPT/Claude/Gemini el
Heavy Task
Executes complex tasks (architecture, multi-file implementation, refactors, deep debugging) delegated by the m
Network Config Reviewer
Network configuration security and correctness auditor. Invoke when given a router or switch configuration to