Retrieves the list of available models from the OpenAI API.
A list of Model objects.
if the API request fails.