ZMIME
Perplexity

Perplexity Agent API

A hosted multi-provider API for building research and task workflows with optional web search, cited responses, and configured tools.

  • Developer frameworks and runtimes

At a glance

Provider
Perplexity
Best suited to
Adding model selection, live retrieval and tool-assisted research to an application
Availability
Public API with an API key. Model availability and request limits depend on the account and selected configuration.
Interfaces
Agent API, Perplexity SDK and supported OpenAI client interfaces
Execution environment
Perplexity executes the configured agent request. Code Mode can coordinate permitted tool calls in an embedded JavaScript runtime.
Model choice
Select a supported provider model or a Perplexity effort preset.
Tools and integrations
Web search, page retrieval, custom function tools, and supported MCP services.
Human review and controls
The request configures allowed tools, token budgets and permitted callers. Web search is opt-in outside presets that enable it.
Prerequisites
A Perplexity API key, billing setup and any credentials required by separately configured integrations.
License and hosting
Commercial hosted API.

Pricing and usage

Model tokens are billed at model-specific rates. Standard web search costs $0.0025 per invocation and fetch_url costs $0.0005 per invocation, with possible model charges for extraction.

Official cost reference

What you can do with it

  • Build a cited summary of a public policy topic.
  • Compare published market reports using search and retrieved documents.
  • Return a structured result to a product interface.

How to get started

  1. Create an API key and choose a supported model or effort preset.
  2. Enable only the tools required for the task and set a token budget.
  3. Run a fixture and inspect citations, tool calls and billed usage.

Official setup guide

Limitations

  • Different models and tools have different rates and limits.
  • Citations and structured responses still need verification for the use case.

Official sources

Sources checked

Frequently asked questions

How do I start using Perplexity Agent API?

Create an API key and choose a supported model or effort preset. Enable only the tools required for the task and set a token budget. Run a fixture and inspect citations, tool calls and billed usage.

How is Perplexity Agent API priced?

Model tokens are billed at model-specific rates. Standard web search costs $0.0025 per invocation and fetch_url costs $0.0005 per invocation, with possible model charges for extraction.

What should I check before giving it access?

The request configures allowed tools, token budgets and permitted callers. Web search is opt-in outside presets that enable it. Different models and tools have different rates and limits.

Is this the same as Perplexity Computer?

The Agent API is the developer interface for integrating tasks into applications. Perplexity Computer is an end-user workspace.