groundy
developer tools

OpenAI Upgrades Codex Right as Teams Weigh Leaving Claude Code

Codex 0.137.0 ships multi-agent persistence as OpenAI's free-months promo targets Claude Code teams, narrowing the switching window before Anthropic's June 15 billing change.

7 min · · · 6 sources ↓

OpenAI shipped Codex CLI 0.137.0 on June 4, 2026, adding multi-agent v2 and enterprise credit controls. With Anthropic’s Agent SDK billing change arriving June 15 and OpenAI offering two free months to enterprises switching off Claude Code, the June release cadence is a switching-cost maneuver, not a product roadmap.

The 45-minute counter and what triggered it

According to Ramp’s April 2026 AI spending index, Anthropic reached 34.4% of enterprise AI spend versus OpenAI’s 32.3%, the first time Anthropic held the lead. The original Ramp report was not independently fetched for this analysis; the figures come from a secondary Chinese-language summary and should be read as directional rather than precise.

OpenAI launched a two-free-months enterprise promotion on May 13, 2026, offering net-new Codex seats to teams switching from Claude Code within a 30-day window. OpenAI had already dropped the seat fee for Codex’s business tier the prior month, stacking the promo on a lower baseline price.

Anthropic’s counter came within 45 minutes: a 50% increase in Claude Code weekly usage limits, running through July 13, 2026. The two moves create a narrow window where both vendors are subsidizing usage to prevent defection, and that window is bounded by Anthropic’s Agent SDK billing change on June 15.

What Codex 0.137.0 ships

The June 4, 2026 release of Codex CLI 0.137.0 adds multi-agent v2 with per-thread runtime persistence, parallel standalone web search, enterprise monthly credit limits displayed in the status bar, cloud-managed configuration bundles for EDU workspaces, and a skills extension scaffold for custom tool integrations.

Per-thread runtime persistence means multi-agent sessions survive process restarts. That is the specific capability gap that made agent-based workflows on Codex fragile compared to Claude Code’s session continuity. Cloud-managed config bundles address a different switching cost: EDU administrators previously had to configure Codex environments per-seat, per-machine. Centralized config removes that operational barrier.

The prior release, Codex CLI 0.136.0, added session archiving (codex archive/unarchive), CODEX_API_KEY authentication for remote exec-server registration, a feature-gated standalone image generation pipeline, a Python SDK beta (pip install openai-codex), and command-safety hardening that blocks /diff from running repo-provided Git hooks. The /diff hook block closes a targeted attack surface: a malicious pre-commit hook in a cloned repository could execute arbitrary code during a Codex-assisted review. Blocking repo-provided hooks during /diff prevents that.

Two other June releases round out the surface. Codex Sites, announced in June 2026, is a plugin for creating, deploying, and inspecting websites hosted by OpenAI, with ChatGPT Business including Sites by default and Enterprise admins controlling access via RBAC. Amazon Bedrock support, announced June 1, 2026, allows local Codex execution with AWS-managed authentication and billing, falling back to AWS_REGION/AWS_DEFAULT_REGION environment variables.

JetBrains integration and the IDE surface grab

In January 2026, JetBrains shipped native Codex integration into its AI chat, starting with IDE version 2025.3. The integration supports three authentication paths: a JetBrains AI subscription, a ChatGPT account, or a bring-your-own-key API key. A limited-time free promotion via JetBrains AI ran from January 22, 2026.

As of June 2026, the Codex IDE extension covers VS Code, Cursor, Windsurf, Visual Studio Code Insiders, and JetBrains IDEs on macOS, Windows, and Linux. It includes multiple interaction modes with varying autonomy levels, cloud delegation, and image generation inside the editor.

This is where the switching-cost calculation gets concrete. A team on Claude Code that also uses JetBrains has a zero-configuration path to Codex inside the same IDE as of January 2026. The BYOK option means the switching cost for an individual developer to test Codex is one API key rotation, not a new subscription. OpenAI’s two-free-months promo reduces it further to zero for the first 60 days. The question is whether the evaluation happens before Anthropic’s June 15 billing change makes the comparison more expensive to run.

Anthropic’s Agent SDK credit pool: why June 15 matters

Anthropic’s Agent SDK credit pool launches June 15, 2026, moving programmatic Claude usage out of subscription quotas into a separate monthly credit allocation: $20 for Pro subscribers, $200 for Max 20x subscribers, according to company-reported figures that have not been independently verified as of June 4, 2026. Credits do not roll over.

This is the deadline that shapes the switching-cost window. Teams that use Claude Code for agent-based workflows (multi-step refactors, test generation, codebase-wide analysis) will see those workloads move from their existing subscription pool to a metered credit system. If agent usage exceeds the credit cap, the non-rollover policy creates a direct incentive to evaluate whether Codex’s pricing is cheaper for that workload class, especially while the free-months promo is active.

Developer reaction to the credit system is predictive as of June 4, 2026; the SDK has not launched yet.

A switching-cost audit for teams

The practical decision for teams on Claude Code is not “which tool is better” but “what does it cost to find out.” Both vendors are subsidizing the comparison. The parity window is time-limited.

A decision framework:

  1. Map current Claude Code usage patterns. Identify which workloads use agentic features (multi-file edits, multi-step reasoning, autonomous refactors). These migrate to the Agent SDK credit pool on June 15 and are most sensitive to pricing changes.

  2. Test Codex on the same workloads during the promo window. OpenAI’s two-free-months offer is open to enterprises switching from Claude Code within 30 days of May 13, 2026. The JetBrains integration and Bedrock auth lower setup cost to near zero for teams already in those ecosystems.

  3. Compare real cost, not list cost. Factor in Anthropic’s credit cap and non-rollover policy against Codex’s seat pricing (with the business-tier fee reduction already applied as of May 2026). Model worst-case months, not average months.

  4. Evaluate lock-in vectors on both sides. Codex’s cloud-managed config bundles, Bedrock billing integration, and Sites hosting each add dependencies that increase the cost of switching away later. Claude Code’s lock-in vectors include the Agent SDK credit system and Anthropic-specific prompt patterns baked into existing workflows.

  5. Set a decision date before July 13. Anthropic’s 50% usage-limit bump expires then. After that, the subsidized comparison window closes and both vendors revert to baseline pricing.

What to watch

Multiple June 2026 Codex releases (Bedrock support on June 1, CLI 0.137.0 on June 4, and Codex Sites) compress switching-cost reduction into a single week. That pace will not sustain. The parity features are shipping now because competitive pressure from Anthropic’s spend lead, as reported by Ramp’s April 2026 index, is real enough to justify the engineering sprint.

For practitioners, the actionable signal is the gap between parity features and differentiated features. Multi-agent v2, Bedrock auth, and IDE coverage are parity plays that close existing gaps. The skills extension scaffold in 0.137.0 and the Codex Sites hosting model are differentiation attempts. Whether either becomes a genuine lock-in vector depends on adoption rates that are not yet measurable as of June 4, 2026.

The next comparison point is June 15, when Anthropic’s Agent SDK credit pool goes live and teams can observe actual metering behavior rather than announced pricing. The one after that is July 13, when the 50% usage-limit bump expires. Between those two dates, the switching-cost calculus shifts from subsidized to market-rate, and the vendor that has established more friction in its exit path wins the renewal.

Frequently Asked Questions

Does Codex have a programmatic SDK comparable to the Agent SDK Anthropic launches June 15?

Yes. Codex CLI 0.136.0 shipped a Python SDK beta (pip install openai-codex) for scripting Codex from CI/CD pipelines or batch workflows. It predates Anthropic’s Agent SDK by at least 11 days, so teams evaluating both sides have a working programmatic surface on the Codex side now, while the Claude equivalent remains unlaunched until June 15.

Can Codex-on-Bedrock spend count toward existing AWS commit discounts?

Routing Codex through Amazon Bedrock puts the compute charges on the regular AWS bill, where they count toward Enterprise Discount Program or Private Pricing Agreement thresholds. Teams already above their committed spend floor pay a marginal cost below Codex list price. This is the same procurement advantage Anthropic uses with its cloud partnerships, but applied to the OpenAI side.

Is the skills extension scaffold in 0.137.0 ready to influence a switching decision?

Not as of June 4. The scaffold shipped as an extension point for custom tool integrations, but no published documentation, example skills, or interface contracts exist yet. It signals OpenAI’s direction for extensibility but should be treated as forward-looking, not a factor in this month’s vendor comparison.

Which current Codex capabilities have no Claude Code equivalent?

Two that stand out: the feature-gated standalone image generation pipeline (from 0.136.0, also available inside the IDE extension) and the Codex Sites hosting plugin for deploying web apps from the CLI. Claude Code has neither image output nor a hosted deployment path. The CODEX_API_KEY remote exec-server registration also enables a shared-team-server model where one Codex instance serves multiple developers, a deployment pattern Claude Code’s local-first architecture does not support.

sources · 6 cited

  1. Ramp April 2026 AI Spending Index community accessed 2026-06-04
  2. OpenAI Offers Two Free Codex Months to Enterprise Switchers analysis accessed 2026-06-04
  3. Changelog - Codex | OpenAI Developers primary accessed 2026-06-04
  4. Codex Updates by OpenAI - June 2026 primary accessed 2026-06-04
  5. Codex Is Now Integrated Into JetBrains IDEs vendor accessed 2026-06-04
  6. IDE extension - Codex | OpenAI Developers primary accessed 2026-06-04