Beta
Discord Download

Claude Code Router alternatives

AutoRouter7 min read

The main Claude Code Router alternative for people on subscriptions is AutoRouter, the Mac app for Codex and Claude Code, which picks the model for each request with no API keys or routing rules to write, using the Claude and ChatGPT plans you already pay for. LiteLLM and Bifrost suit a shared team gateway, OpenRouter and Requesty one hosted bill, and Portkey budgets and request logs. Claude Code's own /model and opusplan need nothing installed (docs).

AutoRouter wrote this post, so weigh its rows accordingly. Every claim about another product comes from that product's own docs or pricing page, linked where it is used and read on November 16, 2026.

What does Claude Code Router do, and why look elsewhere?

Claude Code Router (CCR) is a free, MIT-licensed gateway on your own machine that sends Claude Code, Codex and other coding agents to the providers and models you choose (GitHub). It is active: version 3.1.5 shipped on November 16, 2026, as a desktop app for macOS, Windows and Linux, an npm CLI that needs Node.js 22 or later, or a Docker image.

People look elsewhere because CCR leaves the decisions to you. You add providers and API keys, or import a local sign-in, then write the routing: custom rules match in list order and the first match rewrites the request, and script rules run Node.js for anything more (routing docs). CCR doesn't judge how hard a request is on its own. Claude Code Router, explained and compared covers how it works in version 3.

Which Claude Code Router alternatives are there?

Seven options cover what people use CCR for, each best at one job:

OpenRouter alternatives for coding agents compares what each hosted option charges, and LiteLLM alternatives for gateways and coding agents covers self-hosted gateways in more depth. CLIProxyAPI alternatives for Codex and Claude Code covers the proxy that serves API endpoints from CLI sign-ins, and Claude Code alternatives covers replacing Claude Code itself.

How do the Claude Code Router alternatives compare?

They differ most in how the model gets chosen, as of November 16, 2026:

ToolBest forPicks the model bySetup
Claude Code RouterFull control on one machineRules and scripts you writeAdd providers and keys, write rules, apply an agent profile
AutoRouterCoding agents on subscriptionsYour rules, then how hard each request isInstall, sign in to plans, click Enable
LiteLLMSelf-hosted team gatewayModel names you configureProxy with PostgreSQL, virtual keys
BifrostFast self-hosted gatewayModel names you configurenpx -y @maximhq/bifrost, virtual keys
OpenRouterOne hosted balanceYour choice, or its Auto RouterAPI key and three variables
RequestyHosted bill with fallbacksYour choice, with routing policiesAPI key and two variables
PortkeyBudgets and logsConfigs with conditions and fallbacksAPI key and a provider header
Claude Code settingsNothing to installYou, or opusplan by modeNone

How does AutoRouter pick a model without routing rules?

AutoRouter applies your rules first, if you write any, and otherwise works out how hard each request is from the text you typed. It then only considers models that clear the quality bar for that task. Hard work goes to the most capable model your plans cover, and everything else goes to the model that costs you least, which is often your plan or a low-cost open model.

In the landing page's examples, which are illustrations, a change across six files goes to Claude Opus 5.5 on the Claude plan, and a commit message goes to a low-cost open model without touching the plan. Every request shows its model, what it cost and why, and you can rate a pick or choose a model yourself. AutoRouter sometimes misjudges how hard a task is and has no published benchmarks yet. How AutoRouter picks a model for each turn covers the full order, and How to write model routing rules in plain English covers writing your own.

What can you do with no extra tool?

Claude Code can switch models by itself in two cases, with nothing installed. /model opusplan uses Opus in plan mode and Sonnet for execution, and --fallback-model tries up to three models when the main one is overloaded or unavailable (docs).

# Opus while planning, Sonnet while executing
/model opusplan

# Try Sonnet, then Haiku, if the main model is overloaded
claude --fallback-model sonnet,haiku

Neither one reaches models from other providers, and the fallback chain doesn't switch on rate-limit or billing errors. How to change the model in Claude Code covers the rest of what Claude Code can do on its own.

When is Claude Code Router still the better choice?

Keep CCR when you want every routing decision in your own hands, when you are on Windows or Linux, or when requests should go straight from your machine to providers. It is free, supports agents beyond Codex and Claude Code, such as OpenCode, Kimi CLI and Pi, and its rules can match any header or body field (GitHub, routing docs). OpenCode vs Claude Code compares OpenCode itself with Claude Code.

AutoRouter needs macOS 14 or later, and its requests pass through AutoRouter's servers on their way to each provider. Model routers for Claude Code and Codex, compared covers the wider field, AutoRouter vs Portkey and AutoRouter vs Requesty compare two of the hosted options, and What is an LLM router? the kinds of router these tools are built on.

Questions

Is Claude Code Router still maintained?

Yes. Claude Code Router released version 3.1.5 on November 16, 2026 and had about 38,000 GitHub stars that day (GitHub).

Does Claude Code Router work with Codex?

Yes. Claude Code Router lists Codex among its supported agents, along with OpenCode, Kimi CLI, Pi and others (GitHub). AutoRouter also works in Codex, the app and the CLI, and in Cursor, Claude Desktop, T3 and Terminal.

Can I use my Claude plan in Codex?

Yes, with AutoRouter. Any app AutoRouter supports can use any plan you connect, so a Claude plan can run in Codex and a ChatGPT plan in Claude Code. Free connects two subscriptions and Pro connects any number.

Do I need API keys for a Claude Code Router alternative?

It depends on the tool. AutoRouter needs none, since it signs in to your plans. OpenRouter, Requesty and Portkey need their own API key, and LiteLLM and Bifrost need provider keys or a passed-through Claude sign-in (LiteLLM, Bifrost).

Sources