Use Claude web search with Claude Opus 4.8

by AnthropicWeb search

Claude Opus 4.8 has its own web search on 1 of its 4 routes, and auto uses it when you call it on the Messages endpoint. On every other route and endpoint Opper's engine runs the search.

UseClaude web searchwithin

Add Claude web search to Claude Opus 4.8

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/v1/messages \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-opus-4-8", "max_tokens": 1024,
"messages": [{"role": "user", "content": "What changed in the news today?"}],
"tools": [{"type": "opper:web_search", "engine": "native"}]}'

Where you can run it

Claude Opus 4.8 runs Claude web search on the routes below.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$5.00$25.00$0.50$6.25 write

The model

by Anthropic

Claude Opus 4.8 by Anthropic, highly capable model for complex reasoning, coding, and agentic work with 1M context and improved efficiency.

Available on

Pricing from$5.00/ 1M input$25.00/ 1M output$0.50/ 1M cache read1Mcontext

Privacy

ZDR
Training
No
Region
US, EU, Multi

Use Claude web search with other models

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

More tools on Opper

Use Claude web search with Claude Opus 4.8

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