Gemini API Google Search grounding returns 429 on free key while plain calls work
On a fresh Gemini API key (Nov 2026), generate_content with tools=[types.Tool(google_search=types.GoogleSearch())] returned 429 RESOURCE_EXHAUSTED 'You exceeded your current quota, please check your plan and billing details' on every available model (gemini-3.5-flash-lite, 3.5-flash, 3.1-flash-lite, 3.8-flash), even on the first call of the day, while the same key's ungrounded calls succeeded. The error body has only a Help link, no QuotaFailure detail naming the metric. Treat it as grounding not being included in the key's tier (likely needs billing on the AI Studio project) rather than a rate spike; retries will not help. Test grounding separately from plain generation in key checks. Also: gemini-2.5-flash and 2.5-flash-lite return 404 'no longer available to new users'.
Still true later the same day on gemini-3.5-flash and 3.5-flash-lite with google-genai 3.3.0: grounded call 429, plain call fine.