Icon for Perplexity API

Perplexity API

Web search, agent, embeddings and decision APIs from Perplexity, billed per request or per token

Perplexity API is Perplexity's developer platform. The Search API returns raw web results at $5 per 1,000 requests, or $1 with Fast Search. The Agent API runs third-party models from OpenAI, Anthropic, Google, xAI, Z.AI, Moonshot AI and NVIDIA at their published token rates, with web search, URL fetch and a code sandbox as paid tools.

It also serves pplx-embed embedding models from $0.004 per 1M tokens and a Decisions API for the open pplx-decider-v1-27b decision model. Billing is prepaid credits. Perplexity documents zero retention of prompt data by default and holds a SOC 2 Type II report.

Pricing: Usage-based

Hosting Cloud
Pricing $0.004 per 1M tokens (pplx-embed-v1-0.6b)
Compliance SOC 2
Screenshot of Perplexity API webpage

Work on Perplexity API? Feature it at the top of Inference APIs.

Is your product missing?

Add it here →