logoalt Hacker News

Syntafyesterday at 5:08 PM72 repliesview on HN

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?


Replies

nilknyesterday at 5:23 PM

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.

show 9 replies
postalcoderyesterday at 5:13 PM

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.

show 8 replies
wwind123yesterday at 5:29 PM

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.

show 5 replies
davidhsyesterday at 6:45 PM

I recommend trying Codex too. In fact, I recommend running them side-by-side if you have the budget, e.g. have both independently plan the same feature or implement in a different worktree, or have them critique each other's work.

I personally find GPT-5.5 to be a better programmer than Opus 4.8, it is extremely thorough, but I don't like the code it generates ("austere"), and find Opus 4.8 to write more "human friendly" code. The programming comments GPT-5.5 makes is pretty awful where-as Opus 4.8 is good. I feel like Opus 4.8 is better at grasping my intention than GPT-5.5, and honestly find GPT-5.5 to be kind of "autistic". I do prefer the language (not the writing) of GPT-5.5, as I find the philosophical flowery language of Opus 4.8 kind of annoying.

I have only managed to try Fable 5 a little bit, which feels like a much more generally smarter version of Opus 4.8, that is much better a programming and grasping your intention, and I think even the intention of your code, and is _really_ good at spotting bugs or problems with logic in your code. It feels wicked smart but is extemely expensive. It feels smart in the sense like it has a "bigger brain" and is much more sensitive to subtleties/details.

These are different "brains", have different "personalities", etc. I think the best thing is to develop a feeling for it yourself.

show 2 replies
aromanyesterday at 5:34 PM

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!)

show 2 replies
CuriouslyCyesterday at 5:10 PM

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.

show 1 reply
kristiancyesterday at 5:14 PM

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.

show 2 replies
InsideOutSantayesterday at 5:59 PM

> 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.

show 1 reply
sidrag22yesterday at 5:15 PM

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.

Daedrenyesterday at 5:10 PM

Use a harness that doesn't lock you into a moat, like OpenCode.

show 5 replies
xur17yesterday at 5:21 PM

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.

show 1 reply
pkulakyesterday at 5:54 PM

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.

show 1 reply
edumucelliyesterday at 5:55 PM

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.

alexhansyesterday at 5:50 PM

> 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.

bakiesyesterday at 5:12 PM

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!

ra0x3yesterday at 11:49 PM

My final answer on this is that we just can't say anything affirmative because all of our projects/codebases are completely different. I've gone back and forth on the "codex vs claude" being better, and while I'm currently of the believe that Claude is superior, I understand that might be the case for _my_ particular set of projects and _my_ personal way of interacting with the model.

gregwebsyesterday at 10:43 PM

I run my AI agent as a different user (in addition to using the sandbox functionality provided by cc/codex). It does not seem possible to run the Codex GUI as a different user. I can run the TUI (/Applications/Codex.app/Contents/Resources/codex) but it has the shortcoming that remote control is only available in the GUI.

I installed the Claude Code Codex skill provided by Anthropic and I am having Claude invoke it automatically to review all plans and changes. The nice thing about this is that for an additional $20/month pro plan I can extend the runway for Claude rate limiting and compare frontier model responses. I am looking for more ways now to work in Codex as a subagent that gets used automatically from Claude Code.

bmurphy1976yesterday at 10:29 PM

I use both. Both are great. But in terms of Desktop Apps I think Codex has the better UI. It's more straightforward, just works, and has small conveniences like the open in editor icon.

Claude's very bloated and convoluted by comparison. Maybe you need the bloat (Claude Design), but I prefer the more razor's edge efficiency of Codex.

Model wise, I can't really tell. They all do what I want them to do most of the time and go off the rails occasionally. The question is increasingly becoming who's faster and cheaper and gives me more tokens, not who's better.

NiekvdMaasyesterday at 5:15 PM

In my experience, for coding Codex is definitely far ahead of Claude Code, even when using Fable 5 as a model.

show 1 reply
vessenesyesterday at 5:16 PM

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!

Lucasoatoyesterday at 10:59 PM

I had to switch to Opencode from Claude code because the latter wasn’t supporting GitHub Copilot as model provider.

I didn’t think I could have found a better solution, spawning multiple subagents with different models is such a great thing.

I built in the past very small cli wrappers to call other models; Claude Code often refuses to do that, lies and does the job itself instead of delegating to another provider’s llms.

steve-atx-7600yesterday at 7:42 PM

Set yourself up to be able to try / switch between models easily. I was a claude only user and just have my user level AGENTS.md for codex and others simply point at my user CLAUDE.md. Have a script that syncs my skills (just directories) between all models. Also, if you want to use /simplify or similar from claude in another model, you can ask claude for the prompt and put that in a skill for the other models.

small_modelyesterday at 9:56 PM

Now we have various Opus+ level models (Opus/Fable, Grok 4.5, GPT 5.6) I prefer to focus on price/speed and harness as models are all generally good enough for coding. (Fable is overkill for 90% of work but is still level above). So I use Grok Build with 4.5 as its VERY fast and cheap, Codex is next best for me with sol/lunar 5.6. and Claude Code Fable for the 10% of tasks that need that level of reasoning. However I find Claude Code harness responsiveness much less than other two (all TUI versions) I wish they would fix this.

show 1 reply
corfordyesterday at 6:57 PM

Personally I use Open Code with a copilot sub. Then all models are available in my session with just a /model and /variants command combo. Makes it super low friction to try different models & combos (my favourite right now is DeepSeek V4 Flash for initial PRD then Fable 5 high for implementation).

teki_oneyesterday at 6:47 PM

I had great results combining the two. If you (or your employer) can afford then you can ping-pong the models in the plan phase (not really ping-pong as humans should get a say too) and then let one implement and the other review. I got better results working this way than just to stick to a single model.

novaleafyesterday at 5:36 PM

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?

show 1 reply
lizardkingyesterday at 7:18 PM

I consistently have better results with Codex for the work that I do. People have been saying that for six months, but until 5.4 the experience was sufficiently slower that it wasn't worth the switch. Making the switch was frictionless. Give it a try

osigurdsonyesterday at 5:49 PM

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).

dgritskoyesterday at 5:12 PM

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

timcobbyesterday at 5:21 PM

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 :(

forshaperyesterday at 10:04 PM

Don't know about consensus, but I personally still find Opus to be better for sniffing codebase intent and checking things as a whole, while Codex seems more detail-oriented for individual files.

thebigspacefuckyesterday at 5:15 PM

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

show 1 reply
linsomniacyesterday at 6:25 PM

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.

yokoprimeyesterday at 6:39 PM

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.

Kerbonutyesterday at 9:49 PM

Claude Code is not the model, it's the harness. You can use any model you want with Claude Code to varying degrees of success. I use Qwen3.6-27b daily with Claude Code as an example.

217yesterday at 5:17 PM

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

show 10 replies
nvarsjyesterday at 6:30 PM

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.

3371yesterday at 6:07 PM

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.

ThunderBeeyesterday at 6:31 PM

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.

sk4rekr0wyesterday at 5:19 PM

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.

jghnyesterday at 5:48 PM

I have found Claude Code to be so much better than other common harnesses that it's kept me solely in the Anthropic ecosystem.

Skidaddleyesterday at 7:38 PM

A few less obvious niceties of Codex:

- built-in image generation using your subscription, which can be super handy

- can actually edit Google Docs and Google Sheets (Claude can only create new or sometimes append)

- I get a surprising amount of mileage out of the $20 plan

They both have their places for sure.

giancarlostoroyesterday at 5:26 PM

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".

uramsyesterday at 5:50 PM

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

indyyesterday at 5:10 PM

You wouldn't be leaving Claude Code, just trying something new. If you don't like it just resume using Claude.

athrowaway3zyesterday at 6:04 PM

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.

SatvikBeriyesterday at 8:22 PM

It's trivial to try another agent. You can spend $20 for a monthly subscription and ask it to import all your settings from Claude Code.

cmrdporcupineyesterday at 5:11 PM

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.

YuechenLiyesterday at 5:48 PM

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.

show 1 reply
catketchyesterday at 5:16 PM

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

🔗 View 22 more replies