How can I get GPT-4 access on API

I used this to send requests to the chat gpt 3.5 turbo:

{
  "model": "gpt-3.5-turbo",
  "max_tokens": 2400,
  "top_p": 0.9,
  "messages": [
    {
      "role": "system",
      "content": "You are assistant"
    },
    {
      "role": "user",
      "content": "{v=Request}"
    }
  ]
}

But when I changed the model to chat gpt 4, it showed error: “The model gpt-4 does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.
In this link is written that you need 5$ in your account, but I already have it

You can only use gpt-4 if it is available for your org. To check if gpt-4 is available to you, make an API call to the list Models endpoint.

Alternatively you can check if it’s on your rate limits page.

The article refers to making a payment of $5 using a payment method linked to the account not to the credit grant received.

1 Like