Received invitation to GPT4 API but it is not available?

I had the same issue, received the invitation email, but I cannot find “gpt-4” on the model list, and playground either. Is there anyone who has the same issue with me?

I’m stuck in using openai.ChatComplete with my API key, and the error message is ‘The model: gpt-4-32k does not exist’

Took me a while to figure out a way to get it working too, so posting below if anyone else stumbles upon this and want to use JavaScript:

const { Configuration, OpenAIApi } = require("openai");


  const configuration = new Configuration({
    apiKey: "<INSERT-API-KEY-HERE>",
  });

  const openai = new OpenAIApi(configuration);

  const response = await openai.createChatCompletion({
    model: "gpt-4",
    messages: [
      { role: "system", content: "You are a helpful assistant." },
      { role: "user", content: "Who won the world series in 2020?" },
      { role: "assistant", content: "The Los Angeles Dodgers." },
      { role: "user", content: "Where was it played?" },
    ],
    max_tokens: 50,
    n: 1,
    stop: null,
    temperature: 1,
  });

  console.log(response.data.choices[0].message.content);

Also wrote a guide here with all the details as well of how to do the request with Next.js - might be worth a look. Included some Do’s & Don’ts as well :+1:

Amen to that! I can’t tell you how many times I’ve gotten responses which seem like the poster didn’t even read the question.

1 Like

Sorry for the really late reply! I totally understand, I’m a strong advocate and contributor to open source (jonschlinkert (Jon Schlinkert) · GitHub), but I have many private, closed-source projects as well. I get it. Thank you for your help on these forums!

I have the same issue. :frowning: something new?