How to get access to gpt-4 via api?

I’m using gpt-3-turbo via api but when I’m trying to request model gpt-4 I’m getting the response:
{
“error”: {
“message”: “The model gpt-4 does not exist or you do not have access to it. Learn more: How can I access GPT-4? | OpenAI Help Center”,
“type”: “invalid_request_error”,
“param”: null,
“code”: “model_not_found”
}
}

You need to add billing info:

yeah, but I had put 5$ to the balance in July. That’s why I’m surprised to have no access to gpt-4 via api till now

Have you actually spent money beyond the free tier? Here is more info about Usage Tiers:
https://platform.openai.com/docs/guides/rate-limits?context=tier-free

The error indicates that the model “gpt-4” is either unavailable or not accessible through your current API configuration. To use GPT-4, check OpenAI’s documentation on accessing GPT-4 and ensure your API key has the necessary permissions. Verify that the model name and key are correctly specified in your API request. If issues persist, contact OpenAI support for assistance.

I’ve just wrote to Support. Estimated as a “responding in a week”