> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Perplexity AI

> Add and configure Google Perplexity models in TrueFoundry's AI Gateway.

### Adding Models

This section explains the steps to add Perplexity models and configure the required access controls.

<Steps>
  <Step title="Navigate to Perplexity AI Models in AI Gateway">
    From the TrueFoundry dashboard, navigate to `AI Gateway` > `Models` and select `Perplexity AI`.

    <Frame caption="Navigate to Perplexity AI Models">
      <img src="https://mintcdn.com/truefoundry/-g83eZw0cKb4T5XU/images/docs/Screenshot2025-07-23at2.48.27PM-min.png?fit=max&auto=format&n=-g83eZw0cKb4T5XU&q=85&s=6d82b1a0e65e26d2b30bfd488e7a7a92" alt="Navigating to Mistral Provider Account in AI Gateway" width="3596" height="2006" data-path="images/docs/Screenshot2025-07-23at2.48.27PM-min.png" />
    </Frame>
  </Step>

  <Step title="Add Perplexity AI Account Details">
    Click `Add Perplexity Account`. Give a unique name to your Perplexity account and complete the form with your Perplexity authentication details (API Key). Add collaborators to your account, this will give access to the account to other users/teams. Learn more about access control [here](/docs/ai-gateway/gateway-access-control).

    <Frame caption="Perplexity AI Model Account Form">
      <img src="https://mintcdn.com/truefoundry/-g83eZw0cKb4T5XU/images/docs/Screenshot2025-07-23at3.02.06PM-min.png?fit=max&auto=format&n=-g83eZw0cKb4T5XU&q=85&s=4b6532c0e4b42387f67a83cc0df43770" alt="Perplexity account configuration form with fields for API key and collaborators" width="2500" height="2016" data-path="images/docs/Screenshot2025-07-23at3.02.06PM-min.png" />
    </Frame>
  </Step>

  <Step title="Add Models">
    Select the model from the list. If you see the model you want to add in the list of checkboxes, we support public model cost for these models.

    <Note>
      (Optional) If the model you are looking for is not present in the options, you can add it using `+ Add Model` at the end of list (scroll down to see the option) by filling the form.
    </Note>
  </Step>
</Steps>

### Inference

After adding the models, you can perform inference using an OpenAI-compatible API via the Playground or by integrating with your own application.

<img src="https://mintcdn.com/truefoundry/jw406UAsc7ErYUq8/images/Screenshot2025-07-23at3.37.27PM-min.png?fit=max&auto=format&n=jw406UAsc7ErYUq8&q=85&s=eaed4822af42a15183d4424833536e45" alt="Code Snippet and Try in Playgroud Buttons for each model" width="3600" height="2006" data-path="images/Screenshot2025-07-23at3.37.27PM-min.png" />
