arrow_forwardGuides / Perplexity AI
Updated April 2026 15 min read For beginners and advanced

Perplexity AI
The complete guide

The search engine that combines AI with real-time results — Pro Search, Focus Modes, Spaces, API and everything you need to know to search smarter.

Real-time
Real-time search
Citations
Sources in every sentence
$20
Pro per month
API
Developer access

What is Perplexity AI?

Perplexity AI is an AI-based search engine that delivers direct answers with source citations, in real time. Unlike ChatGPT or Claude, which rely on knowledge learned up to a certain date, Perplexity searches the web right now and synthesizes the results into a coherent answer with links for every claim.

The company was founded in 2022 by Aravind Srinivas (formerly OpenAI and Google DeepMind), Denis Yarats (formerly Meta AI), Johnny Ho and Andy Konwinski. Within two years they reached more than15 million monthly active users and raised hundreds of millions of dollars, including investment from Jeff Bezos and NVIDIA.

The product works as a combination of Search Engine and LLM: it runs multiple search queries simultaneously, reads the web pages, and then feeds the content to a language model that produces a summarized answer. The result is a fundamentally different experience from regular search — instead of a list of links, you get an answer.

The difference from Google Search

Google Search returns a list of links — you have to visit each site and filter the information yourself. Perplexity does that work for you: it reads the sites, synthesizes the information, and presents one consolidated answer with a source index you can verify. Instead of 10 open tabs — one answer.

The difference from ChatGPT

ChatGPT (without Web Search) works from knowledge learned up to a cutoff date — it doesn't know what happened this month. Even ChatGPT with Web Search works differently: Perplexity is built from the ground up for search, shows sentence-level citations, and is architecturally tuned for processing web results. ChatGPT excels at writing and creation; Perplexity excels at search and fact-checking.

Pricing

Free
$0
  • Unlimited Quick Search
  • 5 Pro Searches per day
  • Basic Focus Modes
  • AI model selection
  • Image generation
Pro
$20/month
  • Unlimited Pro Search
  • Model selection: GPT-4o, Claude, Gemini
  • Image generation (Flux, DALL-E)
  • Advanced Spaces + sharing
  • $5 monthly API credit
savings
Tip: an annual subscription = 40% savings

An annual subscription costs about $200/year (instead of $240) — a $40 saving. If you use it regularly, the annual plan is substantially better.

Perplexity's interface

Perplexity's interface is made up of several main areas worth knowing. Unlike Google, which everyone knows, Perplexity presents a hybrid experience between a search engine and an AI conversation.

The main interface components

perplexity.ai — a search result with citations
Question: what are the latest developments in AI?
In 2026, rapid development is taking place in AI. OpenAI launched GPT-5 [1] with improved reasoning capabilities, while Google introduced Gemini 2.5 Ultra [2] with a million-token context window. Anthropic updated Claude 4 [3] with an emphasis on safety and coding capabilities.
Sources
[1]
openai.com — GPT-5 Launch Announcement
[2]
blog.google — Gemini 2.5 Ultra Release Notes
[3]
anthropic.com — Claude 4 Technical Report
play_circle
Perplexity AI — a full guide + Pro Tips
YouTube • search for tutorials
open_in_new

Focus Modes — focused search by source

One of Perplexity's most powerful features. Instead of searching the whole internet, Focus Modes let you narrow to a specific source type — which significantly improves answer quality for focused questions.

language
Web
Default

General search across the internet. Suited to most questions — news, facts, general info, prices and hours.

When to use

Questions with no preferred specific source — "what's the weather in Tel Aviv", "what's Tesla worth"

science
Academic
PubMed, arXiv, Semantic Scholar

Searches scientific papers only. Shows DOI, publication year, author name. Citations in APA format.

When to use

Biology, medicine, physics, computer science — any question requiring an evidence-based answer

play_circle
YouTube
Videos + transcripts

Searches and summarizes YouTube videos. Transcribes the speech and extracts key points with timestamps.

When to use

"What did so-and-so say in X", "summarize Y's lecture for me", reviews and tutorials

forum
Reddit
Real opinions

Discussions, reviews and personal experiences from Reddit only. Prefers answers with high upvotes.

When to use

"What do people think about X", product reviews, tips from users themselves

edit_note
Writing
LLM without search

A writing mode without search — the LLM works from its own knowledge. No citations. Suited to writing, editing, translation and summaries of text you provide.

When to use

Editing and improving text, writing an email, translation, creative writing — when you provide the material yourself

perplexity.ai — choosing a Focus Mode
Click Focus before asking
language Web
science Academic
play_circle YouTube
forum Reddit
edit_note Writing

Pro Search is Perplexity's premium product — not just a quick search, but a multi-step research process. While Quick Search searches and shows an answer within 5 seconds, Pro Search takes 15-30 seconds and does much more.

What happens behind the scenes

1
Clarification
Perplexity asks clarifying questions — sometimes offering 3-4 interpretations of your question
2
Decomposition
The question is broken into sub-queries — each dimension is researched separately
3
Multi-Source Search
Each sub-query searches independently — dozens of sources are read simultaneously
4
Synthesis
A strong AI model (GPT-4o, Claude Opus, Gemini Pro — your choice) synthesizes it all into one answer
5
Citation-Rich Output
A detailed answer with citations for every claim — you can verify every sentence

Quick Search vs Pro Search — a direct comparison

Criterion Quick Search Pro Search
Response time 3-5 seconds 15-30 seconds
Analysis depth Basic Very deep
Number of sources 5-10 20-40+
AI model selection
Price Free Pro only (5/day free)
Best for Quick facts, news Research, comparisons, analysis

Prompt tips for Pro Search

Spaces (Collections) — a personal Knowledge Base

Spaces is a feature that lets you create a dedicated workspace for a project. Inside a Space you can upload files (PDF, Word, CSV, text), set fixed system instructions, and save conversation history. All conversations in a Space share the same context.

Creating a useful Space — step by step

1
Create a new Space
Click "New Space" in the sidebar. Give it a clear name — "Q2 2026 market research", "Client X project".
2
Set a System Prompt
Write fixed instructions: "Always answer in English. You are a SaaS market analyst. Focus on B2B."
3
Upload relevant documents
PDFs of reports, articles, contracts, Excel data — Perplexity will read and index them.
4
Start asking
Perplexity will search both the web and the documents you uploaded — far more focused results.

Use Cases for Spaces

tips_and_updates
Perplexity Pages — automatically generated content pages

The Pages feature lets you generate a structured article page with sections, images and sources from a single question. Excellent for creating briefings, research to share, and even initial blog posts to edit.

Perplexity API — integration in code

Perplexity's API is compatible with OpenAI's format — meaning you can adapt existing code with a minimal change to two parameters: the base URL and the model name. The API provides access to the Sonar models built for real-time web search.

A basic code example — Python

from openai import OpenAI

client = OpenAI(
    api_key="pplx-...",          # the API key from perplexity.ai/settings
    base_url="https://api.perplexity.ai"
)

response = client.chat.completions.create(
    model="llama-3.1-sonar-large-128k-online",
    messages=[
        {
            "role": "system",
            "content": "Answer with sources"
        },
        {
            "role": "user",
            "content": "What are the new developments in AI this week?"
        }
    ]
)

print(response.choices[0].message.content)
print(response.citations)  # sources!

Advanced example — Streaming + Citations

from openai import OpenAI

client = OpenAI(
    api_key="pplx-...",
    base_url="https://api.perplexity.ai"
)

# Streaming response — shows text in real time
with client.chat.completions.stream(
    model="sonar-large-online",
    messages=[
        {"role": "user", "content": "What is the state of the real-estate market in Israel in 2026?"}
    ]
) as stream:
    for text in stream.text_stream:
        print(text, end="", flush=True)

# after completion — get the citations
final = stream.get_final_completion()
if hasattr(final, 'citations'):
    print("\n\n--- sources ---")
    for i, url in enumerate(final.citations, 1):
        print(f"  [{i}] {url}")

The models available in the API

Model Context Price (1M tokens) Best for
sonar-small-online 12K $0.20 High volume, fast, cheap
sonar-large-online 127K $1.00 sweet spot — cost/performance
sonar-huge-online 127K $5.00 Deep analysis, maximum accuracy
sonar-reasoning 127K $5.00 Reasoning + combined search
sonar-reasoning-pro 127K $8.00 Deep research, complex analysis
integration_instructions
Integration with n8n, Make.com and Zapier

You can integrate the Perplexity API into any automation tool that supports an HTTP Request with the OpenAI format. Change the base URL tohttps://api.perplexity.ai, update the API key — the existing OpenAI node works immediately.

10 practical use cases

Perplexity excels at scenarios requiring up-to-date, verified information with sources. Here are 10 ways to make your life easier.

1
Research Assistant — a fast Literature Review
Instead of spending hours on Google Scholar, ask Perplexity in Academic Mode: "Summarize the latest research on X for me". Within minutes — 10 papers summarized with citations.
Academic Focus Pro Search
2
Fact-Checking — verifying information with sources
Got questionable information? Ask Perplexity with the claim — it will confirm, refute, and show you exactly where each point comes from. Ideal for filtering out fake news and marketing hype.
Automatic citations
3
Competitive Intelligence — competitor research
"What new features did [competitor] add this month?" — Perplexity scans press releases, blogs and product announcements and provides an up-to-date picture. Save the question in a Space and run it weekly.
Web Focus Spaces
4
News Analysis — news summary with Context
Instead of reading 10 articles on the same topic, ask "Summarize what happened on topic X this week, with background". Perplexity arrives already summarized from 15 different sources.
Fast and efficient
5
Academic Research — Papers + ready-made Citations
Academic Mode provides citations in a ready format (APA, MLA). Researchers and students can generate an initial bibliography within minutes — but always verify the papers themselves.
Academic Focus
6
Market Research — Industry Trends
"What are the trends in [industry] in 2026?" — Pro Search produces a data-based summary with sources. Save it in a Space dedicated to the industry and build a cumulative conversation over time.
Pro Search
7
Code Documentation — searching up-to-date Docs
Exactly for questions like "what's the new React 19 API for X?" — Perplexity finds the most up-to-date docs and explains them, not the old version stored in ChatGPT training data.
Real-time docs
8
Legal Research — Case Law + Regulations
Searching current legislation, rulings and regulation — Perplexity finds legislative changes, agency publications and expert positions. Not a replacement for a lawyer, but helps shorten the consultation.
Academic Focus Pro Search
9
Medical Information — Evidence-Based Answers
Unlike ChatGPT, which gives general information, Perplexity's Academic Focus refers to PubMed and Cochrane. Questions about treatments, medications and symptoms get answers based on clinical research.
Academic Focus
10
Investment Research — Financial Data + News
"Give me a financial summary of [company] including the latest Q4 reports and analyst positions" — Perplexity gathers data from SEC filings, Yahoo Finance, company reports and financial media. Not a substitute for investment advice.
Web Focus Pro Search

Perplexity vs ChatGPT Search vs Grok DeepSearch

The three leading AI Search tools today — all search the web in real time, but with fundamentally different approaches. Here is the honest comparison.

Criterion Perplexity ChatGPT Search Grok DeepSearch
Citations In every sentence In the answer In the answer
Cost Free / $20 $20 Plus Free / X Premium
Focus Modes 5 modes No No
Academic Papers Academic Mode Partial Minimal
Spaces / Projects Spaces Projects Minimal
API Sonar API OpenAI API xAI API
Social search Reddit only Limited X/Twitter excellent
Writing and creation Basic Excellent Good
AI model selection GPT-4o, Claude, Gemini GPT only Grok only

When to choose each tool

Tips and tricks

Multi-Step questions

Instead of a long, complex question, break it into steps: first ask "what's the background of X?", get an answer, then ask "how does that affect Y?". The context is kept in the conversation and you'll get a deeper analysis than one big question.

Specify a date range

Add "from the last 3 months" or "published after January 2026" to filter out old results. Perplexity respects time instructions relatively well.

Ask for a specific format

Perplexity responds well to format requests: "as a comparison table", "in bullet points", "as a numbered list with pros and cons". Combined with Pro Search it yields structured reports that are nearly ready to publish.

Academic Mode for medical and scientific questions

For any question requiring evidence — ask in Academic Mode. Perplexity will refer to peer-reviewed scientific sources rather than blogs. Result: more reliable answers with citations you can review.

Follow-up Questions — explore in depth

Always look at the Related Questions shown at the bottom. Perplexity identifies dimensions you didn't ask about — one click expands the research. Good conversations in Perplexity are usually 5-10 short questions, not one long question.

Export and sharing

Every answer can be Copied in various formats (Markdown, plain text). Spaces can be shared on Pro. Pages can be shared as a public page. Excellent for sharing research with colleagues.

warning
Caution: Perplexity is good at search, not at absolute facts

Perplexity can cite unreliable sources and synthesize incorrect information. Always click the citations and verify critical sources. Citations are not a guarantee of accuracy — they are a guarantee of transparency.

4 practical projects

Daily News Digest — a morning news summary
Beginner

Send a fixed question to the Perplexity API every morning and send the result to Slack / email. 20 lines of code, no special dependencies.

# daily_brief.py
import requests, json

def get_daily_brief(topics=["AI", "cybersecurity", "startup"]):
    url = "https://api.perplexity.ai/chat/completions"
    headers = {"Authorization": "Bearer pplx-...", "Content-Type": "application/json"}

    query = f"Give me the 5 most important news items on {', '.join(topics)} from the last 24 hours. English, bullet points."

    data = {
        "model": "sonar-large-online",
        "messages": [{"role": "user", "content": query}]
    }

    r = requests.post(url, headers=headers, json=data)
    return r.json()["choices"][0]["message"]["content"]

if __name__ == "__main__":
    brief = get_daily_brief()
    print(brief)
    # add sending to Slack/email here
Research Automation — Multi-Source Report
Intermediate

A Python script that takes a research question, sends it to Perplexity, extracts the citations, and creates a Word document with organized results.

# research_report.py
from openai import OpenAI
from docx import Document  # pip install python-docx

def research_topic(query: str, output_file="report.docx"):
    client = OpenAI(api_key="pplx-...", base_url="https://api.perplexity.ai")

    response = client.chat.completions.create(
        model="sonar-huge-online",  # the deepest
        messages=[
            {"role": "system", "content": "Write a detailed research report with headings and subheadings."},
            {"role": "user", "content": query}
        ]
    )

    content = response.choices[0].message.content
    citations = getattr(response, 'citations', [])

    # save to Word
    doc = Document()
    doc.add_heading(query, 0)
    doc.add_paragraph(content)

    if citations:
        doc.add_heading("Sources", 1)
        for i, url in enumerate(citations, 1):
            doc.add_paragraph(f"[{i}] {url}")

    doc.save(output_file)
    print(f"Report saved: {output_file}")

# example
research_topic("What are the trends in AI agents in 2026?")
Competitive Monitoring — weekly competitor monitoring
Intermediate

Every Monday morning — a script sends Perplexity questions about each competitor on the list and consolidates the findings in Notion or a Google Sheet.

# competitor_monitor.py
from openai import OpenAI

COMPETITORS = ["Competitor A", "Competitor B", "Competitor C"]

def check_competitor(name: str) -> dict:
    client = OpenAI(api_key="pplx-...", base_url="https://api.perplexity.ai")

    response = client.chat.completions.create(
        model="sonar-large-online",
        messages=[{
            "role": "user",
            "content": f"""Check what's new at {name} in the last week:
            1. New product launches
            2. Pricing changes
            3. Management team changes
            4. Strategic moves
            Answer in English, bullet points."""
        }]
    )

    return {
        "name": name,
        "update": response.choices[0].message.content,
        "sources": getattr(response, 'citations', [])
    }

# run on all competitors
results = [check_competitor(c) for c in COMPETITORS]
for r in results:
    print(f"\n=== {r['name']} ===")
    print(r['update'])
AI Research Assistant — LangChain + Perplexity
Advanced

Integrating Perplexity as a tool in a LangChain Agent. The Agent decides when to search the web (via Perplexity) and when to use local knowledge — to build a real research assistant.

# research_agent.py
from langchain.agents import AgentExecutor, create_openai_tools_agent
from langchain_core.tools import tool
from langchain_openai import ChatOpenAI
from openai import OpenAI

@tool
def perplexity_search(query: str) -> str:
    """Search for up-to-date information on the web with citations. Use when you need information that changes."""
    client = OpenAI(api_key="pplx-...", base_url="https://api.perplexity.ai")
    response = client.chat.completions.create(
        model="sonar-large-online",
        messages=[{"role": "user", "content": query}]
    )
    content = response.choices[0].message.content
    citations = getattr(response, 'citations', [])
    return f"{content}\n\nSources: {', '.join(citations[:3])}"

# main LLM — Claude or GPT-4o
llm = ChatOpenAI(model="gpt-4o", temperature=0)

# Agent with Perplexity as a tool
tools = [perplexity_search]
agent = create_openai_tools_agent(llm, tools, prompt)
executor = AgentExecutor(agent=agent, tools=tools, verbose=True)

result = executor.invoke({"input": "Write me a report on the Israeli SaaS market in 2026"})
print(result["output"])

Cheat sheet — Quick Reference

Choosing a Focus Mode

Web
News, prices, general facts, "what is X"
Academic
Biology, medicine, physics, chemistry, computer science
YouTube
What was said in X, reviews of Y, video tutorials
Reddit
Opinions, personal experiences, product reviews, tips

Effective question templates

compare
Comparison
"Compare [A] to [B] by: cost, capabilities, target audience. Give a table."
summarize
News summary
"Summarize what happened on [X] in the last 7 days. Bullet points, English."
science
Academic research
"What does the latest research say about [topic]? Academic mode, cite papers."
analytics
Market analysis
"What are the trends in [industry] in 2026? Who are the leading players? Pro Search."
fact_check
fact-checking
"Is it true that [claim]? Show sources to confirm or refute."

API models — when to use each one

Pro Tips from the field

open_in_new

Useful links

All the official Perplexity AI resources in one place.