Claude Code model router

claude-code-proxy

Local proxy to use Claude Code with ChatGPT, Kimi, Cursor or Grok subscriptions.

692 stars 165 forksModel routers & proxies Source

Install

Install
brew install raine/claude-code-proxy/claude-code-proxy
From source
git clone https://github.com/raine/claude-code-proxy.git

From the README

claude-code-proxy

Claude Code, powered by OpenAI Codex, Kimi, Grok, OpenCode Go,
or Cursor Agent.

Docs:

LLM docs:

Also from the author of claude-code-proxy: aven, one
queue for every project, with a keyboard-driven TUI for you and a CLI for your
agents.

Why?

Claude Code remains an excellent coding harness, with strong tools, skills,
hooks, subagents, and editor integrations. claude-code-proxy keeps that client
experience while translating its Anthropic API traffic for subscription-backed
provider services.

One local process handles provider authentication, model-based routing,
protocol translation, streaming responses, and diagnostics. The built-in
monitor shows sessions, active and recent requests, errors, token usage, and
throughput.

Quick start with Codex

Install on macOS or Linux:

Or use the release installer:

Windows and other prebuilt artifacts are available from
GitHub Releases.

Sign in with a ChatGPT Plus or Pro account, not an OpenAI API account:

Start the proxy in one terminal:

For a background service, use claude-code-proxy serve --no-monitor and attach
from another terminal with claude-code-proxy monitor. Closing an attached
dashboard leaves the proxy running.

Start Claude Code in another:

See Getting started
for the complete first session.

Optional Codex image generation and editing can reuse the same ChatGPT login:

The opt-in Images API returns base64 image data and consumes the signed-in account's image quota. Image prompts and payloads are excluded from traffic captures. See the HTTP API for generation and edit schemas.

Providers

Run claude-code-proxy models for the current catalog or
claude-code-proxy models --full for every dynamic Cursor alias.

The proxy accepts local requests without client authentication. It binds to
127.0.0.1…
Read the full README on GitHub

Details

Language
Rust
License
MIT
Last updated
31 October 2026

FAQ

What is claude-code-proxy?

Local proxy to use Claude Code with ChatGPT, Kimi, Cursor or Grok subscriptions. It is a model router for Claude Code, from raine/claude-code-proxy on GitHub.

How do I install claude-code-proxy?

Run brew install raine/claude-code-proxy/claude-code-proxy, then follow the setup in the README.

Is claude-code-proxy popular?

raine/claude-code-proxy has 692 GitHub stars and 165 forks. It was last updated on 31 October 2026.

More model routers & proxies

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