A March 2026 update added a significant feature to OpenClaw: log in with your ChatGPT Plus account, and your agent gets access to GPT-5.4 directly, with no separate OpenAI API billing required. If you've been running OpenClaw on a pay-per-token API key, this changes the math considerably. Your existing ChatGPT subscription now does double duty.
OpenClaw is a free and open-source autonomous AI agent that can execute tasks via large language models, using messaging platforms as its main user interface. It functions as a long-running Node.js service that connects various chat platforms, like WhatsApp and Discord, to an AI agent that can execute real-world tasks. The ChatGPT OAuth integration is one of the more practically useful additions the project has shipped, because it directly reduces the cost of running a capable, persistent AI agent.
What Is OpenClaw
OpenClaw is a free and open-source autonomous AI agent developed by Austrian vibe coder Peter Steinberger, first published in November 2025 under the name Clawdbot. Within two months it was renamed twice: first to "Moltbot" on January 27, 2026, following trademark complaints by Anthropic, and then three days later to "OpenClaw" because Steinberger found that the name Moltbot "never quite rolled off the tongue."
OpenClaw has become one of the fastest-growing open-source projects in history. It captured developer attention by offering a "24/7 Jarvis" experience where a self-hosted AI can proactively reach out to users and execute autonomous tasks across multiple messaging apps. It lives on a dedicated computer — your main machine, a Mac Mini, a Raspberry Pi, or a cloud server — and has genuine control over that system. It can write code, create scripts, modify configurations, and execute tasks.
How the ChatGPT OAuth Integration Works
OpenClaw supports the openai-codex provider, which routes requests through your ChatGPT subscription instead of the pay-per-token OpenAI API. You sign in with your OpenAI account via OAuth, and OpenClaw uses your subscription's included quota with no API billing.
OpenAI explicitly supports subscription OAuth usage in external tools and workflows like OpenClaw. This isn't a workaround or a gray area — it's a documented, sanctioned auth path.
The flow opens a browser pointed at https://auth.openai.com/oauth/authorize, you log in with your ChatGPT account, and the callback writes the token. After pasting the callback URL, the wizard exchanges it for an access token and saves the auth profile to ~/.openclaw/auth-profiles/openai-codex.json.
Key Technical Highlights
- The model ships with a 1,050,000-token context window and 128,000 max output tokens.







