Add API credits
The Perplexity API draws from a prepaid API credit balance that is separate from any Perplexity subscription. Add a payment method and load credits before creating a key.
Sign in to the Perplexity API Console
Sign in to the Perplexity API Console.
- In the left sidebar under Group, click Billing.
Add a payment method and buy credits
On the Billing page, the API credit balance shows your remaining balance. Add a payment method, then load credits.
- Click Add payment method and enter your card details.
- Click Buy more credits and choose an amount to load (there is no minimum; a small amount is enough to start).

Create your API key
Generate an API key in the API Console and copy its value.
Create the API key
In the Create API Key dialog, type a name in the Key name field, then click Create Key.

Linking the Account from the Hub
Navigate to the Hub
If the account linking is successful, you will see the newly linked account in your Accounts page.


