3 ms·
I used Claude Code a lot until this weekend, when I gave Codex CLI a try, and I have to say, wow. The gpt-5-codex model is amazing. Sonnet 4.5 routinely gets st
by stavros 1y ago
I used Claude Code a lot until this weekend, when I gave Codex CLI a try, and I have to say, wow. The gpt-5-codex model is amazing. Sonnet 4.5 routinely gets stuff wrong, even Opus 4.1 isn't too amazing, but GPT 5 Codex just one-shots everything.
I've been using Sonnet whenever I run into the Codex limit, and the difference is stark. Twice yesterday I had to get Codex to fix something Sonnet just got entirely wrong.
I registered a domain a year ago (pine.town) and it came up for renewal, so I figured that, instead of deleting it, I'd build something on it, and came up with the idea of an infinite collaborative pixel canvas with a "cozy town" vibe. I have ZERO experience with frontend, yet Codex just built me the entire damn thing over two days of coding:
https://pine.town https://pine.town
It's the first model I can work with and be reasonably assured that the code won't go off the rails. I keep adding and adding code, and it hasn't become a mess of spaghetti yet. That having been said, I did catch Codex writing some backend code that could have been a few lines simpler, so I'm sure it's not as good as me at the stuff I know.
Then again, I wouldn't even have started this without Codex, so here we are.
- cmrdporcupine 1y agoYeah I was using Claude pretty continuously for 3, 4 months and then decided to give Codex a whirl and it was impressive. I'd consider it to be a lot more cautious and careful and less lazy? It is however slow, and more expensive. You can either pay the $20 and get maybe 2 days of work out of it, or $200 for "Pro." But there's nothing inbetween like the $100 USD Claude Code tier.
- stavros 1y agoYeah, I'm really missing the $100 tier. The $20 gets me a day of coding a week with it, which is way too little, and $200/mo is too much for hobby projects.
- cmrdporcupine 1y agoI've personally been running the Claude Code tool but pointed at DeepSeek's API platform. Cheaper than both Anthropic and OpenAI, and about as good as Sonnet 4 was, I'm finding. Context window is too small though, and it sometimes has problems with compacting. But I was having that with Sonnet 4.5 as well.
- theshrike79 1y agoI kinda like what crush is doing: https://github.com/charmbracelet/crush https://github.com/charmbracelet/crush They're still lacking slash commands, sub agents etc (since they don't own their own model), but they do integrate language servers, which seems to be handy on larger codebases. Crush + GLM-4.6 is one of the three I use regularly along with Claude and Codex
- cmrdporcupine 1y agoOh this is pretty nice.. running it with deepseek now and so far pretty impressed.
- indigodaddy 1y agoAny chance you could write up a blog post on your Codex experience(s)? Sounds really interesting.
- stavros 1y agoI wrote a long comment but refreshed by accident before I could post it, so here we go again: I'll write a post when I finish Pine Town, but I don't know what I could say about Codex in it. I think a big issue is that I don't know what others don't know, as the way I use LLMs (obviously) feels natural to me. Here are some tips that you may or may not already know: * Reset the context as often as you can. LLMs like short contexts, so when you reach a point where the information has converged into something (e.g. the LLM has done a lot of work and you want it to change one of the details), reset the context, summarize what you want, and continue. * Give the LLM small tasks that are logically coherent. Don't give it large, sprawling, open-ended tasks, but also don't give it chunks so tiny that it doesn't know what they're for. * Explain the problem in detail, and don't dictate a solution. The LLM, like a person, needs to know why it's doing what it's doing, and maybe it can recommend better solutions. * Ask it to challenge you. If you try to shoehorn the LLM too much, it might go off the rails trying to satisfy an impossible request. I've had a few times where it did crazy things because I didn't realize the thing I was asking for wasn't actually possible with the way the project was set up. That's what I can think of off the top of my head, but maybe I'll write a general "how to work with LLMs" post. I don't think there's anything specifically different about Codex, and there must be a million such posts already, so I don't know if anyone will find value in the above... For me, it Just Worked™, but maybe that's just because I stumbled upon some specific technique that most people don't use.
- indigodaddy 1y agoAwesome! Looking forward to an in depth post once you get pinetown in order
- tux1968 1y ago> I wrote a long comment but refreshed by accident before I could post it... So I was going to write a commiseration and a screed about what a colossal UI failure this is, that you can so easily lose such work. But FWIW, before posting I searched to see if there are any extensions to address this. There are several for Chrome, but on Firefox I ended up trying "Textarea Cache", and sure enough if you close the page, and reopen it later, you can click the icon to recover your words.
- ndgold 1y agoI am ride or die sonnet
- cageface 1y agoThis matches my experience. Codex is just more capable. But Sonnet is also quite good and much faster. So lately I'll start with Sonnet for everything but the most complex tasks and then switch to Codex when needed.
- heavyset_go 1y agoWeird, I tried the CoPilot and Codex CLIs and my experience was not good. I set it up with the same MCP tools I use elsewhere and the results were subpar compared to using agents in IDEs. I don't think it's a context issue either.
- conception 1y agoI’m not sure about op but codex high is slow but really solid. Med is definitely more hit or miss. I think the “meta” is claude does straightforward “shoe tying” code better and codex does more complicated thinking stuff better. Especially high. Tool use codex is trash compared to sonnet. So still not a one stop shop.
- ErikBjare 1y agoThis summarizes it well. I wish Codex could learn to tooluse as well as Sonnet, would really unleash the deep thinking it's so good at.
- deleted 1y ago[deleted]
- catigula 1y agoClaude's vscode extension and general ergonomics are vastly superior to Codex's. Codex has a comically inept UI, it literally can start lagging and has even crashed for me.
- hnidiots3 1y agoCodex attempts to one shot for me but there’s many rounds of refinement. I haven’t used it in the last couple of weeks because it’s disappointing. Over hyped. Gone back to Amp and a little bit of Cursor with Sonnet 4.5
- causal 1y agoThis is my entire problem with Codex - it will spend ten minutes trying to one shot a problem and usually go off the rails at some point, whereas Claude seems much better at incrementally finding the right solution with me.
- stavros 1y agoI've heard this from many people, but I really haven't had this experience. Sonnet will write code that doesn't work, but Codex will give me working code basically every time. It does take longer, and it does think a lot, but I've never seen it go off the rails. I do look at the backend code it writes, and it seems moderately sane. Sometimes it overcomplicates things, which makes me think that there are a few dragons in the frontend (I haven't looked), but by and large it's been ok.
- 1y ago
- causal 1y agoIt's interesting how different the subjective experiences of similarly-capable coding models is. My experience with Codex is that it tends to run off and do things without asking enough questions or keeping me in sync, whereas Claude seems to be more careful to clarify and keep me apprised of what it's doing. I wonder how much of it comes down to how models "train us" to work in ways they are most effective.
- Aeolun 1y agoI thought I liked Codex better, because the quality of the output is just higher, but after a week of trying I found I couldn't deal with talking to a robot. I'd rather have fun with junior Claude than with the stoic, socially-inept senior Codex.
- catigula 1y agoI think codex is probably most impressive if you literally have no idea - and don't want to know - what you're doing at all.
- stavros 1y agoI think a lot of it, Claude is definitely careful and Codex runs off too eagerly before discussing much (and the lack of a plan mode doesn't help), but I think we just learn how to use them. These days, anything I don't like goes into the AGENTS.md, where I tweak the instructions until the model understands well.
- adventured 1y agoI really loved using Claude. I like working with Claude more than GPT or Gemini. Claude is to LLMs what Firefox is to browsers. I just like Firefox more than Chrome. It's very clearly behind GPT Codex at this point though. So far I've found Gemini for front-end design work to be better than the others, and I pair it with GPT for everything else. Hopefully Gemini 3 is a solid improvement, I like having at least two LLMs at high quality to run against each other.
- stavros 1y agoClaude Code is much better than Codex CLI, but GPT 5 Codex is much better than Sonnet 4.5. I wish I could use one with the other, but alas.
- nostrebored 1y agoThere are tools like claude-code-router. I've gone through the pain of getting gpt-5, gemini-2.5-pro, and other models wired together. The system prompt differences are too much though I think, claude still feels the best in claude code. I'm at the point where I have so much built up around claude code workflows that claude feels very good. But when I don't use them, I find that I immensely prefer gpt-5 (and for harder, design influencing questions, grok-4 heavy which is not available behind an API)
- stavros 1y agoYeah, I think the system prompts are so optimised for the specific model that others won't work as well, so it kind of defeats the purpose of being able to plug your own model in. I wish I could, but I know I won't get as good performance as with the model's native cli.
- embedding-shape 1y agoAlso the models themselves are likely trained with the tools they'll likely have available in mind, and what harness they'll run in, and vice-versa. It's noticeable when you setup some semi-fixed workflow against some model, and when you try to switch to a different family of models, the performance and accuracy notably change.
- Computer0 1y agomy issue with codex is it will decide to take forever and do to much for one line changes I should've done myself, and sometimes would make more changes than desired. Claude Code is much more expedient and keeps its scope narrow and rarely goes outside the bounds of my request.
- stavros 1y agoI agree with this, I've hit it too, plus I hit Codex limits in a day whereas I haven't hit a Claude limit yet, but all of this is more than compensated for by the simple fact that the code that Codex writes will almost always just work. Sonnet is much less successful.
- embedding-shape 1y ago> sometimes would make more changes than desired It's really easy to steer both Claude Code and Codex against that though, plop "Don't do any other changes than the ones requested" in the system prompt/AGENTS.md and they mostly do good with that. I've tried the same with Gemini CLI and Gemini seems to mostly ignore the overall guidelines you setup for it, not sure why it's so much worse at that.
- embedding-shape 1y ago> . I have ZERO experience with frontend, After all these years, maybe even decades, of seeing your blog posts and projects on here, surely you must have had more experience with frontend than ZERO since you first appeared here? :)
- stavros 1y agoHaha, fair, I meant "with React"!
- supportengineer 1y agoHe does have the experience... and stop calling me Shirley.