Use Google Search grounding with Gemini 3.6 Flash

by GoogleWeb search

Gemini 3.6 Flash has its own web search on 3 of its 5 routes, and auto uses it when you call it on the generateContent endpoint. On every other route and endpoint Opper's engine runs the search.

UseGoogle Search groundingwithin

Add Google Search grounding to Gemini 3.6 Flash

Set up with agents

Paste this into your coding agent (Claude Code, Cursor, Codex, and more) and it will set up and build with Opper for you.

Get your API key

In your code

curl "https://api.opper.ai/v3/compat/v1beta/models/gemini/gemini-3.6-flash:generateContent" \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"contents": [{"role": "user", "parts": [{"text": "What changed in the news today?"}]}],
"tools": [{"type": "opper:web_search", "engine": "native"}]}'

Where you can run it

Gemini 3.6 Flash runs Google Search grounding on the routes below. Some routes also sell flex and priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
EUNo$0.82$4.13$0.08$0.91 writeNot offered on this route
USNo$0.75$3.75$0.07$0.79 write
MultiNo$0.75$3.75$0.07$0.83 write

The model

by Google

Gemini 3.6 Flash, Google's token-efficient multimodal Flash model, cuts output tokens by 17% while improving coding and agentic planning.

Available on

Pricing from$0.75/ 1M input$3.75/ 1M output$0.07/ 1M cache read1Mcontext

Privacy

ZDR
Training
No
Region
US, Multi, EU

Use Google Search grounding with other models

Step-by-step setup for Google Search grounding on each of these models through Opper.

More tools on Opper

Use Google Search grounding with Gemini 3.6 Flash

One key, 700+ models, a choice of region, and zero data retention. Tools run in the same request, with every call in your traces.

Get startedView Documentation