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

# Perplexity AI

It’s easy to set up Typing Mind for using with Perplexity AI ([https://www.perplexity.ai/](https://www.perplexity.ai/)) Here is a quick guide.

<Tip>
  Perplexity AI model is different from the Perplexity Plugin:

  * **Perplexity model** optimizes for the entire conversation, and answers user queries effectively using Perplexity datasets.
  * **Perplexity plugin** optimizes searching information during the conversation to get up-to-date responses. You can enable or disable it whenever you want or use it with other AI models such as GPT-4o, or Claude to enhance the AI responses.
</Tip>

## Get a Perplexity AI account

Go to [https://www.perplexity.ai/](https://www.perplexity.ai/) and sign up for an account. Then go to  [https://www.perplexity.ai/settings/api](https://www.perplexity.ai/settings/api) to get your API key.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/perplexity-ai/Untitled.png" alt="Untitled" />

Note that you may need to **top-up your credit** to use the API.

## Use Perplexity models on Typing Mind

* Go to [**typingmind.com**](http://typingmind.com)
* Navigate the Models menu on the left sidebar → Switch to API key tab
* Input the copied API key for Perplexity.

<Frame>
  <img src="https://mintcdn.com/typingmind/f18I_2hiObU32xEr/images/api-key-tab.webp?fit=max&auto=format&n=f18I_2hiObU32xEr&q=85&s=cd0e293a1514cb9d086e8754ac1106ee" alt="Api Key Tab" width="2342" height="1764" data-path="images/api-key-tab.webp" />
</Frame>

<Warning>
  **Quick Troubleshooting**

  If you see errors like "Sorry, Custom Model has rejected your request", click on the **Model** dropdown menu → **Model Settings** → **Advanced Settings** → then reset all parameters to default.
</Warning>

<Warning>
  If you see errors like "…After the (optional) system message(s), user and assistant roles should be alternating", please enable **Support System Role** in the custom model settings.
</Warning>

After entering the API key for Perplexity, switch back to Models tab → select Perplexity → enable Perplexity models you want to chat with.

<Frame>
  <img src="https://mintcdn.com/typingmind/VAznm0Uo9H9pR4_5/images/pplx-model.webp?fit=max&auto=format&n=VAznm0Uo9H9pR4_5&q=85&s=9ad7bc99c0662ef82695ff54a01eeda7" alt="Pplx Model" width="2358" height="1740" data-path="images/pplx-model.webp" />
</Frame>

## Use Perplexity AI model

You can now select and use Perplexity model from the dropdown menu.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/perplexity-ai/Untitled%202.png" alt="Untitled" />
