Perplexity AI logo

Perplexity AI

Free tier

AI-powered search engine that answers questions with cited, up-to-date sources.

Free tier available·All audiences·Powered by Perplexity / OpenAI / Anthropic·API available

Key strengths

real-time web searchcited sourcesSonar APIfollow-up questions
Free tier + paid plans · from $20 USD/mo
San Francisco, US
Founded 2022
No ratings yet

Sonar API

from openai import OpenAI
client = OpenAI(api_key="pplx-...", base_url="https://api.perplexity.ai")
resp = client.chat.completions.create(
    model="sonar-large-online",
    messages=[{"role": "user", "content": "Latest AI research in 2025?"}]
)
print(resp.choices[0].message.content)
# resp.citations — list of source URLs