Clodex
by Aotricx
Clodex is a small local proxy that lets Claude Code use OpenAI's GPT/Codex models instead of Claude models. It translates between the two services' formats and signs in with your ChatGPT subscription.
- Stars
- 21
- Licence
- MIT
- Runs on
- Your computer
- Setup
- Moderate
- Language
- Go
- Age
- 80 days
What you can do with it
- Run Codex models inside the Claude Code terminal tool with the same tool use and agent loop
- Use your existing ChatGPT subscription instead of a separate API key
- Start Claude Code through the clodex launcher, which sets up the local proxy for you
Ways a business could use it
- A developer or freelancer can use the ChatGPT plan they already pay for to power coding work in Claude Code, avoiding separate API costs.
- A small team can compare Codex and Claude models on real coding tasks in the same workflow before choosing which to pay for.
Can you use it commercially?
Free to use, change and sell, including in paid products. Keep the copyright notice.
Not legal advice. Read the project's licence file before building a product on it.
Getting it running
Download a single prebuilt binary for your system (or build it with Go), then sign in with "clodex auth login" and launch with "clodex claude".
Follow the official instructions in the project README.
Things to check
- Needs a paid ChatGPT subscription with Codex access
- Uses the Codex backend from an unofficial client, so your ChatGPT account could be rate limited or actioned under OpenAI's terms
- The local proxy has no authentication, so any process on your machine can spend your subscription through it
- Not affiliated with or endorsed by OpenAI or Anthropic
- Small project with few stars and pinned to a specific Codex CLI version, so it may break when the backend changes
Who's talking about it
Checked 29 Oct 2026. Summary drafted by AI from the project's README.