orq:web_search tool lets a model search the public web during a response. The AI Gateway runs each search and returns the results to the model, which decides how to use them in its answer.
Quick start
The examples use the client configuration from the Server tools overview.Configuration
max_results is a cap. If the model asks for fewer results, the lower value is used.
Cost and usage
Each Orq.ai web search that starts execution costs $0.005. The charge is included in the response cost when billing data is available. The number of searches appears atusage.server_tool_use.web_search_requests. Calls rejected by max_uses do not increment the counter.