# 🚨 URGENT: How to Migrate OpenClaw from Anthropic Claude to OpenAI in 5 Minutes
**UPDATE: April 4, 2026** – Anthropic is cutting off Claude subscription access to OpenClaw and all third-party AI agents **TODAY at 3 PM ET (12 PM PT)**. If you’re running OpenClaw on Claude Pro or Max, you have HOURS to migrate before your bot goes dark.
## Why This Is Happening NOW
Anthropic just announced they’re ending support for using Claude subscriptions (Pro $20/mo, Max $200/mo) with third-party tools like OpenClaw, citing “outsized strain” on their systems. The cutoff is **TODAY, April 4, 2026 at 3:00 PM Eastern / 12:00 PM Pacific**.
**Translation:** Your Claude subscription will no longer power OpenClaw after 3 PM today. Your bot will stop responding unless you migrate.
### What Anthropic Said
From Boris Cherny (Head of Claude Code at Anthropic):
> “We’ve been working hard to meet the increase in demand for Claude, and our subscriptions weren’t built for the usage patterns of these third-party tools. Capacity is a resource we manage thoughtfully and we are prioritizing our customers using our products and API.”
### The Real Reason
Peter Steinberger (OpenClaw creator, now hired by OpenAI) called it out on X:
> “Funny how timings match up. First they copy some popular features into their closed harness, then they lock out open source.”
Anthropic is building their own competing agent tool and wants to force users into their ecosystem.
## Your Options (Choose Fast!)
### ❌ Option 1: Pay Anthropic Extra (NOT Recommended)
– Keep using Claude but pay for “Extra Usage” bundles ON TOP of your existing subscription
– Cost: $1,000-$5,000 PER DAY for autonomous agent usage
– Anthropic offering 30% discount to “soften the blow”
– **Why this sucks:** You’re already paying $200/mo for Max – now you pay MORE?
### ✅ Option 2: Migrate to OpenAI (RECOMMENDED)
– Use your existing ChatGPT Plus ($20/mo) or Pro ($200/mo) subscription
– **OpenAI explicitly supports third-party harnesses** including OpenClaw
– No additional API costs – flat monthly rate
– Takes 5 minutes to switch
– **This is what we’re recommending**
### Option 3: Use Anthropic API Key
– Pay per token usage
– More expensive than subscription for heavy use
– Only makes sense for occasional/light usage
## How to Migrate to OpenAI in 5 Minutes
### Prerequisites
You need ONE of these:
– ChatGPT Plus ($20/mo)
– ChatGPT Pro ($200/mo)
– ChatGPT Team ($25/user/mo)
– OR an OpenAI API key (pay-per-token)
### Step 1: Run the Onboard Command
Open your terminal and run:
“`bash
openclaw onboard –auth-choice openai-codex
“`
### Step 2: Choose Your Setup Options
When prompted:
**Security warning:** Type `y` to continue
**Setup mode:** Select **QuickStart** (press Enter)
**Config handling:** Select **”Use existing values”** ⚠️ IMPORTANT!
– Do NOT select “Reset” – this will wipe your config
– Do NOT select “Update” – you want to keep everything
– Choose “Use existing values” to preserve your workspace, memory, skills, crons
### Step 3: Authenticate in Browser
A browser window will open showing OpenAI login.
**Sign in with your ChatGPT account** (the email/password you use for chatgpt.com)
**Authorize the connection**
The browser will redirect automatically – once you see “Success” you can close the browser.
### Step 4: Close the Terminal
**STOP HERE!** After browser auth completes, the wizard will try to continue with channel setup.
You don’t need this – your channels are already configured.
Just **close the terminal** (Ctrl+C or close the window). The OAuth token is already saved.
### Step 5: Set the Model
Tell OpenClaw to use the Codex model:
“`bash
openclaw models set openai-codex/gpt-5.3-codex
“`
### Step 6: Verify It Worked
“`bash
openclaw models status –plain
“`
You should see: `openai-codex/gpt-5.3-codex`
**Send a test message** to your bot through Discord/Telegram/whatever channel you use.
If it responds, **you’re done!** ✅
## What Stays the Same
✅ All workspace files (SOUL.md, TOOLS.md, AGENTS.md, MEMORY.md)
✅ All memory files (memory/*.md)
✅ All skills
✅ All cron jobs
✅ All channel configs (Discord, Telegram, etc.)
✅ Your bot’s personality and behavior
**Only thing changing:** Which AI model answers the requests.
## Cost Comparison
### Anthropic Claude Max (OLD)
– **Before today:** $200/mo flat rate, use OpenClaw freely
– **After today:** $200/mo subscription + $1,000-5,000/day API costs for OpenClaw
– **Monthly total:** $30,000-$150,000+ 💸
### OpenAI Codex (NEW)
– **ChatGPT Plus:** $20/mo flat rate, use OpenClaw freely
– **ChatGPT Pro:** $200/mo flat rate, use OpenClaw freely
– **Monthly total:** $20-200/mo (no additional costs)
### The Math
Switching saves you **$29,800-$149,800 per month** if you were planning to stay on Anthropic with Extra Usage.
## Will GPT-5.3-Codex Be As Good As Claude?
**Honest answer:** They’re different.
– **Claude Opus:** Excellent at complex reasoning, nuanced instructions, natural writing
– **GPT-5.3 Codex:** Strong at code, tool use, technical tasks, following structured workflows
For most OpenClaw use cases (automation, API calls, data processing, cron jobs), **Codex is more than capable**.
You may need to tweak your `SOUL.md` and `AGENTS.md` files – different models interpret prompts differently. Give it a few days before judging.
## Staying on Claude? Here’s How
If you MUST stay on Claude:
### Get an Anthropic API Key
1. Go to https://console.anthropic.com
2. Create an API key
3. Set up billing
4. Set a spending limit (seriously – do this)
### Configure OpenClaw
“`bash
openclaw onboard –auth-choice anthropic
“`
When prompted, paste your API key.
**Note:** This is pay-per-token. Monitor your usage at https://console.anthropic.com/usage
## The Community Response
**Reddit /r/openclaw** (122 upvotes, 102 comments):
> “Very very disappointing given they made a very deliberate correction a while ago to state that you can use Claude code subs for OpenClaw… Anthropic is still far away from having comparable capabilities to OpenClaw.”
**Hacker News** (front page):
> “The all-you-can-eat buffet just closed. Anthropic was eating $1,000-5,000/day in API costs on every OpenClaw user.”
**Peter Steinberger** (OpenClaw creator):
> “Tried to talk sense into Anthropic, but only got them to delay enforcement by one week.”
## What Anthropic Is Building
**Semafor exclusive reporting:** Anthropic is building their own OpenClaw competitor.
Anthropic Chief Commercial Officer:
> “Customers are asking us to create our own version.”
**Translation:** They’re forcing you off OpenClaw so you’ll use their tool instead.
## Timeline of Events
– **February 18, 2026:** Anthropic clarified Claude subscriptions CAN be used with OpenClaw
– **April 3, 2026 (11 PM ET):** Anthropic announces cutoff with <16 hours notice
- **April 4, 2026 (3 PM ET):** Cutoff goes into effect
- **April 4, 2026 (6 PM ET):** Thousands of OpenClaw bots go dark
## Don't Get Caught
**You have until 3 PM Eastern TODAY to migrate.**
After 3 PM, your Claude subscription will not power OpenClaw. Your bot will stop responding. Your cron jobs will fail. Your automation will break.
**Migrate now. It takes 5 minutes.**
```bash
# The full migration sequence
openclaw onboard --auth-choice openai-codex
# → Choose QuickStart
# → Choose "Use existing values"
# → Sign in via browser
# → Close terminal after auth completes
openclaw models set openai-codex/gpt-5.3-codex
openclaw models status --plain
```
**Test your bot. If it responds, you're safe.**
## Questions?
**Q: Can I use both Claude and OpenAI?**
A: Yes! You can set up fallback models. But your primary should be OpenAI to avoid Extra Usage charges.
**Q: What if I don't have a ChatGPT subscription?**
A: Get ChatGPT Plus ($20/mo) at https://chatgpt.com/upgrade or use an OpenAI API key with pay-per-token billing.
**Q: Will this break my existing setup?**
A: No. Your workspace, memory, skills, and configs stay intact. Only the AI model changes.
**Q: What happens at exactly 3 PM?**
A: Anthropic will stop accepting Claude subscription OAuth tokens for third-party harnesses. Your bot will start getting 401 Unauthorized errors.
**Q: Can I wait until after 3 PM to migrate?**
A: Yes, but your bot will be down during the migration. Better to do it now while it's still working.
## The Bottom Line
**Anthropic pulled the rug. OpenAI welcomes you.**
Migrate now. It's free (if you have ChatGPT Plus/Pro), it takes 5 minutes, and it saves you thousands per month.
Your bot, your rules. Don't let Anthropic lock you into their ecosystem.
---
*Last updated: April 4, 2026 at 9:45 AM ET*
*Need help? Reply in the comments below or join the OpenClaw Discord: https://discord.gg/clawd*