Access our API and various models through the API Console. Add payment methods, monitor usage, and generate API keys to seamlessly integrate Perplexity into your workflow.

Learn more about the API by visiting our documentation.

How can I access the API?

Visit the API Console. There, you can view and add credits, generate API keys, and monitor your usage patterns.

How do I generate and use API keys?

  • Go to the API Console.

  • Add a payment method in the “Billing” tab.

  • Click “Buy more credits.”

  • Go to the “API Keys” tab and click “Generate API Key.”

  • Copy the generated key and use it in your API requests.

Note: API Credits are separate from Computer Credits.