"First to market is worth a lot," said Sam Altman, CEO of OpenAI, reflecting on his company's struggle to keep pace with Anthropic’s Claude Code. In a rare moment of candor, Altman admitted that despite OpenAI’s early lead with Codex, Anthropic managed to capture a larger share of the AI coding tools market. By early 2026, Claude Code was pulling in nearly $2.5 billion in annual revenue, more than double OpenAI’s Codex, which stood just above $1 billion.
OpenAI launched Codex in 2021, positioning itself early in the developer tools arena. However, after ChatGPT’s breakout success, OpenAI shifted its focus toward broader AI model development instead of doubling down on coding-specific tools. Meanwhile, Anthropic bet heavily on developer solutions, which paid off by spring 2026 with Claude Code surpassing OpenAI in U.S. enterprise revenues. This outcome highlights how critical timing and niche focus are in the AI sector.
OpenAI sought to bridge the gap by attempting to acquire Windsurf, a promising AI coding startup. The proposed $3 billion deal in 2025 collapsed due to complexities involving Microsoft, OpenAI’s major partner and distributor. Left without that strategic boost, OpenAI has been relying on incremental improvements like the release of GPT-5.5, designed to improve benchmark performance, but these moves have yet to close the revenue gap.
The disparity between Anthropic and OpenAI's coding tools revenue illustrates a key lesson for AI investors: having the best foundational AI model doesn't guarantee market dominance. Anthropic’s focus on developer tools carved out a lucrative niche. As enterprise revenues shift, industry watchers will be closely monitoring how these dynamics affect private market valuations and the broader AI investment landscape.



