Perplexity API Platform
The Perplexity Python library describes access to the Perplexity REST API.
- Verified facts
- 7
- Offers
- —
- Sources
- 3
- Pricing
- Metered usage
Overview
API and client scope
The publisher’s Python library describes access to the Perplexity REST API and includes both search and chat-completion examples, with synchronous and asynchronous clients. Check current model and endpoint availability, response fields, citations and usage terms for the exact use case.
The client library identifies Apache 2.0; this does not grant hosted API access or establish model, search-content or trademark rights. A code example is not a guarantee of search coverage, factual correctness or a live integration test.
Read the full editorial overview
Operational checks
Check current charges, request and token units, rate limits, source coverage, data retention, region and account terms before sending data or relying on retrieved results. A consumer subscription should not be assumed to include API usage.
The selected source does not establish comparable prices, latency or quality against another provider. No API key, account, web query through the service or product test was used.
Sources
Perplexity API Platform: perplexity-sdk · Evidence: documentation · Not checked
Documented facts
Each fact comes from official documentation and shows when it was verified.
Who it is for
The Perplexity Python library describes access to the Perplexity REST API.
Coverage limits
The Perplexity Python library describes synchronous and asynchronous clients.
API interfaces
Orchestrator API, Agent API, Search API, Embeddings API, Decisions API
Perplexity API pricing page (docs.perplexity.ai) captured 9 November 2026; prices in USD; supplier statement, not a hands-on test. These are the APIs with a pricing section on the page, not a complete API reference; features and rates differ by API.
Model catalogue
Agent API models come from third-party providers including OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI and NVIDIA.
Perplexity API pricing page (docs.perplexity.ai) captured 9 November 2026; prices in USD; supplier statement, not a hands-on test. Provider list only; the page links to a separate Agent API Models page for the individual models, which this capture does not include. The page also lists Perplexity-named embedding and decision models for other APIs.
Billing basis
Orchestrator API usage is billed per token at each model’s published input and output rates, with no per-request fees.
Perplexity API pricing page (docs.perplexity.ai) captured 9 November 2026; prices in USD; supplier statement, not a hands-on test. The same page prices the Agent API per token at each model’s published rates and lists separate charges: Search API $5.00 per 1,000 successful requests ($1.00 with Fast Search) and per-invocation Agent API tools (for example standard web search $0.0025). Per-model rates are on separate model pages that this capture does not include.
Data controls
Customer content is not used to train generative AI models by default; zero data retention is not the default and is available only to eligible customers under a written agreement.
Perplexity API Privacy & Security page (docs.perplexity.ai) captured 9 November 2026; supplier statement, not a hands-on test. The page says retention, use and security practices vary by API, model and account configuration, that third-party model providers may require limited retention, and that it does not modify the API Terms of Service, which control. The page also notes that certain APIs may be subject to product-specific terms.
Availability
API credits can be purchased through AWS Marketplace, and custom enterprise pricing is available through a sales enquiry.
Perplexity API pricing page (docs.perplexity.ai) captured 9 November 2026; prices in USD; supplier statement, not a hands-on test. Purchase channels only; no custom or enterprise price is stated. Rate limits and usage tiers are on a separate page that this capture does not include.
Applies to the facts above: Publisher SDK README captured 3 November 2026; describes that SDK and API examples, not a live service test. Current models, prices, availability and service terms require confirmation.
Not confirmed in our sources
We have not confirmed these terms for Perplexity API Platform in the linked documentation. That does not mean Perplexity API Platform lacks them; confirm them before you rely on them.
- Pricing
Sources & methodology
Facts come from the linked documentation. Documentation checks are not hands-on tests, and readable sources can have incomplete coverage.
Discovered an undocumented discrepancy or pricing shift? Submit a correction request.
Submit correctionPerplexity API Platform alternatives
Other AI providers tools to weigh. Different billing units do not establish a cost winner, so compare plans side by side.
OpenAI API
AI providers
Hosted models for text and image inputs, with Responses API access and client SDKs. · Evidence needs recheck
PricingUsage-basedPrice needs recheckPrice terms
Usage-based API pricing
Anthropic Claude API
AI providers
Programmatic access to Claude models through a REST API. · Evidence needs recheck
PricingUsage-basedPrice needs recheckPrice terms
Usage-based API pricing
Google Gemini API
AI providers
A developer API catalogue with text, multimodal, audio and image model families. · Evidence needs recheck
PricingUsage-basedPrice needs recheckPrice terms
Usage-based API pricing
Perplexity API Platform comparisons
Compare two products in the same category using their documented terms and sources.
- Perplexity API Platform vs Anthropic Claude API
- Perplexity API Platform vs DeepInfra
- Perplexity API Platform vs Google Gemini API
- Perplexity API Platform vs Mistral AI API
- Perplexity API Platform vs Nebius Token Factory
- Perplexity API Platform vs OpenAI API
- Perplexity API Platform vs Replicate
- Perplexity API Platform vs Together AI
- Perplexity API Platform vs xAI API
- Perplexity API Platform vs Baseten
- Perplexity API Platform vs Cerebras Inference
- Perplexity API Platform vs Cohere API
- Perplexity API Platform vs Fireworks AI API
- Perplexity API Platform vs Groq API
- Perplexity API Platform vs Hugging Face Inference Providers
- Perplexity API Platform vs IBM watsonx.ai
- Perplexity API Platform vs NVIDIA NIM
- Perplexity API Platform vs OpenRouter API
- Perplexity API Platform vs SambaCloud