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

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

### Introduction

To use the OpenAI API, it is necessary 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 consuming the services. In addition, after setting up the payment, you can **adjust spending limits** to better control model usage costs.

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:

* Access the [**OpenAI dashboard**](https://platform.openai.com/docs/overview).
* In the left sidebar menu, click on **"Billing"** (Billing).

<figure><img src="/files/bfad02f48edd2a1cdddc4afb9d2fd8118140104c" alt=""><figcaption></figcaption></figure>

#### 2. Add Card Details

* Click the **"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 **"Continue"** to complete adding the card.

<figure><img src="/files/134f5fcef5196639d6827195444a0ebf2f90d158" alt=""><figcaption></figcaption></figure>

#### 3. Make the Initial Payment

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

<figure><img src="/files/abf29aaa7b83b54b8141749541dede101cf99675" 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="/files/9fb66d19944d2868a5cc83f427455990a067a20d" alt=""><figcaption></figcaption></figure>

#### 2. Configure the Spending Limit

* Set a **maximum amount** 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 rates 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 costs stay within your budget.

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sprinthub.com/en/topics/integration/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?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
