Subscription login in OpenCode or another client: ban risk
Published · Updated · Checked against Claude Code legal and compliance page, Codex auth docs, OpenAI terms of use, GitHub issue 17118, Google AI forum thread 124508, 10 Nov 2026
If a tool other than the vendor's own app signs in with your subscription login, stop using it now and move that tool to an API key. Anthropic's documentation says plainly that subscription sign-in is not for third-party tools. Google users have reported mass blocks for the same pattern, and OpenAI's terms and Codex auth page name no rule about third-party clients. If you are already blocked, remove the tool and tell the vendor so in the appeal.
What each vendor's text says
Anthropic
The legal and compliance page of the Claude Code docs, read on 10 November 2026, has a section on authentication and credential use. It says OAuth authentication "is intended exclusively for purchasers of Claude Free, Pro, Max, Ultra, Team, and Enterprise subscription plans" and is meant for ordinary use of Claude Code and Anthropic's own native applications.
For anyone building something, the same section says developers "should use API key authentication through Claude Console or a supported cloud provider". It adds that Anthropic does not permit third-party developers to "route requests through Free, Pro, Max, or Ultra plan credentials on behalf of their users". Elsewhere on the page, customers may not "pay for, resell, or intermediate Claude usage" for their end users. It ends: Anthropic "may do so without prior notice".
The page does not restrict you from signing in to the unmodified Claude Code with your own subscription. The line it draws is about other software holding your subscription credentials.
OpenAI
OpenAI's terms and Codex pages name no rule about third-party clients. Two nearby texts exist. OpenAI's terms of use, effective 1 January 2026, bar you from sharing your account credentials or making your account available to anyone else. The Codex auth page says to "treat ~/.codex/auth.json like a password" because it contains access tokens, and says API keys are "still the recommended default for automation". Neither text is a statement that a given client is banned. They are the reason not to hand a login token to software you do not control.
Google and GitHub
No official Google page states a rule on this. What exists is user reports. In a Google AI developer forum thread started on 20 February 2026, a paying AI Ultra user wrote that their access to the Antigravity environment was suspended with a "Terms of Service" 403 after using OpenClaw with OAuth, and the thread title speaks of mass bans for open-source CLI users. No Google staff reply appears in the thread. A support agent is quoted as saying the block could not be lifted. The thread shows no resolution.
The Copilot docs have no text specific to third-party clients. GitHub's general appeal and reinstatement page says appeal decisions "are made by humans and not by any automated means" and that GitHub may refuse requests made more than six months after the decision.
What users report
The GitHub issue #17118, "[Feature Request] Support for OpenCode and Max plan", was opened on 9 January 2026 and closed as completed the same day. Its roughly 410 comments include Max subscribers reporting 401 errors from OpenCode and, on 1 February, rejected tokens in OpenClaw. A bot locked it on 9 February 2026. The report is of a lockout from the tool, and those users do not describe bans.
That distinction matters. A rejected token is the vendor closing a door. A banned account is a different outcome, and Anthropic's own text reserves the right to act without notice. No public case exists where the vendor tied one to this cause.
How to stop
- Quit the third-party tool and, in its settings, remove or log out of the Claude, Google or ChatGPT account it holds.
- Delete any token the tool stored, such as an
auth.json-style file or an environment variable, and revoke the grant where the vendor lets you list connected apps. - If you still want that tool, use an API key under the vendor's pay-per-token billing. The vendor's text above names API keys as the intended path, and the bill goes to you.
- Keep working in the vendor's own client in the meantime. Keep coding while your AI account is banned has stopgaps.
If you are already blocked
Use the vendor's route. For Claude that is the appeal form after logging in, described in what to do in the first hour. For OpenAI see how to appeal a ChatGPT deactivation. Do not open a new account to carry on.
Account: [email]
Plan: [plan], since [month, year]
What happened: [date and exact error or email wording]
Tool involved: [name and version]
How it signed in: [subscription login / API key]
What I have done: [removed the tool on [date]; deleted stored tokens; revoked access]
What I will do: [use the vendor's own client / an API key under my own billing]
Request: [review of the decision]
Delete what does not apply.
Say it in plain words: you used the tool, you did not know or did not take the rule seriously, it is removed. Do not minimise it and do not blame the tool author. No vendor promises a result, and no vendor page promises a reply time.
Before you appeal, export what you can: Claude export and ChatGPT export both have limits.
FAQ
Does API-key billing make a third-party client allowed?
For Anthropic, the cited page names API keys through Claude Console or a supported cloud provider as the route for developers building on Claude. That is the vendor's stated path. It does not remove the usage policy, and a key from a banned organization may fail.
Can I still use my subscription in the vendor's own app?
Yes. Anthropic's page says nothing restricts signing in to the unmodified Claude Code with your own subscription, and OpenAI's Codex docs describe ChatGPT sign-in as the subscription route.
I was only locked out of OpenCode. Am I banned?
Not necessarily. The 401 reports in #17118 describe failed requests from one tool, not disabled accounts. If claude.ai and Claude Code still work, you are locked out of the tool.