FluidVoice icon indicating copy to clipboard operation
FluidVoice copied to clipboard

OpenAI API Key Connection Failed

Open Ikearegal75 opened this issue 1 year ago • 6 comments

Hi, I have entered a correct API Key on an ChatGPT Plus account. There is no firewall. It starts with sk- but on Test it just says "Connection failed. HTTP 429: Invalid key or insufficient credits. What am I doing wrong?

Ikearegal75 avatar Oct 06 '25 06:10 Ikearegal75

maybe check if the api is right but doing a sample API call directly based on OpenAI documentation ? It works for me usually.

altic-dev avatar Oct 27 '25 18:10 altic-dev

Not sure if this is the same issue, but I was unable to get LMStudio on a local lan computer connected, because though the field says API Key is optional, the "Save" button will not activate if the field is blank.

Howardgr avatar Nov 30 '25 19:11 Howardgr

@Howardgr - you can add any random string to make it 'non empty' and it would work! I use LM Studio as well and it works well!

altic-dev avatar Dec 01 '25 04:12 altic-dev

@Ikearegal75 - closing this issue for now. Please lmk if you still face issues. The error either means wrong key ( check for spaces etc before or after entry of api key) or add credits to your openai account! Or you can use free providers like groq, cerebras or google :) or run a local model your mac if you have >16GB Ram!

altic-dev avatar Dec 01 '25 04:12 altic-dev

Fixed this now for once and for all! supports all models upto 5 and 5.1 - OpenAI.

#45

altic-dev avatar Dec 10 '25 10:12 altic-dev

http://localhost:1234/v1/chat/completions is what you need to put in the AI settings provider field - as I eventually discovered.

Howardgr avatar Dec 12 '25 22:12 Howardgr