Use Exa search with Gemini 3.8 Flash

Gemini 3.8 Flash searches the web through Exa with one tool entry, "engine": "exa". Pinning it replaces Gemini 3.8 Flash's own search, which auto would otherwise use on its maker's endpoint.

UseExa search logoExa searchwithin

Add Exa search to Gemini 3.8 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/chat/completions \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gemini/gemini-3.8-flash",
"messages": [{"role": "user", "content": "What changed in the news today?"}],
"tools": [{"type": "opper:web_search", "engine": "exa"}]}'

Where you can run it

Gemini 3.8 Flash runs Exa search 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.08Not offered on this routeNot offered on this route
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.07Not offered on this routeNot offered on this route
MultiNo$0.75$3.75$0.07$0.83 write

The model

by Google

Gemini 3.8 Flash is Google's workhorse multimodal model for software engineering and agentic tasks, pairing 1M context with image, audio, video, and PDF input.

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 Exa search with other models

Step-by-step setup for Exa search on each of these models through Opper.

More tools on Opper

Use Exa search with Gemini 3.8 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