Navigating the OpenAI API Key and Models
Table of Contents
OpenAI API Key
You can get your API key from https://beta.openai.com/account/api-keys
You can set it in your shell environment:
export OPENAI_API_KEY=sk-...
Models
Shell
echo "id\tobject\tcreated\towned_by" curl -s -X 'GET' \ 'https://api.openai.com/v1/models' \ -H 'accept: application/json' \ -H "Authorization: Bearer $OPENAI_API_KEY" \ | jq -r '.data | sort_by(-.created) | map([.id, .object, .created, .owned_by] | @tsv) | .[]'
id | object | created | owned_by |
canary-whisper | model | 1699656801 | system |
canary-tts | model | 1699492935 | system |
tts-1-hd-1106 | model | 1699053533 | system |
tts-1-1106 | model | 1699053241 | system |
tts-1-hd | model | 1699046015 | system |
gpt-3.5-turbo-1106 | model | 1698959748 | system |
gpt-4-1106-preview | model | 1698957206 | system |
gpt-4-vision-preview | model | 1698894917 | system |
dall-e-2 | model | 1698798177 | system |
dall-e-3 | model | 1698785189 | system |
gpt-3.5-turbo-instruct-0914 | model | 1694122472 | system |
gpt-3.5-turbo-instruct | model | 1692901427 | system |
babbage-002 | model | 1692634615 | system |
davinci-002 | model | 1692634301 | system |
gpt-4 | model | 1687882411 | openai |
gpt-4-0314 | model | 1687882410 | openai |
gpt-4-0613 | model | 1686588896 | openai |
gpt-3.5-turbo-0613 | model | 1686587434 | openai |
gpt-3.5-turbo-16k-0613 | model | 1685474247 | openai |
gpt-3.5-turbo-16k | model | 1683758102 | openai-internal |
tts-1 | model | 1681940951 | openai-internal |
gpt-3.5-turbo-0301 | model | 1677649963 | openai |
gpt-3.5-turbo | model | 1677610602 | openai |
whisper-1 | model | 1677532384 | openai-internal |
text-embedding-ada-002 | model | 1671217299 | openai-internal |
text-davinci-003 | model | 1669599635 | openai-internal |
curie-similarity | model | 1651172510 | openai-dev |
babbage-search-document | model | 1651172510 | openai-dev |
ada-code-search-text | model | 1651172510 | openai-dev |
text-search-babbage-doc-001 | model | 1651172509 | openai-dev |
curie-search-query | model | 1651172509 | openai-dev |
text-search-babbage-query-001 | model | 1651172509 | openai-dev |
babbage-search-query | model | 1651172509 | openai-dev |
davinci-similarity | model | 1651172509 | openai-dev |
davinci-search-document | model | 1651172509 | openai-dev |
babbage-code-search-code | model | 1651172509 | openai-dev |
babbage-code-search-text | model | 1651172509 | openai-dev |
text-search-curie-query-001 | model | 1651172509 | openai-dev |
text-search-curie-doc-001 | model | 1651172509 | openai-dev |
curie-search-document | model | 1651172508 | openai-dev |
text-search-ada-doc-001 | model | 1651172507 | openai-dev |
text-similarity-curie-001 | model | 1651172507 | openai-dev |
ada-search-document | model | 1651172507 | openai-dev |
code-search-ada-text-001 | model | 1651172507 | openai-dev |
code-search-babbage-code-001 | model | 1651172507 | openai-dev |
code-search-babbage-text-001 | model | 1651172507 | openai-dev |
ada-similarity | model | 1651172507 | openai-dev |
code-search-ada-code-001 | model | 1651172507 | openai-dev |
text-similarity-davinci-001 | model | 1651172505 | openai-dev |
text-similarity-babbage-001 | model | 1651172505 | openai-dev |
text-search-davinci-doc-001 | model | 1651172505 | openai-dev |
babbage-similarity | model | 1651172505 | openai-dev |
davinci-search-query | model | 1651172505 | openai-dev |
text-search-davinci-query-001 | model | 1651172505 | openai-dev |
ada-code-search-code | model | 1651172505 | openai-dev |
text-search-ada-query-001 | model | 1651172505 | openai-dev |
ada-search-query | model | 1651172505 | openai-dev |
text-similarity-ada-001 | model | 1651172505 | openai-dev |
code-davinci-edit-001 | model | 1649880484 | openai |
text-davinci-002 | model | 1649880484 | openai |
text-davinci-edit-001 | model | 1649809179 | openai |
text-babbage-001 | model | 1649364043 | openai |
text-curie-001 | model | 1649364043 | openai |
curie-instruct-beta | model | 1649364042 | openai |
davinci-instruct-beta | model | 1649364042 | openai |
text-davinci-001 | model | 1649364042 | openai |
text-ada-001 | model | 1649364042 | openai |
curie | model | 1649359874 | openai |
davinci | model | 1649359874 | openai |
babbage | model | 1649358449 | openai |
ada | model | 1649357491 | openai |