Claude Code to OpenAI API Proxy
Claude Code Proxy is a Python-based translation layer that intercepts requests from the Claude Code CLI and forwards them to any OpenAI-compatible backend, exposing a `/v1/messages` endpoint that mimics the Anthropic API. Developers point Claude Code at the local server by setting `ANTHROPIC_BASE_URL` to `http://localhost:8082`, and the proxy converts those calls to OpenAI-format requests before routing them to a configured provider such as standard OpenAI, Azure OpenAI, or a local Ollama instance. Model routing is handled through three environment variables (`BIG_MODEL`, `MIDDLE_MODEL`, `SMALL_MODEL`) that map Claude tier names like opus, sonnet, and haiku to whichever models the target provider offers. The proxy preserves tool use, SSE streaming, and base64 image inputs during translation. A notable detail is the `CUSTOM_HEADER_` prefix convention, which lets operators inject arbitrary HTTP headers into outbound requests without code changes. The project suits developers who want to use the Claude Code workflow against non-Anthropic models, whether for cost reasons, provider preference, or local inference.
- ✓Open-source license (MIT)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Mature repo (>1y old)
- !Inactive (>180d)
git clone https://github.com/fuergaosi233/claude-code-proxyResumen de Tools
Lo que la gente pregunta sobre claude-code-proxy
¿Qué es fuergaosi233/claude-code-proxy?
+
fuergaosi233/claude-code-proxy es tools para el ecosistema de Claude AI. Claude Code to OpenAI API Proxy Tiene 2.8k estrellas en GitHub y su última actualización registrada es del 2026-03-12.
¿Cómo se instala claude-code-proxy?
+
Puedes instalar claude-code-proxy clonando el repositorio (https://github.com/fuergaosi233/claude-code-proxy) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar fuergaosi233/claude-code-proxy?
+
Nuestro agente de seguridad ha analizado fuergaosi233/claude-code-proxy y le ha asignado un Trust Score de 74/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene fuergaosi233/claude-code-proxy?
+
fuergaosi233/claude-code-proxy es mantenido por fuergaosi233. La última actividad registrada en GitHub es del 2026-03-12, con 23 issues abiertos.
¿Hay alternativas a claude-code-proxy?
+
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.
Despliega claude-code-proxy en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/fuergaosi233-claude-code-proxy)<a href="https://claudewave.com/repo/fuergaosi233-claude-code-proxy"><img src="https://claudewave.com/api/badge/fuergaosi233-claude-code-proxy" alt="Featured on ClaudeWave: fuergaosi233/claude-code-proxy" width="320" height="64" /></a>Más 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 provides design intelligence for building professional UI/UX across multiple platforms.
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Use Claude Code, Codex, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)