> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/integrations/integrations-artificial-intelligence-apis/integrations-chat-gpt/chatgpt-how-to-generate-the-chatgpt-api-key-to-integrate-with-sprinthub/chatgpt-how-to-set-up-payment-in-openai-to-use-the-model.md).

# ChatGPT - How to Set Up Payment in OpenAI to Use the Model

{% embed url="<https://youtu.be/e5KzJhuJ6SY>" %}

### Introduction

To use the OpenAI API, you need to add a credit card to the account and make a minimum initial payment of **$5 dollars**. This amount ensures that you have credits to start using the services. In addition, after setting up payment, you can **adjust spending limits** to better control the costs of model usage.

Below, we present a step-by-step guide to set up payment and manage usage limits.

***

### Step by Step to Add a Credit Card

#### 1. Access the Billing Page

To add a card, follow these instructions:

* Go to the [**OpenAI dashboard**](https://platform.openai.com/docs/overview).
* In the left side menu, click on **“Billing”** (Billing).

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FQpPZeUpwIbSb89bYvyDx%2Fimage.png?alt=media&amp;token=2d74abfa-e430-456a-a4b0-5e7511df7ab3" alt=""><figcaption></figcaption></figure>

#### 2. Add Card Details

* Click the button **“Add payment method”**.
* Fill in the fields with the card information:
  * **Card number**
  * **Expiration date (MM/YY)**
  * **Security code (CVC)**
  * **Name printed on the card**
* Enter the billing address corresponding to the card.
* Click on **“Continue”** to finish adding the card.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzZfslvENCqHMC5v8c6oX%2Fimage.png?alt=media&amp;token=7ebbe656-d7a2-4709-b867-44e38ac7cdba" alt=""><figcaption></figcaption></figure>

#### 3. Make the Initial Payment

After adding the card, you will need to make a payment of at least **$5 dollars** to activate the account on OpenAI. This amount will serve as credit for your API requests.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FP4AKd7Nymg7dDeYci2Hk%2Fimage.png?alt=media&amp;token=e203600b-1532-48fd-9b8d-b95e1bbc0a7b" alt=""><figcaption></figcaption></figure>

***

### How to Adjust API Usage Limits

After adding the card and making the initial payment, you can set a spending limit to avoid unexpected charges.

#### 1. Access the Limits Page

* In the side menu, click on **“Limits”**.
* You will see the section **“Adjust usage limits”**.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FzJ9QJtV7GfUiiAH9wXyB%2Fimage.png?alt=media&amp;token=0815f2ae-e608-4097-a3fd-4c3556e6d6d8" alt=""><figcaption></figcaption></figure>

#### 2. Set the Spending Limit

* Set a **maximum value** that OpenAI can charge monthly.
* This limit can be adjusted at any time for greater control.
* If necessary, review the **usage tiers documentation** to understand how the fees are applied.

***

### Conclusion

To use the OpenAI API, it is **mandatory to add a credit card** and make a minimum payment of **$5 dollars**. After that, you can **adjust spending limits** to ensure that costs stay within your budget.

This setup is essential to ensure safe and controlled use of OpenAI's models. 🚀
