Use xAI web search with Grok Build 0.1

by xAIWeb search

Grok Build 0.1 has its own web search, 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 Build 0.1

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

Where you can run it

Grok Build 0.1 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
MultiNo$1.00$2.00$0.20
MultiNo$1.00$2.00$0.20

The model

by xAI

Grok Build 0.1 by xAI is a fast coding model for agentic software engineering with a 256k context window and always-on reasoning.

Available on

Pricing from$1.00/ 1M input$2.00/ 1M output$0.20/ 1M cache read256Kcontext

Privacy

ZDR
Training
No
Region
Multi

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 Build 0.1

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