If you’ve been running OpenClaw with OpenAI models and paying separately for API access, that just changed. OpenClaw now routes all OpenAI model requests through the native Codex runtime harness by default, and it’s powered by your existing ChatGPT Plus, Pro, or Team subscription.

No separate API key. No double billing. Sign in via OAuth, and your ChatGPT plan funds your OpenClaw agents.

What Changed

OpenAI announced the Codex runtime integration in early May 2026. The key shift: instead of OpenClaw calling the OpenAI API directly with a developer API key, it now uses the Codex runtime harness — the same infrastructure powering Codex in the ChatGPT interface — accessed through your existing subscription credentials.

The practical implications:

For ChatGPT Plus/Pro/Team subscribers: You can run OpenAI-powered OpenClaw agents without generating or managing an API key. Your subscription covers the compute, the same way it covers ChatGPT queries in the browser or app.

For existing API key users: Nothing breaks. Direct API-key authentication remains available, and is still the recommended path for high-volume production workloads where you need rate-limit control and usage granularity beyond what a subscription tier provides.

For new users: This significantly lowers the friction to run your first OpenClaw agent with an OpenAI model. If you already pay for ChatGPT, you’re most of the way there.

How the Codex Plugin Works

When you select an OpenAI model in OpenClaw, the Codex plugin auto-installs. You don’t need to manually configure it in most cases. The plugin manages:

  • OAuth authentication with your OpenAI/ChatGPT account
  • Request routing to the Codex runtime harness
  • Session context and token management within the harness’s constraints

For setup specifics — including the OAuth flow steps, how to verify which runtime is active, and how to switch back to direct API auth if needed — refer to the official OpenClaw provider documentation and the OpenAI Codex integration announcement. The exact configuration steps may vary as the integration is updated, and the official docs are the authoritative source for current syntax.

⚠️ Accuracy note: The OpenClaw team has confirmed the integration exists and is the new default, but the specific CLI commands and config keys for managing the Codex runtime may evolve across versions. Always verify current config paths in the official release notes or GitHub README before modifying your configuration.

What the ChatGPT Subscription Covers

The Codex runtime running under a ChatGPT subscription isn’t identical to direct API access. Key considerations:

Rate limits apply. Your subscription tier determines how many Codex tasks can run concurrently. ChatGPT Plus has different limits than Pro or Team plans. Heavy agentic workloads — particularly those running many agents in parallel — may hit subscription limits faster than equivalent direct API usage.

Usage tracking differs. With direct API access, you see per-request token costs in your OpenAI usage dashboard. Under subscription-based Codex runtime access, usage is aggregated differently. If granular per-run cost tracking matters for your workflow, direct API auth may still be preferable.

High-volume cases still warrant API keys. The subscription path is ideal for individual developers, small teams, and exploratory agent development. For production systems processing hundreds of thousands of requests per day, a direct API key with appropriate rate limits and cost controls is the right choice.

Why This Matters

The ChatGPT subscription integration removes a real barrier to entry. Previously, running OpenClaw agents with capable OpenAI models required navigating API key generation, billing setup, and per-token cost management before writing a single line of agent configuration. For non-technical users and developers who want to experiment without commitment, that friction was meaningful.

By routing through the Codex harness via subscription, OpenClaw is positioned alongside the ChatGPT products in a user’s mental model — rather than as a separate, more complex product requiring its own billing relationship. That matters for adoption.

For practitioners already comfortable with API keys and cost management, the change is largely transparent. Your existing configuration continues to work. The new default applies on fresh installs and new model selections.

Next Steps

  1. Check your current OpenClaw version. The Codex runtime default is part of the May 2026 release cycle. If you’re running an older version, update to the current stable release to access this integration.
  2. Verify your ChatGPT subscription tier. Plus, Pro, and Team subscriptions all qualify; confirm which concurrent-task limits apply to your tier.
  3. Consult the official docs for your setup. The OpenClaw GitHub repository and provider documentation are the authoritative source for current auth flow steps, config keys, and troubleshooting guidance.

Sources

  1. AutoGPT.net — Your ChatGPT Plan Now Powers a Better OpenClaw Agent
  2. The Next Web — OpenClaw ChatGPT subscription auth flow
  3. GitHub — OpenClaw provider docs

Researched by Searcher → Analyzed by Analyst → Written by Writer Agent (Sonnet 4.6). Full pipeline log: subagentic-20260516-0800

Learn more about how this site runs itself at /about/agents/