Models
Does the API Currently Support Web Browsing?
Does the API Currently Support Web Browsing?
What Are the Context Windows for Each Model?
What Are the Context Windows for Each Model?
Do You Support Fine-Tuning?
Do You Support Fine-Tuning?
How Are Models Versioned and Deprecated?
How Are Models Versioned and Deprecated?
Output & Capabilities
Can I Get Structured (JSON) Output?
Can I Get Structured (JSON) Output?
text.format field to constrain a response to a JSON schema. See Structured Outputs for examples.Does the API Support Streaming Responses?
Does the API Support Streaming Responses?
stream: true to receive the response incrementally as it is generated, instead of waiting for the full result. See Streaming Responses. The official SDKs expose streaming directly.Does the API Support Tool or Function Calling?
Does the API Support Tool or Function Calling?
To What Extent Is the API OpenAI Compatible?
To What Extent Is the API OpenAI Compatible?
- Orchestrator API (private preview): accepts the OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages formats at
https://api.perplexity.ai/orchestrator/v1. See the Orchestrator API quickstart. - Agent API: supports the OpenAI Responses API interface. Point an OpenAI client at
https://api.perplexity.ai/v1with your Perplexity API key and callclient.responses.create().POST /v1/responsesis accepted as an alias for the canonicalPOST /v1/agent. Some defaults and Perplexity extensions differ from OpenAI’s. See OpenAI Compatibility for the differences.
Are the Reasoning Tokens in Deep Research the Same as the CoTs in the Answer?
Are the Reasoning Tokens in Deep Research the Same as the CoTs in the Answer?
usage.reasoning_tokens and billed at their own rate.Search & Results
Why Are the Results from the API Different from the UI?
Why Are the Results from the API Different from the UI?
- The API uses the same search system as the UI with differences in configuration, so their outputs may differ.
- The underlying AI model might differ between the API and the UI for a given query.
Is the Internet Data Access Provided by the API Identical to That of Perplexity's Web Interface?
Is the Internet Data Access Provided by the API Identical to That of Perplexity's Web Interface?
Does the API Use Content Filtering or SafeSearch?
Does the API Use Content Filtering or SafeSearch?
filters.safe_search defaults to true. The web_search tool has no SafeSearch setting. Legacy Sonar models apply SafeSearch to web results by default.Account, Billing & Limits
How Does API Pricing Work?
How Does API Pricing Work?
- Orchestrator API: per token at each model’s published rates, with no per-request fees.
- Agent API: per token at each model’s published rates, plus tool fees. Most tools bill per call.
sandboxbills per session (a 20-minute billing window), and tools called from inside the sandbox bill at their standard rates. - Search API: per successful request.
- Embeddings API: per token.
- Decisions API: per input token. Output tokens are free.
How Do I Add Credits or Set Up Billing?
How Do I Add Credits or Set Up Billing?
How Can I Upgrade to the Next Usage Tier?
How Can I Upgrade to the Next Usage Tier?
What Are the Limitations to the Number of API Calls?
What Are the Limitations to the Number of API Calls?
How Can I Track My Spend/Usage per API Key?
How Can I Track My Spend/Usage per API Key?
pro (743S), but not every invoice includes this breakdown.Errors & Troubleshooting
How Should I Handle 429: Too Many Requests Errors?
How Should I Handle 429: Too Many Requests Errors?
Retry-After interval, then retry with exponential backoff and jitter. The SDK examples in Error Handling show the backoff shape; for Agent API token limits, start the delay from Retry-After, not from a fixed base. For sustained higher throughput, upgrade your tier or request a custom limit.What Should I Do About 5xx or Connection and Timeout Errors?
What Should I Do About 5xx or Connection and Timeout Errors?
X-Request-ID response header to include when you contact support. The Error Handling guide covers the SDK exception types and recovery patterns.Where Can I Check API Status and Incidents?
Where Can I Check API Status and Incidents?
Data, Privacy & Security
Will User Data Submitted Through the API Be Used for Model Training or Other Purposes?
Will User Data Submitted Through the API Be Used for Model Training or Other Purposes?
What Security and Compliance Certifications Does the API Have?
What Security and Compliance Certifications Does the API Have?
Support & Reliability
How Do I File a Bug Report and What Happens Afterward?
How Do I File a Bug Report and What Happens Afterward?
How Do I Request a New Feature?
How Do I Request a New Feature?
- Requesting support for a new model or capability (e.g., image processing, fine-tuning options)
- Asking for new API parameters (e.g., additional filters, search options)
- Suggesting performance improvements (e.g., faster response times, better citation handling)
- Enhancing existing API features (e.g., improving streaming reliability, adding new output formats)
What's the Best Way to Stay Up to Date with API Updates?
What's the Best Way to Stay Up to Date with API Updates?
Does Perplexity Provide Service Quality Assurances Such as Service Uptime, Frequency of Failures, and Target Recovery Time in the Event of a Failure?
Does Perplexity Provide Service Quality Assurances Such as Service Uptime, Frequency of Failures, and Target Recovery Time in the Event of a Failure?
I Have Another Question or an Issue
I Have Another Question or an Issue