claude-code-proxy
Claude Code to OpenAI API Proxy
- 2.8k estrellas
- 416 forks
- 26 issues abiertos
- Lenguaje: Python
- Licencia: MIT
- actualizado
Instalación
git clone https://github.com/fuergaosi233/claude-code-proxy- Clone the repository.
- Follow the README for installation and usage instructions.
Nota editorial
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.
Resumen 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 26 issues abiertos.
¿Hay alternativas a claude-code-proxy?
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.