Repository navigation
Questions about why i still couldn't use Gemini in my Powershell #30484
Replies: 1 comment
|
Claude's right, and it isn't about headless vs interactive. gemini-cli stopped serving personal Google logins on June 18 (free tier, AI Pro and Ultra), so the sign-in just fails with "this client is no longer supported". The quota and auth pages in the docs still describe the old setup, which is what's confusing. What's left in gemini-cli is Code Assist Standard/Enterprise plus API keys, and Google's announcement calls those paid keys, so I wouldn't count on a free AI Studio key working there. Personal accounts (free, Pro and Ultra) moved to Antigravity CLI ( For calling Gemini from Claude Code, the thing Google points agents at now is gemini-api, a small stateless CLI. Install it, put a key from AI Studio in |
Uh oh!
There was an error while loading. Please reload this page.
Context
I recently cloned the gemini-cli repository locally (on Windows 11 / PowerShell) and tried to set up a workflow where Claude (Claude Code) invokes Gemini locally as a helper tool.
What Happened
When I asked Claude to wire up and call Gemini using my personal Google account setup, it told me that Gemini's personal account interface is no longer open for this kind of access and that I must use an API key with API quota instead.
(Optional: paste exact error output here if a command failed: [Paste error log if any])
Questions
Personal OAuth Scope: Is "Login with Google" (personal account OAuth) strictly restricted to direct interactive terminal sessions by a human, or is calling the official gemini CLI in non-interactive/headless mode (e.g., gemini -p "...") as a subprocess from another local tool also blocked or against ToS?
Policy / Access Change: Has personal free-tier OAuth access in gemini-cli been deprecated/restricted recently, or was Claude specifically referring to the restriction against third-party agents piggybacking on personal OAuth credentials?
Recommended Setup: If GEMINI_API_KEY is the only supported path for tool-to-tool / headless calls, can I use the free-tier API key from Google AI Studio with gemini-cli without enabling paid Cloud billing?
Environment
OS: Windows 11 (PowerShell)
Setup: Cloned google-gemini/gemini-cli repo locally
Caller: Claude Code
All reactions