Claude Code model router

Delegate Router

Claude Code and Codex CLI skill: an LLM router that delegates bulk, already-decided coding tasks to another model you already pay for (GPT via Codex, Gemini via agy, a Claude Opus subagent), on another subscription first. Benchmark-checked routes, cost per task measured on a bench, cross-model review. The host verifies every diff.

Install

From source
git clone https://github.com/pvjbuilds/delegate-router.git

From the README

delegate-router: multi-model task delegation for Claude Code and Codex CLI

One agent thinks, another types. delegate-router is an agent skill (SKILL.md, the Agent
Skills format) for Claude Code and OpenAI Codex CLI that works as an LLM router for
coding work. It hands bulky, already-decided work (boilerplate, scaffolding, test stubs,
mechanical edits across many files, reading media and long documents) to another model you
already pay for: Codex (GPT models), Gemini through the Antigravity agy CLI, or a
Claude Opus subagent. The host keeps the design and the verification, and saves its own
quota and context.

- Routing by task, not by habit. ROUTING.md maps each kind of
  task to an ordered list of models, chosen from independent benchmarks and cost per task.
  It skips any CLI you don't have, never routes back to the host's own model (except an
  Opus subagent under an Opus host, which keeps the main context clean), and prefers a model
  on another of your subscriptions, so the work spreads across the plans you pay for.
- A judge before every handoff. Four gates (bulk, decided, verifiable, contained) and a
  never-delegate list (debugging, architecture, security code, anything under ~40 lines).
- The host always verifies. A delegate's "done" isn't evidence: the host runs the check and
  reads the diff.
- Routes that keep up on their own. Every 12 h, model_watch.py notices new models in
  your CLIs and the vendors' release notes, re-checks the routes against a fresh benchmark
  snapshot, and tells you when a route should change. A tracker rescaling its scores moves
  nothing; a model that really beats the holder does.

New in v1.4: work goes to a model on another of your subscriptions first, so your main
agent's quota isn't spent twice (how).
Each route is judged on…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
1 November 2026
Topics
agent-skillsagentic-codingai-agentsai-codingclaude-codeclaude-code-skillsclaude-skillscodexcodex-clicodex-skillscoding-agentdeveloper-tools

FAQ

What is Delegate Router?

Claude Code and Codex CLI skill: an LLM router that delegates bulk, already-decided coding tasks to another model you already pay for (GPT via Codex, Gemini via agy, a Claude Opus subagent), on another subscription first. Benchmark-checked routes, cost per task measured on a bench, cross-model review. The host verifies every diff. It is a model router for Claude Code, from pvjbuilds/delegate-router on GitHub.

How do I install Delegate Router?

Clone pvjbuilds/delegate-router from GitHub and follow the setup steps in its README.

Is Delegate Router popular?

pvjbuilds/delegate-router has 33 GitHub stars and 8 forks. It was last updated on 1 November 2026.

More model routers & proxies

Opencode Configs

30

jesseoue/opencode-configs

Self-healing, config-as-code stack for the OpenCode AI coding agent — one key, 17 curated OpenRouter frontier models (GLM/DeepSeek/Gemini/Qwen/Kimi), multi-agent teams, cost guards, telemetry off. Claude Code / Cursor alternative on your terminal.

Model routers & proxies17

Claude Code Gemini Proxy

36

kele527/claude_code_gemini_proxy

这是一个无缝桥接 Anthropic Messages API 与 Google Gemini API的代理工具,它能够实时地将来自客户端(如 Claude Code)的 Anthropic API 格式请求,转换为 Gemini 模型所需的格式,并将 Gemini 的响应再转换回 Anthropic 格式。 适用于没有claude api,但是又想用claude code的用户,用gemini2.5pro的api来替代。

Model routers & proxies

Claudex

36

migueltorrezd/claudex

Run Claude Code with GPT models through Raine's claude-code-proxy.

Model routers & proxies

Lupin

34

Fanfulla/Lupin

Run Claude Code on any LLM provider without losing your setup, local-first proxy with verified profiles, OAuth device-flow login, failover, content-aware routing and an honest per-model compatibility doctor

Model routers & proxies

Codebuddy2api

33

orangeboyChen/codebuddy2api

Proxy CodeBuddy with OpenAI-compatible and Anthropic-compatible APIs for Codex, Claude Code, and standard SDK clients.

Model routers & proxies10

Problem Solver Skill

36

cathrynlavery/problem-solver-skill

Claude Code skill for systematic problem diagnosis using progressive disclosure — 55-line router + 7 on-demand framework references

Model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.