Use Google Search grounding with Gemini 3.7 Flash

by GoogleWeb search

Gemini 3.7 Flash has its own web search on 2 of its 4 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.7 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/vertexai/gemini-3.7-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.7 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
MultiNo$0.75$3.75$0.07$0.83 write

The model

by Google

Gemini 3.7 Flash is Google's August 2026 Flash release, a large step up in coding and agentic automation over 3.6 while keeping the 1M-token multimodal context.

Available on

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

Privacy

ZDR
Training
No
Region
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.7 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