logoalt Hacker News

Syntafyesterday at 5:08 PM82 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
jatoratoday at 4:07 AM

Codex has been comparable for a while. 5.1-5.5 have competed closely with 4.5-4.8. Fable blew them all out, now Sol comparable to Fable again. Some slight tooling differences with skills and hooks but for the most part I think if people are so engineered into one CLI that swapping to another inhibits them, then that is an error in usage habits.

Codex historically will follow tasks more closely with less creativity, whereas Opus will do more than you specify. I wouldnt consider either one better due to this fact, just makes them useful for different situations. Generally they'll perform similarly for most tasks.

Opus and Fable dominate 5.5 in artistic design (pixel art, ascii art), and edge out 5.5 slightly in general UI design taste. Have not tested Sol in that regard yet.

So far in my usage Sol has been superior to Fable at graphics rendering engine optimization.

Codex will work longer, and in single sessions without as much subagent usage.

Codex only has 256k context but its compaction is absolutely next level. You will not notice compactions and they will happen multiple times during a complex task or set of tasks without you ever having to notice or care. Claude code on the other hand still has fairly poor compaction.

Codex has more generous usage limits, and they also give you usage resets (weekly+5h resets) that you can bank for a month or so. Not sure how often they give these out.

Codex also seemingly never has outages or weird delays like Claude code does.

OpenAI randomly resets usage just like Anthropic does

I would use both if you code often

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
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
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
sdoeringtoday at 12:29 PM

To me, the question of switching (and any recommendation) depends highly on the type of work you do as well as your setup in terms of harness and memory, context management, and so on.

I have my context managed in a structured (but nowadays way too big) Obsidian Vault. I also built myself a vector based "vault search" capability and have my harness use this as a tool to find thematically similar things across the different contexts, when needed. I also build a few custom skills and extensions for my harness to be able to do my work.

Talking about harness: I use pi.dev and have taken care of, that i set it up in a way as to easily be able to switch the intelligence layer without loosing context. Yes, there are differences in how well models perform, but if a model refuses a task - like gpt-5.5 not willing to build a downloading tool for Annas Archive - I switch the model to something less finicky.

Thus I was able to switch to gpt based models after about a year with Claude (and having had a Claude Max since the early days it was available).

I played a lot with other models recently, to see how stabl my setup is for switching, should something like Fable happen on a broader scale with the US government. As said, minor changes in tonality, minor issues ith the quality of long text being written by the model, but most of it is actually managed in by the tonality docs, guard rails, coding standards and the likes, I set up over the last 9+ months of intensive work with it (first in Claude Code, then Codex and now as said pi.dev).

So YMMV and it heavily depends on your setup. But I more and more treat those models as interchangable.

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
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 2 replies
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
snthpytoday at 6:06 AM

OT but how are y'all sharing your skills and agents across harnesses?

I have a bunch of Claude Code Plugins and yesterday asked Codex to make them accessible to itself. It wanted to rewrite most of it. I was hoping i could get by with some symlinks or something to avoid drift.

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.

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!

davedxtoday at 7:59 AM

I switch between both as my daily drivers.

I do almost all my regular coding tasks with Codex 5.5 on medium. Sometimes for niche edge cases, or when I run out of tokens on my Codex sub, I'll switch to Claude. Some recent examples where Claude was able to solve things Codex couldn't:

- 3D gamedev layout: I asked Codex to render a solar system in a certain camera positioning, saying it needed to fit the planets of the system to the viewport. Codex just couldn't do it, even on high reasoning: Claude Opus did it first attempt.

- Tricky Tiptap image drag-n-drop layout implementation: Codex failed this after numerous iterations. Claude Opus also struggled mightily to get it to work, but I think around 3 attempts it nailed it. Both of them ended up grepping the Tiptap code from node_modules - that's the kind of task it was.

But these are really isolated examples. Across all my projects (I have many; mostly TypeScript, but also things like C#), Codex "Just Works" (tm), with minimal prompting effort from me.

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!

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
jeffybefffy519today at 3:49 AM

IMO Codex has been the same rollercoaster ride as Claude. GPT 5.3-codex was incredible for backend/system tasks, GPT5.5 is better all rounder but weaker in some spots. There has also been many weeks when Codex's models were dumb AF. Same rollercoaster ride as anthropic between Opus 4.5 to 4.8...

IMO the two biggest problems not really being answered by both OpenAI and Anthropic are: 1. Why not make specific models good at specific tasks for Codex/Claude Code. Theres a handful of types of work here whereby small good quality models would do better than these generalised all purpose models whereby someone discovers Fable is bad at biology.... 2. Why cant they consistently run these models and keep them performing? Performance of the models seems to directly correlate with amount of compute available, but they dont talk about it...

algoth1today at 10:08 AM

A great thing about codex is that, even if run out of usage, it finishes the task. Claude code will abruptly break the work and leave it there unfinished as soon as it runs out of tokens. Also, antrophic randomly resets the token usage which is annoying when I’m trying to ration them. While openai gives you extra resets that you can apply when you want to

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.

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.

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.

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

fnytoday at 11:45 AM

I have them talk to each other via tmux to great effect on complex changes. Its great for auditing changes as work is done.

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

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.

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

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

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

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

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
OkWing99today at 2:25 AM

I used to have the CC $200 plan, and moved to Codex 6 months ago. I have the anthropic $20 plan + API billing for rare use. Use Codex daily.

Not having to deal with Anthropics constantly changing policies, token-gating, and carrot-and-stick marketing helps me to focus on work, rather than dealing with their company problems.

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.

hagen8today at 7:34 AM

In my opinion Opus is waaayy better in agentic orchestration. It feels like it can natively deal with multiple subagents whereas gpt needs to be taught extensively.

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

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.

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.

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.

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.

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.

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.

🔗 View 32 more replies