0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 151 forks source link

Free API key !=Free access to API #105

Closed thomashrabe closed 1 year ago

thomashrabe commented 1 year ago

Thanks for creating the script. However, I am failing with image

because I do not have a pay OpenAI account it tells me

me@localhost:~$ chatgpt.sh
Welcome to chatgpt. You can quit with 'exit' or 'q'.

Enter a prompt:
what is the radius of earth

Your request to Open AI API failed: insufficient_quota
You exceeded your current quota, please check your plan and billing details.
0xacx commented 1 year ago

Well, as the message says "You exceeded your current quota, please check your plan and billing details". Have you checked your OpenAI API usage? Your key has probably expired.

thomashrabe commented 1 year ago

To be more specific, I just had signed up for an openai account yesterday. I saw free but what it in fact means you need to add a payment method and probably get a free quota before it taps into your funds… I understand this is off topic, but Free as written in the readme is little bit misleading :)

0xacx commented 1 year ago

Oh well that must be a new limitation then. I created an account in April 2023 and it still offered some free credits for the first 6 months. No payment method required, just phone number. Can you check your usage ?

thomashrabe commented 1 year ago

Could also be that I had some free API credits and they expired when I created my ChatGPT account and they expired bc I didnt know of it. I can sign up again, no problem there... image

thomashrabe commented 1 year ago

Yep, that was it... new account, got $5 free access... CLI works fine now