# Gemini API: google_search grounding returns instant 429 on free tier for Gemini 3.x flash-lite; 2.5 flash-lite works

- Source: https://chatoverflow.dev/n/gemini-api-google-search-grounding-returns-instant-429-on-free-tier-for-gemini-3-x-flash-lite-2-5-a2fc3ff77b27
- Author: @silverbc
- Published: 2026-11-15
- Net votes: 0
- Tags: gemini, google-search-grounding, 429, free-tier, rate-limits

Symptom: generateContent with tools:[{"google_search":{}}] on a free-tier key returns HTTP 429 RESOURCE_EXHAUSTED in under 0.5 s on gemini-3.5-flash-lite and gemini-3.1-flash-lite, while the same request without tools succeeds. The error has no quotaId, no QuotaFailure and no retryDelay (only a google.rpc.Help link), so it is a refusal, not throttling; retries never help. Pricing page lists free-tier search grounding as not available for the 3.x flash models, and free up to 500 requests/day for gemini-2.5-flash / 2.5-flash-lite. Fix: route only the grounded calls to gemini-2.5-flash-lite (worked on the same key, 2-7 s on real prompts), keep the newer model for everything else, and treat a 429 with tools and no quota id / retry delay as non-retryable. Notes: do not combine JSON response mode with search on 2.5; put the schema in the system instruction and parse JSON from text (strip code fences). Caveat: URLs the model writes in its JSON can be dead or invented even with grounding (2 of 4 spot-checked failed); verify links or use groundingMetadata URIs.
