search_domain: "sec"
in your API requests, you can now focus your searches on official SEC documents, including 10-K reports, 10-Q quarterly reports, 8-K current reports, and other regulatory filings.This feature is particularly valuable for:latest_updated
: Filter results based on when the webpage was last modified or updatedpublished_after
: Filter by original publication date (existing)published_before
: Filter by original publication date (existing)latest_updated
field is particularly useful for:search_mode: "academic"
in your API requests, you can now prioritize results from peer-reviewed papers, journal articles, and research publications.This feature is particularly valuable for:search_context_size
and date filters, giving you precise control over your research queries.Example:"low"
: Faster, simpler answers with reduced token usage"medium"
: Balanced approach (default)"high"
: Deeper, more thorough responses with increased token usageGET https://api.perplexity.ai/async/chat/completions
- Lists all asynchronous chat completion requests for the authenticated userPOST https://api.perplexity.ai/async/chat/completions
- Creates an asynchronous chat completion jobGET https://api.perplexity.ai/async/chat/completions/{request_id}
- Retrieves the status and result of a specific asynchronous chat completion jobsearch_results
field to the JSON response object.This enhancement provides direct access to the search results used by our models, giving you more transparency and control over the information being used to generate responses.The search_results
field includes:title
: The title of the search result pageurl
: The URL of the search resultdate
: The publication date of the contentcitations
field is being deprecated in favor of the new search_results
field. Please update your applications to use the search_results
field, as the citations
field will be removed in a future update.The search_results
field is now available across all our search-enabled models.search_context_size
parameter, you’ve been on this model already.This change makes pricing simpler and cheaper for everyone — with no downside.View the updated pricing:sonar
and sonar-reasoning
modelsllama-3.1-sonar-small-128k-online
llama-3.1-sonar-large-128k-online
llama-3.1-sonar-huge-128k-online
We recommend updating your applications to use our recently released Sonar or Sonar Pro models – you can learn more about them here. Thank you for being a Perplexity API user.llama-3.1-sonar-small-128k-online
llama-3.1-sonar-large-128k-online
Chat Models -
llama-3.1-sonar-small-128k-chat
llama-3.1-sonar-large-128k-chat
These new additions surpass the performance of the previous iteration. For detailed information on our supported models, please visit our model card documentation.[Action Required] Model Deprecation Notice
Please note that several models will no longer be accessible effective 8/12/2024. We recommend updating your applications to use models in the Llama-3.1 family immediately.The following model names will no longer be available via API -
llama-3-sonar-small-32k-online
llama-3-sonar-large-32k-online
llama-3-sonar-small-32k-chat
llama-3-sonar-large-32k-chat
llama-3-8b-instruct
llama-3-70b-instruct
mistral-7b-instruct
mixtral-8x7b-instruct
We recommend switching to models in the Llama-3.1 family:Online Models -
llama-3.1-sonar-small-128k-online
llama-3.1-sonar-large-128k-online
Chat Models -
llama-3.1-sonar-small-128k-chat
llama-3.1-sonar-large-128k-chat
Instruct Models -
llama-3.1-70b-instruct
llama-3.1-8b-instruct
If you have any questions, please email support@perplexity.ai.
Thank you for being a Perplexity API user.Stay curious,Team Perplexitycodellama-70b-instruct
mistral-7b-instruct
mixtral-8x22b-instruct
pplx-7b-chat
pplx-7b-online