Skip to main content
Perplexity offers powerful language models with built-in web search capabilities, enabling advanced research and Q&A functionality. Explore Perplexity’s models here.

Authentication

Set your PERPLEXITY_API_KEY environment variable. Get your key from Perplexity here.

Example

Use Perplexity with your Agent:
View more examples here.

Params

Perplexity also supports the params of OpenAI.