Skip to content
Dashboard

Perplexity Search

Search the web using Perplexity's Search API for real-time information, news, research papers, and articles. Provides ranked search results with advanced filtering options including domain, language, date range, and recency filters. Your use subject to Perplexity's Terms & Privacy Policies.

Web SearchTool
index.ts
import { gateway, generateText } from 'ai';
const result = await generateText({
model: 'openai/gpt-5-nano',
prompt: 'What are the latest developments in AI?',
tools: {
perplexity_search: gateway.tools.perplexitySearch(),
},
});
console.log(result.text);

Playground

Try out Perplexity Search by Perplexity. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

perplexity logo
zai logo

Ask a question and GLM 5.2 will use Perplexity Search to find current information and answer with cited sources.

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
Web Search
Capabilities
ZDR
No Training
Release Date
$5/K
+ input costs
06/01/2026

More search tools

Tool
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
$5/K
+ input costs
parallel logo
06/01/2026

Models by Perplexity

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
127K
2.1s
166tps
$1/M
$1/M
$5/K*
perplexity logo
02/19/2025
200K
1.6s
90tps
$3/M
$15/M
$6/K*
perplexity logo
02/19/2025
127K
9.9s
101tps
$2/M
$8/M
$6/K*
perplexity logo
02/19/2025