List models available in the OpenAI API (Anthropic has no API for this. Google does and support for Google will be added soon.)
Source:R/list_models.R
list_models.Rdlist_models
Usage
list_models(openai_api_key = Sys.getenv("OPENAI_API_KEY"))