Claude Code model router
claude-code-proxy
Local proxy to use Claude Code with ChatGPT, Kimi, Cursor or Grok subscriptions.
Install
brew install raine/claude-code-proxy/claude-code-proxygit clone https://github.com/raine/claude-code-proxy.gitFrom 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…
Details
- Repository
- raine/claude-code-proxy
- Website
- claude-code-proxy.raine.dev
- 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
Code Switch
826daodao97/code-switch
Desktop tool for switching Claude Code and Codex between API providers.
claude-code-switch
666foreveryh/claude-code-switch
One-command model switcher for Claude Code.
Routatic Proxy
982routatic/proxy
Routes Claude Code requests through multiple upstream providers with automatic model selection.
jev-router
652gargpratyush/jev-router
Routes each Claude Code task to the cheapest suitable model.
Meridian
2.2krynfar/meridian
Use Claude and Antigravity with Pi, OpenCode and other coding clients. Local API bridge, usage dashboard and Mac app. Antigravity preview available in 1.74.0.
Mcpc
1.1kapify/mcpc
The most compatible MCP CLI client. Supports: tools, resources, prompts, completions, async tasks, skills, stdio and streamable HTTP (MCP 2026-07-28 and 2025-11-25), persistent sessions, OAuth 2.1 with DCR, CIMD, client credentials, and ID-JAG, OS keychain, --json for code mode, grep for tool discovery, proxy for AI sandboxes, x402, and more.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.