logoalt Hacker News

jeffnashtoday at 6:30 PM16 repliesview on HN

At this point, the deciding factors for me between Claude Code 20x and Codex Pro 20x are:

1/ Usage limits: downstream of input/output cost, but resets and obscure windows and odd 20x plan / 5x plan != 4x usage math throw a wrench into it. Winner right now is Codex by a mile, especially when you factor in ChatGPT usage (even 6 Astra Pro) is essentially unmetered on the 20x plan. Always a bummer when asking if I should see a doctor about a rash means I can't code as much. It's also is a godsend if you use an MCP like oracle to automate the process of calling the Pro model on particularly tough problems, giving better planning results or deeper code analysis without burning usage.

2/ Context window in the harness. Claude Code wins on this. There used to be a toml file workaround for Codex to extend the GPT context window to 1m, but this stopped working on the plans and only on per-token billing (ETA: noname120 pointed out this is no longer the case and it can be enabled again [1]). 252k is just not enough. Codex's compaction is very good, fwiw, but it happens so frequently that even a model as powerful as Astra sometimes loses the plot on long-running tasks.

3/ Ability to use the plan outside of the official harness. Codex wins. Anthropic does shit like bills requests as extra usage if it sees a hermes.md in a commit.

I've subscription hopped a bunch, and at times I've had both, but I keep coming back to Codex because it wins on 2/3.

ETA: apparently I haven't been Keeping Up With the Altmans and new 20x signups have been disabled for a few weeks. I am grandfathered in, which makes the comparison above pretty much moot.

[1]https://news.ycombinator.com/item?id=49806060


Replies

glubtoday at 6:50 PM

> Usage limits [...] Winner right now is Codex by a mile

This hasn't been the case since around July. If you measure usage in raw api costs, Anthropic is actually giving more on $200 than OpenAI now. This includes resets. Usage allocation difference would be humiliating for codex subs were it not for resets. But fixing usage limits with resets is ugly, and they're not good for your mental well-being.

> Context window in the harness

Codex now allows 1M for subs with config params. But generally speaking, you shouldn't really be using 1M context. If you accidentally send a request with say, ~700k context already accumulated in a session which is outside cache TTL, you're paying full cost of these 700k tokens.

> I've subscription hopped a bunch

OpenAI actually has a new strategy to prevent subscription hopping after their 2-3 month-long marketing push to get claude-folks to switch over:

you can't buy a $200 sub anymore. So if you cancel, you won't be able to get back in. Hostage situation, essentially.

EDIT: re: usage limits, oh-my-pi maintainer has been tracking this - https://nitter.xitter.cc/_can1357/status/2090075496948060372

show 2 replies
noname120today at 6:35 PM

> It's also is a godsend if you use an MCP like oracle to automate the process of calling the Pro model on particularly tough problems

As far as I know Codex (at least the GUI) can automatically call the ChatGPT Chat models (including Astra 6 Pro), you just need to @ a ChatGPT Chat conversation from within Codex and tell it when to use it.

> There used to be a toml file workaround for Codex to extend the GPT context window to 1m, but this stopped working on the plans and only on per-token billing

Not true, it works again[1]. I confirm that it works both on 5.6 Sol and Astra 6, possibly other models too.

[1] https://x.com/thsottiaux/status/2089082893804896524

show 1 reply
impulser_today at 7:07 PM

Usage is actually Claude now because of Opus 5.5 since it a better model that Astra. I maxed out my 200$ Claude plan with 10b token on Opus 5 and 5.5 is cheaper. I maxed out two Codex accounts with like not even 5b tokens.

rbransontoday at 6:59 PM

Astra planner/designer with Sol+Luna subagents has worked well for me to improve context continuity. Luna generates code, Sol reviews code and runs/monitors integration/E2E tests. It's about 20% more usage efficient and 20% faster to finish tasks. I've been very subagent-skeptic for a while but the economics of codegen with Luna have made it click. This just works in Codex with a single-line AGENTS.md instruction.

hintymadtoday at 7:04 PM

> Ability to use the plan outside of the official harness. Codex wins. Anthropic does shit like bills requests as extra usage if it sees a hermes.md in a commit.

I'm quite puzzled about why Anthropic is so hellbent on blocking other coding agent. It's not like Claude Code has any secret sauce, right? And does Anthropic make monkey off API usage, and their magic is on the model side anyway?

joshstrangetoday at 6:53 PM

Maybe it's due to 20x / 5x != 4 but I have the $200/mo Claude and $100/mo Codex and I get _way_ less usage on Codex, well under 1/4th the usage. In 1-2 days of semi-heavy _single_ agent usage with Sol High I can burn through my whole week of Codex. Again, this is not running multiple agents, just 1 at a time.

Compare that to Claude and I can run multiple agents on Opus almost indefinitely. YMMV of course but I was shocked at how quickly I burned through Codex usage.

On the context window, I feel so cramped on Codex, compacting happening every time I turn around is annoying. I didn't realize how much I enjoyed the Claude context window size.

show 1 reply
sodacannertoday at 6:37 PM

In my personal experience I currently get a lot, lot more usage on the 5x Claude plan than the 5x Codex plan.

Having limitless webUI ChatGPT usage is much better user experience, though. I'll give them that.

(edit: Sol-6 is half the price, so maybe the usage limits are going to be way better.)

show 1 reply
elxrtoday at 6:58 PM

Also, OpenAI is just a company I'd rather support than Anthropic.

While you're understandably not including the values of the $20 standard plans on both, I find the generosity of then token limits on ChatGPT plus vs Claude Pro (it's a huge difference) to be good representation of their respective attitudes towards the average user. You literally cannot use Claude pro to build real software, unless you're extremely frugal with your prompts and don't try anything even a little ambitious.

Also, Anthropic has zero models comparable to Luna.

show 1 reply
NorwegianDudetoday at 6:46 PM

Codex/ChatGPT Pro 20x isn't really a thing now, they have disabled it a week or two ago.

rgbrennertoday at 6:54 PM

> Claude Code 20x and Codex Pro 20x

That isn't a valid comparison, since Codex 20x is closed. So we should be comparing Claud 20x to Codex 5x + credits.

Also in Codex, even though you can increase the context window to 1m so its on par with Claude, exceeding the default is billed at 2x.

show 1 reply
paulmisttoday at 6:44 PM

> Winner right now is Codex by a mile

Opposite in my experience. I need to limit codex to 500k on medium/low, still run out in 2-3 days with 1 CLI window. CC gives me 4-5 medium/high days with 2-3 CLI windows, and Opus is still great for other regular dumb engineering/refactoring.

On the other hand my head starts to hurt if I read Opus for too long, hopefully they fixed it with 5.5.

show 1 reply
spijdartoday at 6:35 PM

I dunno about Codex-the-application itself, but you can definitely use e.g. Pi with the larger context windows with a Codex login. It puts a pretty large multiplier on credit usage, however.

show 1 reply
marcd35today at 6:48 PM

theres a popular thread on claudecode or claudai subreddit that proves 20x isnt really 20x. apparently its a marketing gimmick and the recommended solution is two 5x plans > 20x at greater than half the cost of the 20x

liftytoday at 6:45 PM

What are you talking about? ChatGPT unmetered? No way! That was 2 months ago perhaps and it’s possible your account still hasn’t gotten the new limits. I noticed around 1 month ago I was still going full throttle on my codex subscription and my limits were barely budging, and then all of sudden people around me started to complain about limits. I thought they’re crazy, but then my account go the hammer, and that was it. If I have the same pattern of usage like I did before, basically having an agent working continuously on a coding take, my weekly limit goes in 2 days.

show 2 replies
kornelijustoday at 6:46 PM

Not that I disagree that Codex wins out, but the deciding factor actually is - Codex Pro 20x is not available for purchase, indefinitely. So, what's the point of this discussion? People who already have the 20x sub are unlikely to cancel, and the rest of us can't access it.