anse-app / chatgpt-demo

Minimal web UI for ChatGPT.
https://chatgpt.ddiu.me
MIT License
8.01k stars 3.81k forks source link

The model: `gpt-4-32k-0314` does not exist #289

Closed Root-FTW closed 1 year ago

Root-FTW commented 1 year ago

Describe the bug

I am trying to use the new GPT4 models, and it does not allow it, for example here I want to use the model with more tokens and more expensive and it does not allow me to do it.

image

this is the list of the new models that should be supported:

https://platform.openai.com/docs/models/gpt-4

Reproduction

uses gpt-4-32k-0314 in the model variable

System Info

vercel

Used Package Manager

npm

Validations

Root-FTW commented 1 year ago

I forgot to mention that my OpenAI account has access to GPT4 models.

yzh990918 commented 1 year ago

I forgot to mention that my OpenAI account has access to GPT4 models.

Sorry, we don't have the ability to call gpt-4, so we haven't tested the results of this model.

zqq-nuli commented 1 year ago

我正在尝试去使用4.0的模型 等我消息

achieverprince commented 1 year ago

I am also getting same error while invoking API /chat/completions { "error": { "message": "The model: gpt-4-32k does not exist", "type": "invalid_request_error", "param": null, "code": "model_not_found" } }

https://platform.openai.com/docs/models/gpt-4 image

looks like open ai content team is a head of deployment team

achieverprince commented 1 year ago

As per this comment it is not released yet https://community.openai.com/t/how-to-get-access-to-gpt-4-32k/104803

faynercosta commented 1 year ago

Hahahaha you must have been granted access on the waiting list.

Did you get this e-mail?

Thank you for joining the waitlist to build with GPT-4!

To balance capacity with demand, we'll be sending invites gradually over time.

While we ramp up, invites will be prioritized to developers who have previously build with the OpenAI API. You can also gain priority access if you contribute model evaluations to OpenAI Evals that get merged, as this will help us improve the models for everyone.

Once you’re off the waitlist, you’ll receive an email with further instructions on how to get started. We will process requests for the 8K and 32K models at different rates based on capacity, so you can expect to receive 8K access first.

achieverprince commented 1 year ago

@faynercosta my bad, didn't read the email fully . you are right.

@Root-FTW hope this cleares your doubt.

riteshambastha commented 1 year ago

Got the access after waiting for weeks to get the API access. GPT-4 is working fine, but GPT-4-32K is not available somehow. Is it yet to be released?

openai.error.InvalidRequestError: The model: gpt-4-32k does not exist

erbanku commented 1 year ago

Got the access after waiting for weeks to get the API access. GPT-4 is working fine, but GPT-4-32K is not available somehow. Is it yet to be released?

openai.error.InvalidRequestError: The model: gpt-4-32k does not exist

Check OpenAI Model Access

curl https://api.openai.com/v1/models -H "Authorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxx" >openai-models-access-$(date +%Y%m%d-%H%M%S).json

If you do not have access privilege to gpt-4-32k, then you can't use this API key to communicate with the OpenAI gpt-4-32k model you can only communicate with models you have access privileges.

erbanku commented 1 year ago

I am also getting same error while invoking API /chat/completions { "error": { "message": "The model: gpt-4-32k does not exist", "type": "invalid_request_error", "param": null, "code": "model_not_found" } }

platform.openai.com/docs/models/gpt-4 image

looks like open ai content team is a head of deployment team

You can check your model access using the command above. https://github.com/ddiu8081/chatgpt-demo/issues/289#issuecomment-1492799060