git404hub

what is openai-codex-claude-code-proxy fr?

mikechongcan/openai-codex-claude-code-proxy — explained in plain English

Analysis updated 2026-05-18

3PythonAudience · developerComplexity · 4/5Setup · hard

tl;dr

A local proxy that lets Claude Code run on GPT-5.6 models via OpenAI/Codex OAuth or Azure OpenAI, with cost-tiered routing for subagents.

vibe map

mindmap
  root((claude code proxy))
    What it does
      Proxies Claude Code to GPT
      Translates Anthropic API
      Routes subagent tiers
      Keeps credentials local
    Tech stack
      Python
      CLIProxyAPI
      Azure OpenAI
    Use cases
      Use GPT with Claude Code
      Cost tiered subagents
      Azure hosted deployment
    Requirements
      macOS or Linux
      Claude Code installed
      OpenAI or Azure account

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Run Claude Code using GPT-5.6 models instead of Anthropic's own models.

VIBE 2

Route Claude Code's main conversation and its subagents to different GPT model tiers to control cost.

VIBE 3

Connect Claude Code to an Azure OpenAI deployment using API keys instead of a subscription login.

what's the stack?

PythonClaude CodeCLIProxyAPIAzure OpenAI

how it stacks up fr

mikechongcan/openai-codex-claude-code-proxy0marildo/imago100/geotwitter
Stars333
LanguagePythonPythonPython
Last pushed2015-09-10
MaintenanceDormant
Setup difficultyhardeasymoderate
Complexity4/52/53/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · hard time til it works · 1h+

Requires a separate CLIProxyAPI install plus either an OpenAI/Codex subscription or an Azure OpenAI deployment with API keys.

No license information is provided in the README.

in plain english

This project lets you run Claude Code, Anthropic's coding assistant tool, using GPT models instead of Claude models underneath. It works by starting a small local proxy server that translates the requests Claude Code normally sends to Anthropic into requests that OpenAI or Azure OpenAI can understand, and translates the responses back so Claude Code does not notice the difference. It ships as two launcher scripts. One connects Claude Code to GPT-5.6 through an OpenAI or Codex subscription using a browser login, and the other connects it to a GPT-5.6 deployment hosted on Azure OpenAI using an API key. Both scripts start the local proxy automatically, keep your actual API credentials out of Claude Code itself, and use separate model names for each provider so a request cannot accidentally bill the wrong account. A notable feature is how it handles subagents, the smaller helper AI tasks Claude Code spins up for specific jobs. The main conversation runs on the largest model tier, while subagents can be routed to smaller, cheaper GPT-5.6 tiers depending on whether the task calls for careful review or quick exploration. This routing can be controlled per session or forced onto a single tier. Setting it up requires macOS or Linux, Claude Code itself installed, a separate open source tool called CLIProxyAPI, Python 3, and either an OpenAI or Codex subscription or an Azure OpenAI account with a deployed GPT model. Setup involves cloning the repository, filling in a configuration file with credentials and a generated local access token, and authenticating through a one-time browser login for the OpenAI OAuth path or by pasting Azure keys for the Azure path. The project also includes scripts to test that the connection and Azure's prompt caching feature are working correctly, along with security notes about keeping the local proxy off any public network.

prompts (copy fr)

prompt 1
Walk me through setting up the .env file and generating a local proxy token for this project.
prompt 2
How do I authenticate the OpenAI Codex OAuth launcher and start Claude Code with it?
prompt 3
Explain how subagent model routing between Sol, Terra, and Luna works in this proxy.
prompt 4
How do I configure the Azure OpenAI deployment names to match my own Azure resource?

Frequently asked questions

what is openai-codex-claude-code-proxy fr?

A local proxy that lets Claude Code run on GPT-5.6 models via OpenAI/Codex OAuth or Azure OpenAI, with cost-tiered routing for subagents.

What language is openai-codex-claude-code-proxy written in?

Mainly Python. The stack also includes Python, Claude Code, CLIProxyAPI.

What license does openai-codex-claude-code-proxy use?

No license information is provided in the README.

How hard is openai-codex-claude-code-proxy to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is openai-codex-claude-code-proxy for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.