How to get started with the GPTHuman API

Use the API Dashboard to set up billing, buy credits, and create an API key. Use the developer documentation when you are ready to connect your application.

Important: API credits are separate from GPTHuman subscription credits. Credits purchased for API usage cannot be used in the web app, and subscription credits cannot be used with the API.

Step 1: Open the API Dashboard

Log in to GPTHuman and open the API Dashboard. It has two tabs:

  • Billing — manage your payment method, credit packages, auto recharge, invoices, and low-balance emails
  • API Keys — create keys, view remaining credits, and review request logs

Step 2: Add a payment method and buy credits

  1. Open the Billing tab.
  2. Add a payment method if you do not already have one on file.
  3. Choose a credit package and confirm the purchase.

Credits are added to your API balance immediately and do not expire.

Step 3: Create an API key

  1. Open the API Keys tab.
  2. Click Create key.
  3. Give the key a recognizable name, such as Production or Test.
  4. Copy the key immediately. This is the only time GPTHuman shows it in full.

Treat your API key like a password. Do not share it, commit it to Git, or put it in client-side code.

Step 4: Connect your application

Follow the endpoint, authentication, schema, and code examples in the GPTHuman developer documentation.

Step 5: Check your usage

Return to the API Keys tab to review remaining credits, total requests, and request logs.

Was this helpful?