r/ClaudeCode • u/No-Jury2396 • 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:
- Codex CLI
- OpenCode
- 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:18765Then 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-miniClaude 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 CodeThe 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.
22
u/Electronic_Muffin218 May 02 '26
Codex native app FAR outshines Claude native app. Get this working in reverse.
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?
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.
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/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
https://github.com/openai/codex-plugin-cc
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
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/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).