Claude Code model router

shunt

Per-agent routing proxy that sends selected Claude Code subagents to other models.

373 stars 15 forksModel routers & proxies Plugin marketplace Source

Install

Add the plugin marketplace
/plugin marketplace add pleaseai/shunt

Run inside Claude Code, then /plugin to pick what to install from it.

Install
brew install pleaseai/tap/shunt
From source
git clone https://github.com/pleaseai/shunt.git

From the README

shunt

Offline credential import: shunt import opencodex --dry-run previews compatible API keys and Cursor/Command Code access tokens. Exports create new private snapshots without changing existing settings or copying refresh tokens. See credential import.

English · 한국어 · 日本語 · 简体中文
Shunt Claude Code to any model.

shunt is a spec-compliant Claude Code LLM gateway: a transparent proxy that, for the models you map, diverts inference to another LLM provider at the inference layer. It routes by the request's model id — everything else passes through to Anthropic unchanged (the "shunt"; the fallback is configurable via server.default_provider).

The name is the mechanism: an electrical/railway *shunt* diverts a selected part of the flow onto a parallel path. Here, a mapped model's inference is diverted to another provider while Claude Code's tools and skills stay intact.

Providers for OpenAI, ChatGPT/Codex, xAI, Grok, Cursor, Kimi Code, Zhipu, MiniMax China, OpenCode Zen, Cheaper Inference, Gemini, Antigravity, and Anthropic passthrough ship built in — several of them reusing a subscription you already pay for. Any Anthropic-Messages-compatible backend is one config table away, with no code changes. See Providers.

shunt is pre-1.0 software under active development. Per SemVer, 0.x releases may include breaking changes to configuration keys, the CLI, and behavior — check the release notes before upgrading.

Install

New versions are distributed through Homebrew and prebuilt binaries (macOS/Linux, arm64/x64) attached to each GitHub release; the crates.io package stops at the last version published there. See Installation for prebuilt-binary and from-source instructions.

The cargo install line above builds without the admin dashboard: its bundle needs Node.js 22.12+ and…
Read the full README on GitHub

Details

Repository
pleaseai/shunt
Website
shunt.sh
Language
Rust
License
Apache-2.0
Last updated
3 November 2026
Topics
antigravityclaudeclaude-codecodexcursorgeminigrokkimiopenai

FAQ

What is shunt?

Per-agent routing proxy that sends selected Claude Code subagents to other models. It is a model router for Claude Code, from pleaseai/shunt on GitHub.

How do I install shunt?

Run brew install pleaseai/tap/shunt, then follow the setup in the README.

Is shunt popular?

pleaseai/shunt has 373 GitHub stars and 15 forks. It was last updated on 3 November 2026.

More model routers & proxies

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