Skip to main content
Perplexity

Search documentation

Type to search this documentation.

List Models

GET

/

router

/

v1

/

models

List Models

curl --request GET \
  --url https://api.perplexity.ai/router/v1/models \
  --header 'Authorization: Bearer <token>'
title="200"
{
  "object": "<string>",
  "data": [
    {
      "id": "<string>",
      "object": "<string>",
      "created": 123,
      "owned_by": "<string>",
      "pricing": {
        "input": 123,
        "output": 123,
        "unit": "usd_per_1m_tokens",
        "cache_write": 123,
        "cache_read": 123
      }
    }
  ]
}

Authorization

string

header

required

Your Perplexity API key.

200 - application/json

The list of available models with base token prices.

object

string

required

Always list.

data

object[]

required

Show child attributes

Was this page helpful?

⌘I

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu