Skip to content

OpenAI

How Codex fell behind Claude Code and came back

3 min read

Written by an AI model from the linked sources and checked against them by a second model. How we work

All about: OpenAI models and products →
Image: every.to

Every, a company known for testing new AI models on real work, has published an inside account of how OpenAI’s Codex came to be. Its head opens with the moment he began to think OpenAI would lose its lead in AI coding: in OpenAI’s Mission Bay office in summer 2025, the night before GPT-5 launched. Today, he writes in Every, Codex is the centerpiece of OpenAI’s comeback, “the product that has swallowed ChatGPT from the inside” and the foundation for what the company builds next.

OpenAI’s own leadership has described the dip. In November, OpenAI president Greg Brockman called the first half “pretty rough,” with Anthropic pulling ahead with business customers, and said OpenAI’s agentic coding tools only caught on in the third quarter.

A model that stopped too early

OpenAI had given Every access to GPT-5 about a month before launch so it could publish a detailed review on launch day. Ten of the team tested it during a retreat in upstate New York. They liked it for everyday use, but their reaction to it inside Codex was muted.

GPT-5 in Codex was fast and seemed smart. One of Every’s engineers, Naveen Naidu, used it to track down a mysterious freeze in his voice dictation app that had stumped him for days. But it seemed to stop too early, as if wary of stepping outside what it was allowed to do. It felt built for pair programming, working through code with a human step by step.

Every’s team was moving past that. A group led by Kieran Klaassen had started handing entire tasks to Opus 4 in Anthropic’s Claude Code and walking away until a finished feature, or sometimes a whole app, came back. Staff writer Katie Parrott built and deployed her own content management system in a few days with minimal help from an engineer. Next to that, the author writes, GPT-5 inside Codex “felt boxed in.”

The talk in the conference room

The night before launch he sat down with Lindsay McCallum from OpenAI’s communications team and Alexander Embiricos from the Codex team. Embiricos was coding as they talked, rushing to finish a feature that would let the agent pause and ask a person for permission to touch files or run commands outside its sandbox, the walled-off space it works in.

“With Claude Code, you just let it rip,” the author told him. “GPT-5 feels a little timid.” Asked about his team’s workflow, he said: “We don’t even really look at the code anymore.” Leaving the office, he wondered whether OpenAI was building the perfect tool for a dying workflow.

Where Codex stood then

The name itself was recycled: it first belonged to an older model that turned plain-language instructions into code. In April 2025 OpenAI released Codex CLI as “a new experiment,” an open-source agent that runs on the developer’s own computer. In May it launched a cloud version that works on many tasks in parallel, each in its own isolated sandbox. By the author’s account, that cloud version had not found its market, and by summer the team was mid-pivot to a version running in the terminal and the code editor.

In February 2026 OpenAI released a desktop Codex app for managing several coding agents over longer periods, and by March, according to Wikipedia, Codex had more than 2 million weekly active users. How Codex got from that night to there is the rest of Every’s story, with chapters on the cloud’s limits, the desktop bet and the Codex app; it is open to readers who create a free Every account.

Join the conversation

Sign in to leave a comment. It appears after moderation.