Discord Download

claude-code-proxy vs AutoRouter

To use your ChatGPT plan in Claude Code with nothing to configure, use AutoRouter. It’s a Mac menu-bar app: sign in to your plans, click Enable, and GPT models show up in Claude Code’s /model picker beside Claude, with a model picked for each turn. The open-source proxies, raine’s claude-code-proxy, claudecodex and CC-Router, do it with a local server you run, a separate login and environment variables that map Claude Code to the models you choose. This page covers how they work, then how they compare. Learn more

AutoRouter A Mac app that picks a model for each turn. $0/mo on your plans Download claude-code-proxy Open-source proxies you run for Claude Code. $0open source
Price Free to start on your plans Free, all three MIT licensed
Fee on tokens Provider’s price plus 10% on paid models None, you pay your providers
Runs on Your Mac, macOS 14 or later macOS and Linux, and Windows for claude-code-proxy and CC-Router
Tools Codex, Claude Code, Cursor, Claude Desktop, T3 and Terminal Claude Code, plus Codex CLI through CC-Router and OpenAI-compatible clients through claude-code-proxy
Setup Install, sign in, click Enable Install, log the proxy in, keep it running, start Claude Code with its base URL and models
Your plans Claude, ChatGPT, Grok and Gemini plans, in any harness ChatGPT Plus or Pro in all three; Kimi, Grok, OpenCode Go and Cursor in claude-code-proxy; Claude in CC-Router
Model choice Your rules, then a model that clears the quality bar The model ID Claude Code sends, mapped by your environment variables
Each request Every turn shows its model, cost and why Terminal dashboards with requests, errors and token use
Requests go Through AutoRouter’s servers to each provider Through the proxy you run, to each provider
  • A model picked for each turn, with no mapping to write
  • No proxy, env vars or second login to keep
  • Your plans stacked and used first
  • Rollout to every Mac in a team through MDM

Sources checked November 19, 2026: claude-code-proxy README (version 0.1.47), models and routing docs, compatibility and limitations, claudecodex README, CC-Router README and AutoRouter pricing. AutoRouter wrote this page. See every comparison.

How the proxies work

Each one sits between Claude Code and the plan you sign in with, and translates Claude Code’s requests on the way.

claude-code-proxy, by raine

A Rust proxy, MIT licensed, with about 700 stars. Its README says it keeps Claude Code’s client experience while translating its Anthropic API traffic for subscription-backed services: Codex on a ChatGPT Plus or Pro account, Kimi, Grok, OpenCode Go and Cursor Agent (README). Install it with Homebrew or a script, sign in, start it, and launch Claude Code against it:

claude-code-proxy codex auth login
claude-code-proxy serve

ANTHROPIC_BASE_URL=http://127.0.0.1:18765 \
ANTHROPIC_AUTH_TOKEN=unused \
ANTHROPIC_MODEL=gpt-6-sol[1m] \
ANTHROPIC_SMALL_FAST_MODEL=gpt-6-luna[1m] \
  claude

It routes by the model ID in each request. Claude Code’s haiku, sonnet and opus aliases all go to one provider, Codex by default, and an unknown ID returns an error with no fallback (models and routing docs). A terminal monitor shows sessions, requests, errors, token use and throughput.

claudecodex

A Bash launcher by karem505, MIT licensed, built on raine’s proxy. It starts the proxy if needed, exports the environment for that one process and runs the real Claude Code, so a plain claude stays as it was. Flags pick the GPT model per launch, and it can switch mid-session with /model (README).

CC-Router

A Node proxy by VictorMinemu, published on npm as ai-cc-router, MIT licensed. It rotates Claude Code across several Claude accounts, and sends models named openai/… to ChatGPT accounts, translating the request for them. A setup wizard and a terminal dashboard come with it, and Codex CLI can use it as a provider (README).

What they do well

  • They’re free and open source, so you can read the code that handles your requests.
  • Requests go from the proxy on your machine straight to each provider.
  • They run on Linux as well as macOS, and two of them on Windows.
  • claude-code-proxy reaches more plans than most, including Kimi, Grok, OpenCode Go and Cursor.
  • claudecodex leaves your normal claude command untouched.

Where they get harder

  • You choose the model. Each proxy runs the model ID Claude Code sends, mapped by variables you set, and doesn’t judge how hard a turn is.
  • The proxy has to be running, with its own login, before Claude Code starts.
  • claude-code-proxy’s docs say it targets the parts of the API Claude Code uses, not full equivalence: token counts are estimates and some fields may be dropped.
  • claudecodex starts Claude Code with permission prompts bypassed unless you turn that off.
  • Each covers Claude Code first; other coding agents need their own setup or another tool.

How AutoRouter differs

The proxies swap Claude Code’s models for the ones you map. AutoRouter adds every model beside Claude’s and picks one for each turn, using the plans you already pay for.

A ChatGPT plan in Claude Code, no config

You can connect the AI subscriptions you already pay for and use them in any harness, such as a ChatGPT plan in Claude Code. You sign in, sign in to your plans and click Enable. Enabling adds AutoRouter to Claude Code’s settings.json after saving a copy, and disabling it switches Claude Code back. There’s no proxy to start, variable to export or second login to keep.

It picks the model for each turn

AutoRouter shows up as one more model in Claude Code’s /model picker, beside Claude’s own. While it’s selected, it works out how hard each turn is and only considers models that clear the quality bar for it. Hard work goes to the strongest model your plans cover, and quick work to the one that costs you least. Your own plain-English rules go first, such as “Prefer GPT-6.1 Sol for code reviews.” Every turn shows its model, what it cost and why.

Every plan, stacked

When one account reaches its limit, AutoRouter moves to the one with the most room left before it spends any credit. Free connects two subscriptions and Pro connects any number. Frontier and open-weight models come with AutoRouter, kept current by its team.

Built for teams to roll out

Enterprise rolls AutoRouter out to every Mac through Jamf or another MDM, with nothing for anyone to set up. Admins get allowed models, team budgets and zero data retention in one place, spend by team, project or ticket, and SSO, SCIM and an audit log.

What it costs and what it can’t do

Routing across your plans is free, and paid models bill at the provider’s price plus 10% (pricing). It runs only on macOS 14 or later, and Claude Code needs Node 22.18 or later. It sometimes misjudges how hard a task is. Requests pass through AutoRouter’s servers on their way to each provider, not straight from your machine; see privacy for what is kept.

Which one to choose

Choose one of the proxies if you work on Linux or Windows, want requests to go straight from your machine to each provider, want Kimi, OpenCode Go or Cursor plans behind Claude Code, or want to read every line yourself for free.

Choose AutoRouter if you’re on a Mac and want your ChatGPT plan, and every other plan you pay for, in every coding agent you use, with a model picked for each turn and nothing to run. Using an older claude-code-proxy fork with an OpenAI API key? The switch page reads its .env.

Setup, side by side

The steps each one’s own docs give, as of November 19, 2026.

claude-code-proxy

  1. Install brew install raine/claude-code-proxy/claude-code-proxy, the install script, or a release on Windows.
  2. Log the proxy in Run claude-code-proxy codex auth login with a ChatGPT Plus or Pro account.
  3. Start it Run claude-code-proxy serve and keep it running.
  4. Start Claude Code With ANTHROPIC_BASE_URL set to the proxy and the models you want in ANTHROPIC_MODEL.

AutoRouter

  1. Download AutoRouter for macOS, signed and notarized by Apple.
  2. Sign in Sign in or create a free account, then sign in to your ChatGPT plan and any others.
  3. Enable Claude Code Allow Accessibility and click Enable for each app.
  4. Pick AutoRouter In a new session, choose AutoRouter with /model in Claude Code.

Questions

What people ask about using a ChatGPT plan in Claude Code.

Can I use my ChatGPT plan in Claude Code?

AutoRouter puts GPT models in Claude Code’s /model picker on your ChatGPT plan once you sign in and click Enable, and can pick one for each turn. Open-source proxies such as claude-code-proxy, claudecodex and CC-Router do it through a local server you run.

What is claude-code-proxy?

raine’s claude-code-proxy is a free, open-source Rust proxy that translates Claude Code’s requests for subscription services: Codex on a ChatGPT Plus or Pro account, Kimi, Grok, OpenCode Go and Cursor Agent. Older projects with the same name, by 1rgs and fuergaosi233, map Claude Code to an OpenAI API key instead.

What are claudecodex and CC-Router?

claudecodex is a launcher that starts raine’s proxy and runs Claude Code against it with GPT models, leaving plain claude untouched. CC-Router is a Node proxy that rotates Claude Code across Claude accounts and can send openai/… models to ChatGPT accounts.

Which plans do the proxies support?

All three use a ChatGPT Plus or Pro account. claude-code-proxy also takes Kimi, Grok, OpenCode Go and Cursor accounts, and CC-Router Claude accounts. AutoRouter connects Claude, ChatGPT, Grok and Gemini plans.

Do the proxies pick a model for me?

No. They run the model ID Claude Code sends, mapped by the variables you set; claude-code-proxy sends all of Claude’s aliases to one provider. AutoRouter picks a model for each turn by how hard it is, after your own rules.

Do I still get Claude models?

With AutoRouter, yes: GPT models sit beside Claude’s in the picker, and Claude models run on your Claude plan. With claude-code-proxy, Claude Code runs on the provider you map it to; CC-Router keeps Claude on Claude accounts and sends only openai/… models elsewhere.

How do I move over from claude-code-proxy?

Install AutoRouter, sign in to your plans and click Enable, then stop the proxy and drop the ANTHROPIC_BASE_URL and model variables from your shell. Rewrite any model mapping you relied on as plain-English rules, such as “Use GPT-6 Luna for background tasks.” The switch page has a prompt that does it for you.

What does AutoRouter cost?

Routing across your plans is free, and paid models bill at the provider’s price plus 10%. See pricing, or estimate a month with and without AutoRouter in the savings calculator.

Switch from claude-code-proxy

Install the Mac app, sign in to your plans and click Enable.

Download AutoRouter for Mac