# 1rgs/claude-code-proxy

Run Claude Code on OpenAI models

Repository: https://github.com/1rgs/claude-code-proxy
Canonical: https://ross.abutalabs.com/products/claude-code-proxy
Language: Python
License Family: other
Last push: 2026-06-23T02:46:08+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 35, longevity 38
- inputs: {"age_days": 533, "days_push": 71, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3736, forks 488 (observed 2026-08-28T04:08:15.789457+00:00)

## What it is
A Python proxy server that translates Anthropic API requests so Anthropic clients like Claude Code can run against OpenAI, Gemini, or Anthropic backends via LiteLLM. It maps Claude model names (haiku/sonnet) to configurable alternative models.

## Use cases
- run claude code with openai models
- use claude code with gemini
- proxy anthropic api requests to openai
- map claude sonnet requests to gpt-4.1
- use claude code without an anthropic subscription
- route anthropic clients to vertex ai gemini models

## When to choose
- you want to use Claude Code but prefer OpenAI or Gemini models
- you need an Anthropic-compatible API endpoint backed by other providers
- you want transparent proxying to Anthropic with model name mapping

## When to avoid
- you need a production-grade proxy with authentication and rate limiting
- you use non-Anthropic client tools that already support OpenAI APIs directly
- you require a maintained project with a license and long-term support

## Facets
- artifact type: service
- maturity: active
- function: proxy, llm-inference, http-server, api-framework
- domain: large-language-models, apis, developer-tools, artificial-intelligence
- platform: python, self-hosted, cross-platform
- tags: anthropic-api, claude-code, litellm, openai, gemini, model-mapping, api-compatibility-layer, docker

## Member repositories
- 1rgs/claude-code-proxy (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.789457+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:10.036384+00:00, confidence not recorded.
  - readme: https://github.com/1rgs/claude-code-proxy (fetched 2026-08-28T04:08:15.789457+00:00, sha 6dc21d363082)
- Data as of 2026-08-30T08:39:29.467469+00:00.
