Hello everyone!
I have a question regarding API limits and potential solutions for a specific issue.
In Google AI Studio, the following restrictions are listed for Search Grounding:
- Gemini 2 & Default: 1.5k
- Gemini 3: 0
Here is a quick example of a setup that works fine directly in AI Studio, but throws an error when executed via the API:
tools = [{
'type': 'google_search',
}]
interaction = client.interactions.create(
model='models/gemini-3.6-flash',
input='Katty roa',
system_instruction='Here is a partial song title, correct it and return it in the format: artist - title [t], t - duration',
tools=tools,
)
- Input: Katty roa
- Expected Result: Katy Perry - Roar [3:43][1][2]
- API Response: 429 Too Many Requests
Has anyone encountered this or found a workaround? Any insight would be greatly appreciated!