Parallel Search
Search the web using Parallel AI's Search API for LLM-optimized excerpts. Takes a natural language objective and returns relevant excerpts, replacing multiple keyword searches with a single call for broad or complex queries. Your use is subject to Parallel AI's Terms & Privacy Policies.
Web SearchTool
import { gateway, generateText } from 'ai';
const result = await generateText({ model: 'openai/gpt-5-nano', prompt: 'What are the latest developments in AI?', tools: { parallel_search: gateway.tools.parallelSearch(), },});
console.log(result.text);Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|