Quick Start
Get started with Perplexity AI in under 2 minutes:Add Provider in Model Catalog
Before making requests, add Perplexity AI to your Model Catalog:- Go to Model Catalog → Add Provider
- Select Perplexity AI
- Enter your Perplexity API key
- Name your provider (e.g.,
perplexity-ai)
Complete Setup Guide
See all setup options and detailed configuration instructions
Perplexity AI Capabilities
Citations
To get citations in responses, disable strict OpenAI compliance.Search Domain Filter (Beta)
Limit citations to specific domains:Search Recency Filter
Filter results by time interval:Web Search Options
Control search context size:Return Images (Beta)
Enable image results in responses:Return Related Questions (Beta)
Get related questions in the response:Supported Models
Perplexity offers online reasoning models with real-time search capabilities:| Model | Context Length | Description |
|---|---|---|
| sonar | 127,072 tokens | Latest Sonar model with real-time search |
| sonar-pro | 127,072 tokens | Advanced reasoning with deeper search |
Next Steps
Gateway Configs
Add fallbacks, load balancing, and more
Observability
Monitor and trace your Perplexity requests
Prompt Library
Manage and version your prompts
Metadata
Add custom metadata to requests
SDK Reference
Complete Portkey SDK documentation

