The model `gpt-4-XYZ` does not exist (self-solved)

Hi,
I’m encountering an issue when deploying my application to Vercel, specifically with the GPT-4 models. While all the models operate flawlessly in a local environment i get The model gpt-4-turbo-preview does not exist or you do not have access to it. when it is deployed (gpt-3-xyz also works fine).
Does anyone have any suggestions or insights?

UPDATE: I created a new api key and it works fine.

1 Like