claude-code-proxy
Run Claude Code on OpenAI models
- 3.8k stars
- 488 forks
- 70 open issues
- Language: Python
- License: no standard licence
- updated
Install
git clone https://github.com/1rgs/claude-code-proxy- Clone the repository.
- Follow the README for installation and usage instructions.
Editor's note
Claude Code Proxy is a Python-based HTTP proxy server that intercepts requests from Anthropic-compatible clients, particularly Claude Code, and reroutes them to OpenAI or Google Gemini backends via LiteLLM. When Claude Code sends a request intended for Claude Sonnet or Claude Haiku, the proxy translates those model names to configurable equivalents such as gpt-4.1 and gpt-4.1-mini for OpenAI, or gemini-2.5-pro and gemini-2.0-flash for Google. The backend is selected through a PREFERRED_PROVIDER environment variable supporting "openai", "google", or "anthropic" values, with Google Vertex AI supported through Application Default Credentials as an alternative to static API keys. Users point Claude Code at the local server by setting ANTHROPIC_BASE_URL=http://localhost:8082, requiring no changes to the client itself. A Docker image is published at ghcr.io/1rgs/claude-code-proxy for containerized deployment. Developers who want to run Claude Code workflows against non-Anthropic models, whether for cost, availability, or experimentation reasons, are the primary audience.
Tools overview
What people ask about claude-code-proxy
What is 1rgs/claude-code-proxy?
1rgs/claude-code-proxy is tools for the Claude AI ecosystem. Run Claude Code on OpenAI models It has 3.8k GitHub stars and its last recorded update is dated 2026-06-23.
How do I install claude-code-proxy?
You can install claude-code-proxy by cloning the repository (https://github.com/1rgs/claude-code-proxy) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is 1rgs/claude-code-proxy safe to use?
Our security agent has analyzed 1rgs/claude-code-proxy and assigned a Trust Score of 59/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains 1rgs/claude-code-proxy?
1rgs/claude-code-proxy is maintained by 1rgs. The last recorded GitHub activity is dated 2026-06-23, with 70 open issues.
Are there alternatives to claude-code-proxy?
Yes. On ClaudeWave you can browse similar tools at /categories/tools, sorted by popularity or recent activity.