1rgs/claude-code-proxy

Run Claude Code on OpenAI models

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 18th, 2026
Created on March 19th, 2025
Open Issues & Pull Requests: 70 (+0)
GitHub issues: Enabled
Number of forks: 490
Total Stargazers: 3,751 (+0)
Total Subscribers: 22 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 5.2 days
Mean response time: 37.5 days
90th percentile: 142.0 days
Tracked items: 33

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 45
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 380 days
Stale 30+ days: 44
Stale 90+ days: 42

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Claude Code Proxy is a proxy server that lets you use Anthropic clients with OpenAI, Gemini, or Anthropic models interchangeably.

The tool solves the problem of client lock-in by intercepting Anthropic API requests and routing them to alternative model providers. It uses LiteLLM as its routing layer and maps Anthropic model names like haiku and sonnet to equivalent models from your chosen provider. The proxy runs as a local server that Anthropic clients connect to, allowing transparent switching between OpenAI, Google Gemini, or direct Anthropic backends without changing client code.

You should adopt this tool if you want to use Claude Code or other Anthropic-compatible clients with models from different providers, or if you need to switch providers without reconfiguring your applications. It suits projects where you have API access to multiple model providers and want flexibility in which backend actually processes requests. The tool supports three configuration modes: defaulting to OpenAI models, using Google Gemini with either static API keys or Application Default Credentials, or passing requests directly to Anthropic. You can customize which specific models map to haiku and sonnet requests, giving you control over cost and capability trade-offs.

The project shows active development with recent commits addressing core functionality. Work has focused on implementing the proxy routing logic and expanding provider support to include Gemini and Vertex AI authentication options. The codebase includes configuration management for multiple authentication methods and model mapping strategies, indicating attention to real-world deployment scenarios.