Use xAI web search with Grok 4.3

by xAIWeb search

Grok 4.3 has its own web search on 4 of its 5 routes, and auto uses it. On every other route and endpoint Opper's engine runs the search.

UsexAI web searchwithin

Add xAI web search to Grok 4.3

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": "xai/grok-4.3",
"messages": [{"role": "user", "content": "What changed in the news today?"}],
"tools": [{"type": "opper:web_search"}]}'

Where you can run it

Grok 4.3 runs xAI web search on the routes below. Some routes also sell priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
EUNo$1.25$2.50$0.20
EUNo$1.25$2.50$0.20
MultiNo$1.25$2.50$0.20
MultiNo$1.25$2.50$0.20

The model

by xAI

Grok 4.3 by xAI combines always-on reasoning with a 1M context window, native vision, and agentic tool calling in one model.

Available on

Pricing from$1.25/ 1M input$2.50/ 1M output$0.20/ 1M cache read1Mcontext

Privacy

ZDR
Training
No
Region
Multi, EU

Use xAI web search with other models

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

More tools on Opper

Use xAI web search with Grok 4.3

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