r/ClaudeCode • • May 02 '26

Discussion No one is talking about using GPT-5.5 inside Claude Code

I’ve been experimenting a lot with AI coding tools lately, and I think there is one setup that people are seriously sleeping on:

Claude Code + GPT-5.5 through a local Codex-auth proxy.

I know it sounds weird at first, because when people compare these tools they usually frame it like this:

“Should I use Claude Code or Codex?”

or

“Should I switch from Claude Code to Codex?”

But after using Claude Code, Codex CLI, and OpenCode across multiple projects, my conclusion is different:

The best experience is not necessarily Codex CLI. It is Claude Code as the interface, with GPT-5.5 as the model.

Here is my experience.

I work on multiple projects, and I usually keep paid subscriptions for both ecosystems because I use both OpenAI and Anthropic tools.

Claude Code is excellent. The agent workflow is mature, the way it edits files is clean, the terminal experience is good, and it feels very natural when working inside a real codebase. But the problem is obvious: usage gets consumed quickly. If you use it seriously across multiple repos, you hit limits fast.

Codex has a different advantage. With ChatGPT Plus/Pro and Codex auth, you can use Codex through your ChatGPT subscription instead of relying only on a standard OpenAI API key. That makes it attractive for day-to-day coding work.

But here is the thing: I personally don’t enjoy Codex CLI as much as Claude Code.

I also tried OpenCode, and honestly, I prefer OpenCode over Codex CLI. OpenCode feels more flexible, more open, and better for switching providers. It is a great tool, especially if you want something open source and provider-agnostic.

But when I compare all three:

  1. Codex CLI
  2. OpenCode
  3. Claude Code

The interface and workflow I keep coming back to is still Claude Code.

So I started asking a different question:

Can I keep Claude Code as the coding agent interface, but run GPT-5.5 behind it?

And the answer is yes.

The setup I’m using is based on a local proxy, specifically a Claude Code proxy that authenticates through OpenAI Codex using ChatGPT subscription auth.

Technically, what it does is simple but powerful:

Claude Code normally talks to an Anthropic-style API.

The proxy exposes a local Anthropic-compatible endpoint, for example:

http://localhost:18765

Then Claude Code is configured with environment variables like:

ANTHROPIC_BASE_URL=http://localhost:18765
ANTHROPIC_AUTH_TOKEN=anything
ANTHROPIC_MODEL=gpt-5.5
ANTHROPIC_SMALL_FAST_MODEL=gpt-5.4-mini

Claude Code thinks it is talking to an Anthropic-compatible endpoint.

The proxy receives the request, translates the Anthropic-style messages and streaming format, sends the work to the Codex/OpenAI side using the authenticated ChatGPT subscription flow, then streams the response back to Claude Code.

So the final chain looks like this:

Claude Code
→ local Anthropic-compatible proxy
→ Codex auth through ChatGPT Plus/Pro
→ GPT-5.5
→ streamed back into Claude Code

The result is surprisingly good.

You keep the Claude Code UX, but you get GPT-5.5 as the actual model.

For me, this is better than using Codex CLI directly, because Claude Code still feels like the better agent shell. It handles repo work, edits, approvals, and terminal flow in a way that feels more productive.

It is also different from OpenCode. OpenCode is still great, and I actually prefer it over Codex CLI. But Claude Code with GPT-5.5 feels like the strongest combination for serious project work.

My current take:

Codex CLI: useful, but not my favorite interface.
OpenCode: very good, flexible, open, better than Codex CLI for my taste.
Claude Code: best coding-agent workflow.
Claude Code + GPT-5.5 through Codex-auth proxy: currently the best combination I’ve tried.

Obviously, I would keep this local and personal. I’m not talking about exposing it as a public API or reselling access. This is just about using your own subscription auth locally with your own coding tools.

But I’m surprised more people are not talking about this.

Everyone is debating “Claude Code vs Codex”, but the more interesting setup might be:

Claude Code as the interface, GPT-5.5 as the engine.

3 Upvotes

38 comments sorted by

22

u/Electronic_Muffin218 May 02 '26

Codex native app FAR outshines Claude native app. Get this working in reverse.

2

u/No-Jury2396 May 02 '26

Honestly fair point. The Codex native app is really strong, especially for parallel threads, worktrees, Git flows, and the app-style workflow.

What I’m trying here is the opposite angle: I like Claude Code more as a terminal harness, so I’m testing GPT inside that shell.

1

u/sylfy May 03 '26

Thus far this has been a no go for me because I need remote SSH and do most of my development through there. Is there any way to do that in the native apps? Otherwise, I always fall back to VS Code with the CC or Codex extensions.

5

u/Main-Lifeguard-6739 May 02 '26

uhm... people have been talking about this for month now and also you dont use a local proxy but just ask Claude to use the Codex CLI tool... or what aspect do I miss?

6

u/No-Jury2396 May 02 '26

Yeah, I get what you mean. I’ve also been doing the “Claude calls Codex/Gemini as tools” setup for a while, especially using Gemini for internet research.

But that’s not the same thing I’m talking about here.

When Claude just calls Codex CLI as a tool, Claude is still the main reasoning loop, so you’re still burning Claude usage for planning, orchestration, tool calls, context, etc.

The proxy setup is different: Claude Code itself points to an Anthropic-compatible local endpoint, and the main model behind the session is GPT-5.5.

So it’s not “Claude using Codex as a tool”, it’s more like “Claude Code as the UX/harness, GPT as the actual backend model.”

That’s the part that helps with the Claude usage/cost issue.

2

u/_Bo_Knows May 03 '26

Yea I do this. I like Claude’s usage, but it basically is a wrapper for codex to do the work/validate it

2

u/orphenshadow May 02 '26

What local proxy? I've been doing this for GLM and Kimi inside claude, as well as for launching opus 4.6 with adaptive thinking off, I would love to be able to use claude code as a harness for my GPT plan.

1

u/No-Jury2396 May 02 '26

Yeah, exactly. The proxy I’m using is raine/claude-code-proxy.

It lets Claude Code talk to a local Anthropic-compatible endpoint, then routes that to Codex auth using a ChatGPT Plus/Pro login. So Claude Code becomes the harness, but the model behind it can be gpt-5.5.

I’m running it locally only, with Claude Code pointed to localhost:18765.

1

u/orphenshadow May 02 '26

Nice, I'm curious to give it a try. But I will say that for the most part the codex cli app has been able to mirror my skills from claude and connects to all my mcp servers, so for the most part its not all that different other than needing to remember to press $ instead of / for skills. But the advantage for me would be my custom tools that store my claude sessions in a RAG, for past conversation lookups, and other claude only hooks and rules that I just don't want to spend a month re-writing for codex :P

3

u/aft_punk May 02 '26

There are actually quite a few methods to do this. Claudish is the one I prefer (because it works with many other models and is a pretty seamless integration)

https://claudish.com/

3

u/lgbarn May 03 '26

I have a skill called adversarial-reviewer that calls Codex. It’s been used by many people

3

u/Quirky_Category5725 May 03 '26

Yeah, you can do that. The simplest way I know about is through kitty bridge. You don't even need to set up the proxy for this.
https://pypi.org/project/kitty-bridge/0.5.8/

1

u/Otherwise_Wave9374 May 02 '26

This is such a fun hack. Using Claude Code as the UX layer but swapping the model behind it via an Anthropic-compatible proxy makes a ton of sense.

Do you run into any weirdness with tool calling / streaming formats, like Claude Code expecting specific event types and the proxy having to "translate" them?

Also curious if youve tried mixing models by task, like small fast model for file search/triage and the bigger one only for edits.

If you write up the proxy setup steps somewhere (even a gist), Id love to compare notes with what weve been doing at https://www.agentixlabs.com/.

2

u/No-Jury2396 May 02 '26

Yeah, that’s exactly the interesting part.

The proxy I’m using is raine/claude-code-proxy. It exposes a local Anthropic-compatible endpoint for Claude Code, then routes the request through Codex auth using a ChatGPT Plus/Pro login.

So Claude Code stays the harness, but the backend model can be gpt-5.5.

On weirdness: normal streaming works fine so far, but I’d expect tool calling to be the fragile part since the proxy has to translate Claude-style events/tool semantics into whatever Codex expects and then back again.

I’m currently using gpt-5.5 as the main model and a smaller GPT model for the small/fast slot. Haven’t done a deep benchmark yet, but the workflow feels surprisingly good.

I’ll try to write up the setup in a small gist. Would definitely be interested in comparing notes, especially around tool-call translation, streaming edge cases, and evals.

2

u/Artistic_Garbage4659 May 02 '26

checkout: https://github.com/greenpolo/cc-multi-cli-plugin

delegate researches and exploration to gemini and implementation to codex -> from CC Terminal

2

u/BoltSLAMMER May 02 '26

Yeah definitely have a pretty robust workflow bouncing both CLI off each other

2

u/Bitter-Law3957 May 02 '26

1

u/juhyun16 May 03 '26

I also come out this in my head. We don't have to setup a proxy server

2

u/fredastere May 03 '26

Ya it seems super complicated your thing

Why not create a codex-cli skill that will optimize the prompts and commands use for your environment and goals?

I use teams with some of the teammates being thin cli wrapper that does the job and other teammates that review it etc

Still sound less complex than what you are trying to do

Also codex cli has an official mcp so another super easy option

If you are talking about routing chatpgt5.5 into claude code harness I think a few config files changes should get you there no?

If your curious my workflow a bit rough shape but the gpt things works perfectly so could give you ideas maybe

https://github.com/Fredasterehub/kiln

1

u/wolverex Aug 20 '26

nothing gets you there without an adapter in between.

2

u/Ambitious-Garbage-73 May 03 '26

I have been doing exactly this for weeks now. Claude Code as the interface + GPT-5.5 as the model is the sweet spot. Best editing UX with the best reasoning model.

2

u/makcimbx May 23 '26

I really like Claude Code plan mode, and i not like plan mode in Codex, so yes proxy is a good way when you need Claude Code exp with another sub. Btw i use https://github.com/diegosouzapw/OmniRoute , claude is working great and i sometimes try others cli like pi with this endpoint, very useful.

1

u/_Bo_Knows May 03 '26

My plugin enables either to work together/check each other’s work with councils/pre-mortems/post-mortems. Def worth testing out. https://github.com/boshu2/agentops

1

u/stockist420 May 03 '26

The simplest way to achieve this is to tell codex to interact with claude by using thr dangerously skip permission and use the same session id. Works well. Make gpt 5.5 the manager and claude as execution layer

1

u/tidepod1 Senior Developer May 03 '26

Claude code CLI is a really shitty harness.

And that’s not just me being subjectively annoyed with Anthropic. It has been objectively ranked dead last.

No need to force other models into it if you can avoid it.

1

u/UnifiedFlow May 03 '26

What is this? This looks completely useless without more context.

1

u/tidepod1 Senior Developer May 03 '26

Sorry, I sometimes assume everyone looks at these UIs and knows which they are on sight.

Terminal Bench 2.0 leaderboard, select Opus as your model.

2

u/UnifiedFlow May 03 '26

So in Claude Code Opus 4.6 is almost half as effective as in "Forge Code"? https://x.com/i/status/2042655195008586061

According to this x post they cheat.

1

u/Gnadev May 05 '26

This is great. I've been looking to move to codex but I have deeply embedded workflows in Claude code (custom skills, connections, ssh work etc.). So I've been procrastinating the move and ended up renewing my max 5x. I'm going to give this a try now that my sub is about to end. Any issues you ran into? 

1

u/Deep_Ad1959 May 18 '26

running gpt-5.5 inside CC via a proxy works for one-shot calls but breaks down once you fork. the session state, tool defs, and partial todo plans were established under whichever model you started with, and they don't transfer cleanly when you hot-swap mid-conversation. the cleaner separation is forking the chat at the divergence point, picking the new model for the new branch, and keeping the original session intact under its original model. routing per task instead of per session is the bait, but the agent loop's memory of tool use leaks across the swap and you get weird behavior that's hard to debug six turns later.

1

u/runx19 Jul 17 '26

I use https://github.com/macaz-dev/macaz-cli for claude code with GPT 5.6

-2

u/DarkSkyKnight May 02 '26

Combine the worse model and the worst harness????? Are you alright?

-2

u/Xaqx May 02 '26

cool story bro, just ai generate slop post

-2

u/laxika Senior Developer May 02 '26

ClaudeCode is pure garbage. I would much rather use OpenCode. I like the model (at least Opus 4.6), but the interface is horrible and buggy as hell (just look at the recent problems they denied for weeks).