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.