Shipping an AI app or agent? Security review in 1 working day: $149 / ₹13,900. Request a review →
AI Review Ready
Home / Error fixes / Gemini: disabled for ToS violation
Explainer · Gemini CLI / Antigravity

Gemini CLI: disabled for violation of Terms of Service

This is an account suspension, not a bug you can fix locally. The only route back is the appeal link in the message. Google's appeal form names two causes: using a third-party tool with your Antigravity or Gemini CLI login (it names OpenClaw, Claude Code and OpenCode), and reselling the service. For third-party agents, Google recommends a Vertex or AI Studio API key instead of a product login.

The message

This service has been disabled in this account for violation of Terms of Service. Please submit an appeal to continue using this product.

Through the API it shows as PERMISSION_DENIED (code 403) with the same text. It applies to Antigravity, Gemini CLI and Gemini Code Assist. One user reports the Gemini web app still worked.

What Google's appeal form says causes it

  • Using third-party software, tools or services to access Antigravity, Gemini CLI or Gemini Code Assist, e.g. OpenClaw with Antigravity OAuth. The form's acknowledgement names Claude Code, OpenCode and OpenClaw used with an Antigravity/Gemini CLI login.
  • Resale of AI Developer Tools services.

Several people in issue #29759 say they did neither and believe it's a false positive. The thread has no reply from Google (as of 3 Dec 2026).

What to do

  1. Stop any third-party tool that signs in with your Gemini CLI or Antigravity account before you appeal.
  2. Submit the appeal from the link in the error. The form asks you to confirm you understand the rules and warns: "repeated violations will lead to a permanent suspension."
  3. For other coding agents, use an API key, as the form recommends. Gemini CLI itself also works with one: get a key at aistudio.google.com/apikey and set GEMINI_API_KEY (or use Vertex AI with GOOGLE_API_KEY and GOOGLE_GENAI_USE_VERTEXAI=true). API keys are billed separately from your subscription.

Nobody in the thread has reported how long an appeal takes or how many succeed, so don't count on a fixed time.

Running Claude Code, Codex or Cursor on real repos, or shipping an AI agent? A Quick Review ($149 / ₹13,900, 1 working day) checks one repo, config or setup for leaked keys, risky agent permissions and MCP servers. Request a Quick Review

FAQ

Why was my Gemini CLI account disabled for violation of Terms of Service?

Google's appeal form lists using third-party tools (it names OpenClaw, Claude Code and OpenCode) with your Antigravity or Gemini CLI login, and reselling the service. Some users believe theirs is a false positive.

How do I get Gemini CLI access back?

Submit the appeal from the link in the error message. Stop any third-party tool using your login first; the form warns repeat violations lead to permanent suspension.

Can I use Gemini with Claude Code, OpenCode or other agents?

Google recommends a Vertex AI or AI Studio API key for third-party agents rather than a Gemini CLI or Antigravity product login.

Related errors

Sources

Read 3 Dec 2026. These tools change often: if a step no longer matches, the linked page wins.

Related free tools