API access not working despite paying for openai

When I am trying to access api key it is showing access not found for chatgpt4o but i have the access as well.Below is the reference API Error: {
“error”: {
“message”: “The model gpt-4 does not exist or you do not have access to it.”,
“type”: “invalid_request_error”,
“param”: null,
“code”: “model_not_found”
}
}

could any one confirm whether i need to add credit card details for the api as well to get access

Error testing API key: Error: HTTP error! status: 404
at testApiKey (file:///D:/telegram-tdlib-bot/test-api-key.mjs:29:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Yes, not only will you need to add a credit card, but you will need to then purchase credits for your organization in order to pay for API services and to unlock gpt-4 models.

The API is unconnected to ChatGPT.

1 Like