Perplexity provides the Router API for unified access to open-weight language models through OpenAI-compatible chat completions and other model interfaces.

API

What your agent can do

  • The Router API provides unified access to open-weight models hosted by Perplexity through a single API and API key.

    Via API.

Tasks depend on the interface and permissions.

Connection methods

Choose a route that fits your agent.

API connection

Documentation & experience

  • 1 connection path
View sources and checks
How documentation is checked