Open lyjpaul opened 1 year ago
I'm running into this too. I have a ChatGPT+ subscription, and Cursor is saying the API key I made for it is invalid.
I'm having the same issue
Same for me. Tested 2 keys, I see that OpenAI detect tests (first use date changes), but cursor reports them as invalid
I see that there is "Start payment plan" in Open AI billing. I already have GTP4 and never before had to do that for OpenAI key to work. Probably "new" and necessary for cursor to work?
same issue for me
same for me
Me too.
I finally figured this out! OpenAI's API use is paid for separately from a ChatGPT Plus subscription (for some reason I had assumed that paying for ChatGPT+ would have paid for my API use), so you'll need a credit balance for your OpenAI account in order for your API key to work. You can go to https://platform.openai.com/account/billing/overview and make sure you have a credit balance there. I also revoked/reissued a new API key for Cursor afterwards, though I'm not sure whether or not that was necessary.
I finally figured this out! OpenAI's API use is paid for separately from a ChatGPT Plus subscription (for some reason I had assumed that paying for ChatGPT+ would have paid for my API use), so you'll need a credit balance for your OpenAI account in order for your API key to work. You can go to https://platform.openai.com/account/billing/overview and make sure you have a credit balance there. I also revoked/reissued a new API key for Cursor afterwards, though I'm not sure whether or not that was necessary.
Thank you for confirming my suspicion. I've already used my API key with ChatGPT+ subscription in other occasions and it worked... weird.
Same here. my keys are working from curl, but not from cursor
I finally figured this out! OpenAI's API use is paid for separately from a ChatGPT Plus subscription (for some reason I had assumed that paying for ChatGPT+ would have paid for my API use), so you'll need a credit balance for your OpenAI account in order for your API key to work. You can go to https://platform.openai.com/account/billing/overview and make sure you have a credit balance there. I also revoked/reissued a new API key for Cursor afterwards, though I'm not sure whether or not that was necessary.
Thank you for confirming my suspicion. I've already used my API key with ChatGPT+ subscription in other occasions and it worked... weird. bro,I would like to ask why the key I purchased directly from the merchant cannot be used, does it require the login account to be consistent with the apikey
the command line to test the api key return successfully, but inside cursor still report a invalid key issue. model gpt3.5 and key is newly generated for 3.5