Hacker News new | past | comments | ask | show | jobs | submit
Ok long time Claude Code user here; lately I've started to realize there's other great models out there I should be trying, but I'm hesitant to leave Claude Code behind for something new.

What's the consensus today on codex vs claude code, does it really matter anymore?

Codex has arguably been better than Claude Code for months now, but it's flown under the radar because it just didn't capture the same viral marketing effect and OpenAI in general has had more optics / PR issues than Anthropic amongst the online developer crowd. I use the word "better" not in the sense that the underlying GPT models are fundamentally smarter or more intelligent, but rather that as a product Codex is just simpler, cheaper, and abundantly reliable and low-drama.
I’d argue the opposite. I’ve switched back and forth from one to the other and Opus/Fable has been constantly better than any GPT in my daily work. It’s a bit slower but it does the things right, with as little code as possible, some comments where needed. Codex is faster but you always have to correct it because it got something wrong; it writes tons of code ("let me add a small helper") with obvious comments.
loading story #48849826
loading story #48849683
loading story #48849927
loading story #48850178
loading story #48850431
That's a strange statement... It's been true for a while now that OpenAI has had much more generous limits than Anthropic on their subscription plans. And with the Fable ban/guardrails disaster, there has been a lot of frustration from people in these comment sections. And Anthropic fucked up Claude Code pretty badly for a couple of weeks during the 4.6/4.7/4.8 transition, which again was widely publicized. And they got a lot of flack over not allowing other harnesses anymore. And ChatGPT got some pretty viral wins on model intelligence when they cracked the high profile Erdos problem.

If anything the online optics have been bad for Anthropic for the last half year. OpenAI doesn't have optics issues, from my point of view they simply have the issue that they are the least trustworthy player at the frontier. The way they pivoted from their original mission is truly breathtaking, especially coming in gloatingly to take the government contract when Anthropic got kicked out for insisting the government does not use their systems for mass surveillance or autonomous weapons systems. You understand what that means, right? OpenAI models are now actively used/developed for mass surveilance and/or autonomous weapons systems.

I know there are plenty here who seem to value their own ability to use these models cheaply above all other considerations. Then OpenAI is a great choice, and much less restrictive than Anthropic. But their problem is not on the optics. It's on the substance.

I really want a good Claude Design competitor in Codex, it's hard to use the others after getting used to it and yet I find anthropic's model to have a much worse understanding of what looks good or not than OpenAI or Google models.
Agreed. GPT 5.5 will come up with more straightforward solutions with far fewer tokens than Claude. Also, the usage limits are much more generous for Codex than Claude Code for the same monthly plan.
Last time I used Codex it would make loads of assumptions, often quite big ones, without asking.

Did they fix that, as that for me was what actually made codex worse.

I find that I have to tell GPT and Claude to keep asking me questions, or they will just fill in the gaps themselves (wrongly).
Nudged by this thread, I've decided to switch from Claude to Codex for a bit to see what happens. But...I immediately became lost in their marketing vortex of confusion on plans and pricing. Anyone care to tell me which plan I should be using? On the other side I use the $100 Claude Code plan. We actually have a "Business" ChatGPT subscription already, which seems to be $50/mo/seat. OpenAI's web site offers a set of individual subscriptions (for parity with CC presumably) which I suspect weren't available when we signed up for ChatGPT. I think that in turn happened due to some web site feature it didn't allow for free users (uploading PDFs, something like that). Perhaps I should switch from that business account to an individual subscription for Codex?
loading story #48850417
There is so much less drama involved with the Codex world. You don't realize how oppressive CC is until you've escaped it. Outages, weird restrictions, degradation, accelerated usage, etc etc etc.
loading story #48849379
loading story #48849804
loading story #48849472
loading story #48850027
I've been using Claude Code, Codex, Gemini (now Antigravity) at the same time for half year now, ever since I dipped my toe into agentic coding. I'd say in general Claude Code and Codex are equally powerful, Gemini is lagging behind.

One thing I appreciate with Codex is, OpenAI nowadays sometimes just gives you quota resets you can bank, so when you use up weekly quota before the week ends, you could just reset the quota, to continue using Codex. I've been much less anxious about Codex quota because of this perk. I just used one reset in the bank yesterday, and still have 3 resets left. Whereas with Claude, when you've used 95% quota 3 days before the week ends, you'd be much more anxious.

On the other hand, Claude Code's /remote-control mechanism is extremely helpful when I am running it in the cloud and wants to monitor it or control it on my phone. Codex currently doesn't support this kind of usage. Codex only allows you to use your phone to connect to a session on your desktop, not in the cloud.

loading story #48850265
loading story #48849682
loading story #48849869
I prefer codex for most tasks, but stil use Claude if i need to make something "nice but generic", i.e. a html artefact or touch up of front end code.
Claude Code fan here... Codex is very good. Sometimes better. The killer feature is price.

After 6+ months of exclusive Claude Code usage, I was begrudgingly forced to try Codex once Anthropic rejiggered their limits such that I kept maxing out my $200/mo plan in just a few days. These days I pay both $200/mo plans, and it's just about enough to get me through a week's work (small game studio - infinite code to write!)

I can't tell the difference between Fable and GPT 5.5. I tried Fable while it was in trial $20 mode, used up my whole quota, and it was great, but as soon as I went back to GPT 5.5, everything was the same.

But what I love about Openai is that they still let you hook OTHER harnesses up to a subscription. My Pi setup has been built up for a few months now into exactly what I want and moving over to CC or even Codex is really annoying.

Caveat: I vibe code in tiny little chunks. I see what I want to do, and exactly how I want it done, then prompt that, refine, what was output, then repeat. I bet Fable is better at building a whole app from a 2-sentence prompt; but that's just not important to me at all.

loading story #48850202
> does it really matter anymore?

They're different models with different philosophies behind them. This is anecdotal with a user group of 1, but in my experience:

Claude has a stronger personality and is more creative. If you give it vague instructions, it's better at filling in the blanks with reasonable ideas.

GPT-5.5 is better at following instructions. If you know exactly what you want, it will do it without going off the rails. It's also less likely to imply that you're dumb, but I don't really care about that. Some people do.

loading story #48850222
Codex has been good for a long time, more expensive but very focused on efficiency. Working with it feels faster and more to the point than Opus models and I trust it more with long-running jobs. Also regular resets vs being at the whim of Anthropic drama all the time is hella nice.
loading story #48849348
loading story #48849437
It never really mattered (except when codex was very new). If anything, codex's remote session integration is better, so outside of some "ultracode" orchestration bells/whistles where Claude Code is ahead, I think Codex is a better tool.
loading story #48849518
The harness is so much better than cc which is a buggy mess. Gpt is also way faster than Claude. I’ve been using gpt for a while now and I know a lot of people that swapped away from Anthropic for multiple reasons. However - fable still seems to be the best coding agent, it’s just slow and the harness sucks. So I still use it in some rare cases like to review codex. I’m hoping 5.6 lets me drop it entirely.
IME it entirely depends on your work. I find myself using both daily for different things.

Codex with GPT 5.5 is much better at general SWE tasks but Claude Code with Opus is far better at complex reasoning tasks like reading and summarizing research papers, replicating experiments, identifying research gaps and proposing interesting follow ups.

I'm also a long-time Claude Code user here, though the last 3 weeks I've been doing loops having claude use codex to review until they reach consensus; uses tons of tokens but the result is really good.

I'm trying Codex as my primary the last day or so, because I'm at 98% use and reset in 3 days on Claude. I'm worried about a lot of our skills and CLAUDE.mds and the like getting lost unless I migrate them, but otherwise codex seems to be working great.

Use a harness that doesn't lock you into a moat, like OpenCode.
loading story #48850439
loading story #48850266
loading story #48849183
loading story #48850076
loading story #48849176
> What's the consensus today on codex vs claude code, does it really matter anymore?

Consensus is probably the wrong word for the popular opinions reflected in HN that you might get.

I would recommend that you have 2 of each at all times when it comes to AI so you don't necessarily become overly locked to quirks of one thing. You'll soon realize that things move so fast that you just start internalizing common patterns instead of depending on one specific vendor.

I recommend that you try pi and codex besides claude, to get your own feel for it.

More literal, less fluid verbally, harder time understanding nuance, more correct code, fewer bugs. Less pretty UI. I switch back and forth but find I have less 'clean up' work with codex; more upfront communication though to properly specify. High hopes for 5.6!
I use both. Not because I am cool, but because it is cost effective for personal projects with two $20 / month plans. It is also nice to be able to see what the state of the art is like for both.

Personally, I find it very interchangeable. I open codex --yolo or claude with whatever there yolo flag is (have an alias).

Not sure about the consensus, but during an entire week I have done every task on my workplace with both Opus 4.8 and GPT 5.5. GPT won hands down. I would even sometimes copy the plans and solutions (using different Git worktrees) from GPT and paste it on Opus and itself would say GPT plans were better. At that point I have migrated. Fable is not enabled in our workspace so I have not tried.

Claude lost my trust around February this year when the plan would say nonsensical things as "delete this method" that was clearly a key method on that part of the codebase.

For personal projects I am using Codex 20$ plan and when that is over I use DeepSeek which is insanely good for the cost.

My experience is that Codex's auto review is extremely costly, with $20 on both sides, I can run CC with auto mode for longer than with Codex's auto review enabled. Also in my own experience Claude's usage is actually bigger than Codex, but I am not sure if that's due to I stick to 5.5 with Codex while keep Sonnet as the default to orchestrate other models in CC.
I personally use opencode so I can swap between models and try different options. I'd say I prefer claude (fable and opus 4.8) so far, but curious to see where gpt 5.6 lands.

For personal stuff, I've been pretty happy with chatgpt's $20 plan. I believe it has considerably higher limits than claude's $20 plan, and it's enough for the personal stuff I play with (hermes, and some small coding stuff). Also allows me to keep up to date on openai models.

loading story #48849424
I spent the last couple days switching because Anthropic keeps locking stuff behind API pricing. OpenAI lets you do anything with your sub right now. I'm building headless and web interfaces around Pi.dev. I had this previously with Claude Code but they are going to lock away all those features. I think the Claude does a better job at being proactive to solving things, but I'm going to keep tweaking my harness to nudge gpt to do more in it's turn. Not sure!
Personally, I started using openai models to mess with other harnesses. I was pretty oppositional to CC and how they don't let you kinda plug and play freely, or give transparency into -p usage with other harnesses. So i mix and match a bunch of openai and some chinese models im trying out into opencode. I keep hearing codex is great, on the tier of current CC, I've tried it and it just ate my entire 5 hour usage window looping without asking for clarification on something and none of it was usable. that was the only time i tried codex as i could got that same task done with maybe 20% of my window with my existing openai opencode workflow.

I had put a decent amount of effort into setting up that initial codex attempt and it went so poorly that i've been entirely uninterested in trying again. This was maybe a month or so ago, and i know stuff moves fast, but for me, i like the models, dont care for the harness.

They blocked Claude from being used in a different harness as well squeezed the usage like crazy. Switched to Codex and haven't cared since.

Between the two the biggest difference by far is ... getting your harness / AGENTS.md / skills / tools set up right.

In my experience, for coding Codex is definitely far ahead of Claude Code, even when using Fable 5 as a model.
loading story #48849632
I use Conductor pretty much exclusively and it makes it incredibly easy to try different models, even within the same workspace - definitely recommend giving it a shot. Whenever I'm forced to use the Claude Code app directly it just seems woefully inadequate compared to Conductor
If you can afford to test it seriously, running both in parallel, it's worth a test to see which you prefer. If you can't, don't bother. You're not likely missing anything since they are close to personal preference with most people I know who have meaningfully tried both preferring Claude
I sub both codex and claude at 20x. I like opus+fable more than gpt5.5 because it seems gpt tries to finish tasks by leaving any ambiguity unresolved. claude seems better at surfacing open questions.

This is using the same AGENTS.md prompts, which were designed firstly for Claude use, so maybe it's something that could be optimized better if I understood gpt as well?

The answer is it depends. Claude's generally better at frontend and debugging tasks, while Codex is stronger at backend features and exploratory work. They have very different coding styles and thus very different strengths.
loading story #48850024
Codex app is a much different experience than CC CLI. I would try it out for a couple days with the new model suite and see what you prefer after that.
Last time I tested Codex on a cheap plan, it barely lasted an hour? I think this was for the $20 plan. I was afraid to try the more expensive plan after that. Not sure, I might just outright rip my Claude Code bandaid if the current usage quotas do die off after the 17th or whatever date they said they would "return on".
You wouldn't be leaving Claude Code, just trying something new. If you don't like it just resume using Claude.
It's not clear replies to this thread aren't openAI employees or incentivized influencers, but every benchmark has gpt-5.5 underperforming opus 4.8, sometimes by as much as 10%.

Can they all be wrong/paid-off?

If you can afford it and you have something to justify the expense, I would get both. they're interesting to run side by side, you can hand things off from one to the other. Pretty neat. Unfortunately now I just want to have both :(
I have found Claude Code to be so much better than other common harnesses that it's kept me solely in the Anthropic ecosystem.
I left Claude for Codex months ago. I was an early Claude Code adopter but I have found Codex consistently better since about the February time frame. And far more reliable.

It's more diligent and empirical and results focused, and less creative. It sometimes needs a kick to avoid a Zeno's paradox of incremental steps to get to the goal. But it produces more reliable code with fewer race conditions, unhandled negative cases, etc.

It's also better value from a $$ POV, or at least has been. This fluctuates a bit.

You're also free to use your Codex subscription with other harnesses, like opencode, etc. Unlike Anthropic. Plays better with others.

Not sure there's going to be a consensus, but I can tell you that when i have codex review claude-written code, it finds important gaps and fixes. The reverse is also true. Both are powerful, but even better when used in combination
just try it you will back to codex because gpt is trash, I ask for refund under 7 hours
IMO LMArena is the best benchmark that avoids benchmaxxing

https://arena.ai/leaderboard/agent

5.6 isn’t on there yet but Fable leads by a significant margin atm

loading story #48850044
There was just a study showing that when presented blindly no one could tell the difference yet users were avid they could
loading story #48849561
For me the biggest shift was using Deepseek through an American provider with reasonix as the harness, making cache hits at a rate of practically free.
I wish they open source their desktop app and built-in skills one day. That would be a final blow for me.
I use both especially for checking each others work. Pretty happy with results
They are both excellent but excel in different areas. Fable is super super proactive and great for doing a LOT of work with a single prompt, also for creative work.

Codex is more details focused, often catches wonky bugs and correctness issues that Fable misses, feels more terse and less "friendly", more like a stern senior engineer versus a friendly talkative engineer (Claude). Codex is also better if you're already an engineer, Claude is better for non-engineers. I.e. Codex works better if you know exactly what you want and know the right way of explaining it.

Consensus itself does NOT matter, omp is objectively the best harness for power users yet it has 0 hn posts about it, zero.

You're fully free to use and try anything and without caring about what others think is right

I figured pi itself would be the best harness because it's barebones and you make it what you want. omp is to pi what doom is to emacs is what lazyvim is to neovim.
The fact that I thought that this was amp misspelled until i someone validate omp and the checked myself indicates it's a subjective assertion at best.
omp is really good.

I have one non technical people in my firm using it. One is using it to assist with editing books, basically using it to gather up manuscripts from e-mail / Google Doc etc. submissions, and then switch models between a cheap one and Opus (for actually analysing the manuscript).

The other non-technical person has done really surprising things with it AI, like a long-running GPT 5.5 Pro chat session which is basically her expense tracker - it has an .xlsx file "carried" in the chat, and she just tells ChatGPT (or scans a receipt) whenever she has a new expense, and then prompts it in natural language when she needs a report. I'm looking forward to seeing what she can do with omp.

Absolutely. It's the only harness that is actually RSI and not run by idiots.
How can this be "objective"? Surely its subjective.

I've tried a fuck load of harnesses but keep coming back to Codex as my harness.

> omp is objectively the best harness for power users

Care to detail this?

"objectively the best"?
Probably means subjectively according to his own opinion...
Try OpenCode and you can point it at either model
Codex UI is way way way better than Claude Code

- codex UI is much more responsive

- i get feedback about the progress easily

- the tool calls and results are very legible, I can click them and see the progress

- no one talks about this but the tool call and response notification are handled much more elegantly in Codex. In Claude Code, it is handled in a clunky way using loops which always causes some delay

- you can steer the conversation midway in Codex

- /side is underrated (/btw is the equivalent and is much worse in Claude Code)

- I have to admit subagents are handled better in Claude Code

With the exception of Fable which is going away anyway, Codex is better especially after the last couple Opus releases. It’s also no longer slower than Claude.

You get much more generous usage from the 20x plan.

And you get far better uptime.

If benchmarks and early tester impressions are accurate, you also get access to Fable level capability at greater speed and lower cost (included in subscription).

loading story #48849499
Claude Code is a massively bloated agent harness.

Try Pi: https://pi.dev/

loading story #48849470
I use Claude for planning, writing CRs, and code review.

Codex writes all of the code, no exceptions.

Works great, especially when you ask Claude to break up large CRs into roughly 10 minutes of Codex work each.

loading story #48850363
> I'm hesitant to leave Claude Code behind for something new.

Codex and Claude Code are not mutually exclusive, you can use both.

In my projects, Claude writes and Codex reviews, and I've had a lot of code I've been very happy with out of that, although as of today, Grok _also_ reviews, and finds interesting new stuff.
I use both constantly for different things. You don't need to be a one-model Andy
I've subscribed to ChatGPT/Codex for over a year and tried a Claude sub twice 1 month each, with a gap of several months in between.

I tried them both side by side, mostly for reviewing existing Godot/GDScript code, or sometimes generating Swift Mac apps, including converting ancient artifacts I wrote in Visual Basic on Windows

Codex was consistently better than Claude: https://i.imgur.com/jYawPDY.png

Besides the useless "This is good" findings while reviewing and the excessive "oops you are right" backtracking, Claude's atrocious UX and borderline "spyware" make me never want to try an Anthropic product again for a long long while.

Literally every top model is identical and anyone saying otherwise is engaging in astrology.
loading story #48849651
loading story #48849644