Can not access any GPT model through API

Models are available in playground.
Postman response is below. It says The model GPT-3.5-turbo does not exist or you do not have access to it.",

{
“error”: {
“message”: “The model GPT-3.5-turbo does not exist or you do not have access to it.”,
“type”: “invalid_request_error”,
“param”: null,
“code”: “model_not_found”
}
}

Hi there!

Can you share your curl request for reference?

The model GPT-3.5-turbo indeed does not exist.

However, you might try specifying the model parameter in all lower-case letters and see if that works much better for you!

https://platform.openai.com/docs/models/gpt-3-5-turbo

2 Likes

Thanks jr.2509, It is working now. I thin openai gives access to its model after a delay of 1 or 2 days, to new APIs.

1 Like

Hi. Thanks.
Made some changes. Working now.