OpenAI is a well-known company in the field of artificial intelligence, and its API can be used in multiple areas such as natural language processing, image processing, and speech recognition.
There are limits to using the OpenAI API.
To facilitate users in checking the usage of their API Key, I have developed a Python script called OpenAI-Checker
.
This script can query the remaining quota, used quota, and whether access to OpenAI's latest model GPT-4 is available. Additionally, this script can batch test multiple keys without the need to log in to the official website, making it convenient for users with multiple API Keys.
Instructions:
- Go to the project OpenAI-Checker
- Clone or download this repository to your local machine
- Install the required dependencies
pip install requests
- Add your
OpenAI API
key(s) to a file namedapikey.txt
, with one key per line - Run
python main.py
Notes:
Ensure that api.openai.com
can be accessed properly and support the use of terminal proxies.