Provider guide
Perplexity API pricing and model catalog: use-case guide
Perplexity is the only major LLM API provider built around search-augmented generation: every Sonar response comes with inline citations from real-time web search. This guide maps Perplexity's current pricing to common workloads so you can pick the right Sonar tier without overpaying. For a cross-provider comparison, see the provider pricing comparison.
Pricing data sourced from our catalog. Check data sources for provenance and freshness.
Search-augmented generation
Why Perplexity is different
Unlike traditional LLM providers, Perplexity's Sonar models combine language generation with real-time web search. Every API call retrieves relevant web pages, synthesizes an answer, and returns inline citations with source URLs. This eliminates the need to build your own RAG pipeline for web-grounded Q&A.
Perplexity also offers an Agent API with tool-use capabilities (web search, URL fetch, people search, finance search) and a sandbox execution environment. This makes it suitable for multi-step research workflows beyond simple question answering.
The catalog also includes third-party models accessed through Perplexity's routing layer: Anthropic Claude, OpenAI GPT, Google Gemini, and xAI Grok variants, all with web search enabled.
Model tiers
Perplexity Sonar model tiers at a glance
Prices shown are per 1M tokens from the current catalog. Verify with Perplexity before making purchasing decisions.
| Tier | Models | Input (per 1M) | Output (per 1M) | Best for |
|---|---|---|---|---|
| Budget | Sonar Small, Llama 3.1 8B, Mistral 7B | $0.07 – $0.20 | $0.20 – $0.28 | High-volume classification, simple Q&A |
| Standard | Sonar, Sonar Medium | $0.60 – $1.00 | $1.00 – $1.80 | General search-augmented chat, citations |
| Pro | Sonar Pro, Sonar Reasoning Pro | $2.00 – $3.00 | $8.00 – $15.00 | Multi-step research, complex reasoning with search |
| Deep Research | Sonar Deep Research | $2.00 | $8.00 | Exhaustive analysis with citation and reasoning tokens |
Per-request fees: Sonar models also charge a per-request search fee based on search context depth (low/medium/high). This fee is in addition to token costs. See the official pricing page for current request rates.
Cost example
What does a Sonar workload cost?
Estimate using sonar-small-online. Actual costs depend on model choice, search context depth, and per-request fees. Use the calculator for your exact workload.
Model selection
Which Perplexity model for which workload?
Search-augmented chat
For general-purpose Q&A with citations, use the base Sonar model. It provides grounded answers with source URLs at the lowest per-token cost among search-enabled models.
Multi-step research
For complex research requiring multiple search queries and synthesis, use Sonar Pro or Sonar Reasoning Pro. The higher per-request cost is offset by deeper search context.
Exhaustive analysis
For thorough reports requiring extensive citation and reasoning, Sonar Deep Research charges additional per-token fees for citation, reasoning, and search queries.
Embedding and vector search
Perplexity's pplx-embed models offer competitive embedding pricing. The 0.6B model at $0.004/1M tokens is one of the cheapest embedding options available.
Cost optimization
How to reduce Perplexity API costs
Choose the right Sonar tier. The base Sonar model handles most search-augmented Q&A tasks. Reserve Sonar Pro and Deep Research for queries that genuinely require multi-step reasoning or exhaustive citation. See the model routing cascade framework.
Minimize search context depth. Sonar request fees vary by search context size (low/medium/high). For straightforward factual queries, the low tier is sufficient and costs less per request.
Use budget models for classification. If you only need to classify or route queries without search augmentation, use the cheaper Llama or Mistral models at $0.07–$0.20/1M input tokens instead of Sonar.
Batch embedding jobs. Perplexity's embedding models are priced per token with no per-request overhead. Process documents in large batches to amortize any fixed costs. See the embedding cost guide.
Consider the Agent API for complex workflows. The Agent API's preset tiers (fast, low, medium, high) bundle model, tools, and sandbox costs. For multi-tool workflows, a preset may be cheaper than composing individual API calls.
Pricing structure
Understanding Perplexity's pricing model
| Component | Sonar API | Agent API |
|---|---|---|
| Token pricing | Per 1M input/output tokens | Per 1M input/output tokens |
| Search fee | Per-request fee by search depth (low/medium/high) | Per-invocation tool fees (web_search, fetch_url, etc.) |
| Sandbox | N/A | $0.03/session + $0.0025/search |
| Cache pricing | Available for Sonar models | Available for Agent API models |
| Embeddings | Per 1M tokens ($0.004 for 0.6B, $0.03 for 4B) | |
Full catalog
All Perplexity models with pricing in the database
| Model | Mode | Input (per 1M) | Output (per 1M) | Context |
|---|---|---|---|---|
| pplx-embed-v1-0.6b | embedding | $0.0040 / 1M tokens | — | 33k |
| pplx-embed-v1-4b | embedding | $0.0300 / 1M tokens | — | 33k |
| pplx-7b-online | chat | — | $0.2800 / 1M tokens | 4k |
| sonar-small-online | chat | — | $0.2800 / 1M tokens | 12k |
| mistral-7b-instruct | chat | $0.0700 / 1M tokens | $0.2800 / 1M tokens | 4k |
| mixtral-8x7b-instruct | chat | $0.0700 / 1M tokens | $0.2800 / 1M tokens | 4k |
| pplx-7b-chat | chat | $0.0700 / 1M tokens | $0.2800 / 1M tokens | 8k |
| sonar-small-chat | chat | $0.0700 / 1M tokens | $0.2800 / 1M tokens | 16k |
| llama-3.1-8b-instruct | chat | $0.2000 / 1M tokens | $0.2000 / 1M tokens | 131k |
| codellama-34b-instruct | chat | $0.3500 / 1M tokens | $1.4000 / 1M tokens | 16k |
| sonar-medium-online | chat | — | $1.8000 / 1M tokens | 12k |
| llama-3.1-70b-instruct | chat | $1.0000 / 1M tokens | $1.0000 / 1M tokens | 131k |
| sonar | chat | $1.0000 / 1M tokens | $1.0000 / 1M tokens | 128k |
| sonar-medium-chat | chat | $0.6000 / 1M tokens | $1.8000 / 1M tokens | 16k |
| pplx-70b-online | chat | — | $2.8000 / 1M tokens | 4k |
| codellama-70b-instruct | chat | $0.7000 / 1M tokens | $2.8000 / 1M tokens | 16k |
| llama-2-70b-chat | chat | $0.7000 / 1M tokens | $2.8000 / 1M tokens | 4k |
| pplx-70b-chat | chat | $0.7000 / 1M tokens | $2.8000 / 1M tokens | 4k |
| sonar-reasoning | chat | $1.0000 / 1M tokens | $5.0000 / 1M tokens | 128k |
| sonar-deep-research | chat | $2.0000 / 1M tokens | $8.0000 / 1M tokens | 128k |
Showing 20 of 22 models. View all Perplexity models.
FAQ
Frequently asked questions
Does Perplexity charge for search separately? Yes. Sonar models charge a per-request search fee in addition to token costs. The fee varies by search context depth (low, medium, high). Agent API charges per-invocation tool fees for web_search, fetch_url, and other tools.
What is the difference between Sonar and Sonar Pro? Sonar is optimized for straightforward Q&A with search. Sonar Pro handles multi-step queries with deeper search context and higher-quality synthesis, but costs more per token and per request.
Does Perplexity offer cached input pricing? Yes. Both Sonar and Agent API models support cache pricing. Cached input tokens are billed at a fraction of the standard input rate, reducing costs for prompts with repeated prefixes.
Can I use Perplexity models without search? Some models in the catalog (Llama, Mistral, CodeLlama) are available as standard chat models without search augmentation. The Sonar models always include web search.
How does Perplexity compare to building my own RAG? Perplexity's Sonar models eliminate the need to build search infrastructure, manage vector stores, and handle citation extraction. For web-grounded Q&A, it can be simpler and cheaper than a self-built RAG pipeline. See the RAG application guide for comparison.
What embedding models does Perplexity offer? Two models: pplx-embed-v1-0.6b (1024 dimensions, $0.004/1M tokens) and pplx-embed-v1-4b (2560 dimensions, $0.03/1M tokens). Both support 32k context windows.
Related guides
Continue reading
Cross-provider pricing comparison
How Perplexity pricing compares against OpenAI, Anthropic, Google, and DeepSeek.
Hidden costs of LLM APIs
Rate limits, latency, evaluation overhead, and vendor risk beyond per-token pricing.
Model routing cascade
When to use budget vs premium models across providers.
Building a RAG application
Model selection and cost optimization for retrieval-augmented generation.
LLM API Pricing Glossary
Definitions for per-1M-tokens, context window, prompt caching, and other pricing terms.
Tools
Estimate your Perplexity costs
Disclaimer
Prices are sourced from public provider documentation and the site's model catalog. Verify with Perplexity before making purchasing decisions. This article is not affiliated with Perplexity.