Run Claude Code on OpenAI models
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.
- ✓Healthy fork ratio
- ✓Clear description
- ✓Mature repo (>1y old)
- ✓Documented (README)
- !No standard license detected
- !Inactive (>180d)
git clone https://github.com/1rgs/claude-code-proxyTools 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.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.
[](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
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies