Use OpenAI web search with GPT-5.4 Mini

by OpenAIWeb search

GPT-5.4 Mini has its own web search on 1 of its 2 routes, and auto uses it when you call it on the Responses endpoint. On every other route and endpoint Opper's engine runs the search.

UseOpenAI web searchwithin

Add OpenAI web search to GPT-5.4 Mini

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/responses \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-5.4-mini",
"input": "What changed in the news today?",
"tools": [{"type": "opper:web_search", "engine": "native"}]}'

Where you can run it

GPT-5.4 Mini runs OpenAI web search on the routes below. Its route also sells flex and priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
USNo$0.75$4.50$0.07

The model

by OpenAI

GPT-5.4 Mini is OpenAI's strongest small model, improving over GPT-5 Mini in coding and reasoning while running more than 2x faster, with a 400k context window.

Available on

Pricing from$0.75/ 1M input$4.50/ 1M output$0.07/ 1M cache read400Kcontext

Privacy

ZDR
Training
No
Region
EU + US

Use OpenAI web search with other models

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

More tools on Opper

Use OpenAI web search with GPT-5.4 Mini

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