DevConsensus
Comparisons / Claude Code vs OpenAI Codex
AI coding tools · HN opinions Nov 2025 – Nov 2026

Claude Code vs OpenAI Codex: what developers actually say

Based on 5,039 opinions on Hacker News from developers who discussed these two, most of them first-hand users.

Claude Code
54%
approval · 3,026 opinions · 2,204 developers
last 90 days: 51%
OpenAI Codex
69%
approval · 2,013 opinions · 1,386 developers
last 90 days: 63%

Codex comes out ahead overall. It posts 69% approval against 54% for Claude Code, 63% against 51% over the last 90 days, and 181 commenters picked it over Claude Code versus 62 the other way. Codex also leads on net sentiment for cost, usage limits, code quality, UX, and reliability. Claude Code keeps edges on autonomy (+192 net versus +123) and speed (+81 versus +63), so choose it when the subagent and plugin workflow matters more than quota headroom.

When developers explicitly said they prefer one or switched: 62 picked Claude Code, 181 picked OpenAI Codex.

Choose Claude Code if

  • Want a mature subagent and plugin ecosystem
  • Value Claude Code's terminal interface and permission flow
  • Can absorb tighter usage limits for stronger autonomous runs

Choose OpenAI Codex if

  • Need more useful work per dollar and fewer quota interruptions
  • Want stronger code quality and review results
  • Prefer a more stable harness with clearer progress display

Where each one wins and loses

PraiseComplaintsA = Claude CodeB = OpenAI Codex
UX
A
225
212
B
86
131
Code quality
A
189
240
B
116
343
Reliability
A
296
107
B
127
112
Autonomy
A
88
280
B
46
169
Cost & pricing
A
185
128
B
54
174
Usage limits
A
164
64
B
61
131
Customization
A
87
91
B
18
33
Speed
A
44
125
B
33
96

Why developers switched

Picked Claude Code

Picked OpenAI Codex

Says Opus drains a weekly quota in a day or two while Codex keeps running, and finds more flaws in Claude's commits.HN comment · Oct 29, 2026
Switched from Claude to Codex because the Claude Code harness feels unstable and frustrating.HN comment · Oct 14, 2026
Picks Codex for more generous usage limits and resets, plus unmetered ChatGPT access on the 20x plan.HN comment · Sep 22, 2026
Calls Claude Code's terminal interface buggy, clunky and slow, and prefers Codex's progress display and side chats.HN comment · Sep 20, 2026
Moved from Claude Code to Codex for better return on spend and better code quality.HN comment · Sep 20, 2026
Says Claude Code weakens CLAUDE.md instructions with a relevance disclaimer, while Codex follows AGENTS.md more faithfully.HN comment · Sep 19, 2026

Summaries are paraphrased. Each links to the original comment.

Side by side

Claude CodeOpenAI Codex
Approval
54%
69%
Last 90 days51%63%
Opinions3,0262,013
First-hand users2,3971,708
TypeTerminal agentTerminal agent
Made byAnthropicOpenAI
WebsiteVisit ↗Visit ↗

Related comparisons