> ## 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.

## 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.

![Untitled](https://mintcdn.com/typingmind/7fxalBaEFNO2seEf/manage-and-connect-ai-models/perplexity-ai/Untitled.webp?fit=max\&auto=format\&n=7fxalBaEFNO2seEf\&q=85\&s=358911c76dae5e4a13abd4c23985907a)

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

## Use Perplexity models on Typing Mind

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

![Api Key Tab](https://mintcdn.com/typingmind/f18I_2hiObU32xEr/images/api-key-tab.webp?fit=max\&auto=format\&n=f18I_2hiObU32xEr\&q=85\&s=cd0e293a1514cb9d086e8754ac1106ee)

> [!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]
>
> 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.

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

![Pplx Model](https://mintcdn.com/typingmind/VAznm0Uo9H9pR4_5/images/pplx-model.webp?fit=max\&auto=format\&n=VAznm0Uo9H9pR4_5\&q=85\&s=9ad7bc99c0662ef82695ff54a01eeda7)

## Use Perplexity AI model

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

![Untitled](https://mintlify.s3.us-west-1.amazonaws.com/typingmind/manage-and-connect-ai-models/perplexity-ai/Untitled%202.webp)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.