Skip to main content
ClaudeWave
1rgs avatar
1rgs

claude-code-proxy

View on GitHub

Run Claude Code on OpenAI models

Tools3.6k stars474 forksPythonUpdated 6mo ago
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.

ClaudeWave Trust Score
57/100
· OK
Passed
  • Healthy fork ratio
  • Clear description
  • Mature repo (>1y old)
  • Documented (README)
Flags
  • !No standard license detected
  • !Inactive (>180d)
Last scanned: 6/11/2026
Get started
Method: Clone
Terminal
git clone https://github.com/1rgs/claude-code-proxy
1. Clone the repository.
2. Follow the README for installation and usage instructions.
Use cases

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.

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.6k GitHub stars and was last updated 6mo ago.

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 57/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 from 6mo ago, with 65 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.

Deploy claude-code-proxy to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: 1rgs/claude-code-proxy
[![Featured on ClaudeWave](https://claudewave.com/api/badge/1rgs-claude-code-proxy)](https://claudewave.com/repo/1rgs-claude-code-proxy)
<a href="https://claudewave.com/repo/1rgs-claude-code-proxy"><img src="https://claudewave.com/api/badge/1rgs-claude-code-proxy" alt="Featured on ClaudeWave: 1rgs/claude-code-proxy" width="320" height="64" /></a>

More Tools