Keep coding while your AI account is banned
Published · Updated · Checked against Claude Code authentication and memory docs, Codex auth and AGENTS.md docs, Hacker News thread 48641160, 10 Nov 2026
Work today with a tool you already have a legitimate account for, such as a work-provided seat or an API key under your own name, and give that tool a handoff note written from your last transcript. Leave the banned account's credentials where they are, leave the appeal alone, and do not open a second account with the vendor that banned you.
What not to do first
A Hacker News poster described this loop in an Ask HN thread in mid-2026: banned after about an hour with a VPN on, refunded, signed up again a month later with the VPN off and the same card, banned again. Their appeal reply said the vendor "cannot reinstate your account at this time". Some commenters in that thread said a new account with a different card worked for them. Nobody there could show that it was allowed, and a commenter who said they had worked on abuse mitigation said such systems accept some false positives.
OpenAI's terms of use, in the copy dated 1 January 2026, say you may not "circumvent any rate limits or restrictions or bypass any protective measures". Anthropic's appeals page does not mention second accounts at all, and what Anthropic does about them is not documented. The safe reading is that a replacement account at the same vendor is a risk to your open appeal, so use a different vendor.
Stopgaps that stay inside the rules
Each of these has its own account, terms and billing. None of them uses the banned account's login.
| Option | How it bills | What to check before you rely on it |
|---|---|---|
| Codex CLI | ChatGPT plan sign-in, or an API key at standard API rates | Per the Codex auth page, API-key mode limits features that need ChatGPT workspace access |
| Claude Code with an API key | Claude Console, pay per token | Only if the Console organization is separate and in good standing. Users report the API side often falls with the account, and the authentication docs warn a key from a disabled organization fails |
| Claude Code through a cloud provider | Your Amazon Bedrock, Google Cloud or Microsoft Foundry contract | Needs provider credentials, usually a company arrangement |
| GitHub Copilot | Your GitHub subscription | Current plan limits and offered agents are not confirmed |
| Cursor | Your Cursor subscription | Same: plan details were not checked |
| Another vendor's CLI | Its own plan | Its region and verification rules apply to you too |
In the Hacker News thread, commenters named Codex, OpenCode with an API router, and several non-US models. Price came up: one commenter said a router costs far more than a flat subscription for heavy use. That is a user opinion. Estimate your token use for one day before you move a whole team onto pay-per-token billing.
If you run a third-party client, give it an API key, not a subscription login. The third-party client article explains why.
Copy before anything deletes your history
Your Claude Code transcripts are plaintext files under ~/.claude/projects/, and by default Claude Code deletes ones older than 30 days. Copy that folder first. Where Claude Code stores sessions lists the paths and the 30-day deletion guide covers the setting. For Codex, where Codex stores sessions applies, and the broader backup guide covers both. Do not copy ~/.codex/auth.json. The Codex docs say to treat it like a password because it holds access tokens.
Write the handoff note from the last transcript
A new tool knows nothing about the last three days. Find the newest transcript:
ls -t ~/.claude/projects/*/*.jsonl | head -5
Open the most recent one for your repository and read the last stretch. You are after decisions, open problems and the exact state of the working tree, not the whole conversation. Ten lines you wrote beat ten thousand tokens of pasted log.
Handoff: [project name], [date]
Goal right now: [one sentence]
Done and verified: [what works, how you checked]
In progress: [file, function, what is half done]
Decisions already made: [choice, and the reason, one line each]
Do not redo: [dead ends, with why they failed]
Commands: [build, test, run]
Next three steps: [numbered]
Delete what does not apply.
Commit or stash first so git status tells the truth, then paste the note as your first message.
Put the durable parts in the instruction file
Whatever tool you use next reads its own file. Claude Code reads CLAUDE.md, and per the memory docs it can also read a repository's AGENTS.md in place of it. Codex, according to its AGENTS.md page, reads one from your Codex home directory and then from each directory from the project root down, and stops adding files at 32 KiB by default. So a single short AGENTS.md at the repository root works for both. AGENTS.md vs CLAUDE.md vs memory explains what belongs in which file.
Put in it what the handoff note should not have to repeat: build and test commands, conventions, and decisions that hold for the whole project. Keep it short. Long files get ignored in practice, as CLAUDE.md too long shows.
Keep the appeal separate
Work on the stopgap does not change the appeal, and the appeal does not need the stopgap. File it once through the vendor's own route. What to do in the first hour after a Claude ban and how to appeal a ChatGPT deactivation give the paths. Neither vendor states a response time, and neither promises reinstatement.
Sealkeep, a tool from the same site, can seal and search your local Claude Code and Codex sessions without any vendor account, but only on machines where it is installed and only for those two agents.
FAQ
Can I use the same API key in another tool?
A key from a Console organization in good standing can go into any tool the vendor's terms allow. A key from the banned organization may stop working, and issuing a new one from it is not a workaround. Rotate keys you can still see, since a banned account may have left them valid elsewhere.
Is it safe to start a ChatGPT or Gemini account while Claude is banned?
A different vendor does not see the Claude ban, and no vendor page says otherwise. You are bound by that vendor's rules, including region and verification. Use your own name and card.
Will a handoff note really carry the context over?
It carries the decisions and the current state, which is most of what a fresh session needs. It will not carry the reasoning behind every edit. If you need that, search the old transcript for the specific question.
What if my sessions were already deleted?
Then the handoff has to come from git history, issue comments and your own notes. The deletion guide explains which files the default sweep removes and which it does not.