Listing available models#
This notebook lists models that are available via the OpenAI API.
from openai import OpenAI
client = OpenAI()
sorted([model.id for model in client.models.list().data])
['babbage-002',
'dall-e-2',
'dall-e-3',
'davinci-002',
'ft:gpt-3.5-turbo-0125:leipzig-university::9VNFya3H:ckpt-step-77',
'ft:gpt-3.5-turbo-0125:leipzig-university::9VNFz3h3',
'ft:gpt-3.5-turbo-0125:leipzig-university::9VNFzOv6:ckpt-step-88',
'ft:gpt-3.5-turbo-0125:leipzig-university::9WlQiTl6:ckpt-step-77',
'ft:gpt-3.5-turbo-0125:leipzig-university::9WlQjtjc',
'ft:gpt-3.5-turbo-0125:leipzig-university::9WlQjz24:ckpt-step-88',
'gpt-3.5-turbo',
'gpt-3.5-turbo-0125',
'gpt-3.5-turbo-0301',
'gpt-3.5-turbo-0613',
'gpt-3.5-turbo-1106',
'gpt-3.5-turbo-16k',
'gpt-3.5-turbo-16k-0613',
'gpt-3.5-turbo-instruct',
'gpt-3.5-turbo-instruct-0914',
'gpt-4',
'gpt-4-0125-preview',
'gpt-4-0613',
'gpt-4-1106-preview',
'gpt-4-1106-vision-preview',
'gpt-4-turbo',
'gpt-4-turbo-2024-04-09',
'gpt-4-turbo-preview',
'gpt-4-vision-preview',
'gpt-4o',
'gpt-4o-2024-05-13',
'text-embedding-3-large',
'text-embedding-3-small',
'text-embedding-ada-002',
'tts-1',
'tts-1-1106',
'tts-1-hd',
'tts-1-hd-1106',
'whisper-1']