# OpenAI API

### How to Obtain an OpenAI API Key

* Create an [OpenAI account](https://platform.openai.com/signup) or [sign in](https://platform.openai.com/login).
* Navigate to the [API key page](https://platform.openai.com/account/api-keys).
* Click "Create new secret key" and optionally name the key.

{% hint style="warning" %}
Please be aware that free trial accounts are subject to a low request limit of only 3 requests per minute. To **increase API limits**,  top up your OpenAI balance with at least $5.
{% endhint %}

{% hint style="info" %}
OpenAI implements a usage-based charging model for access to its API. Be sure to monitor your account to keep track of your usage and manage costs effectively.
{% endhint %}


---

# 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://ei-docs.keywordrush.com/ai/openai-api.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.
