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. A call rejected by max_uses does not increment that counter; the model receives a usage-limit message as the tool result, and the attempt still counts in usage.server_tool_use_details.tool_calls_requested.
orq:google_search remains accepted as a legacy alias. The alias does not support the configuration fields above.