OpenAI
GPT-3.5 Turbo (older v0301)
openai/gpt-3.5-turbo-0301
GPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks.
Updated by OpenAI to point to the latest version of GPT-3.5. Training data up to Sep 2021.
Context Window
16,385
Max Output Tokens
4,096
Using GPT-3.5 Turbo (older v0301) with Python API
Using GPT-3.5 Turbo (older v0301) with OpenAI compatible API
import openai
client = openai.Client(
api_key= '{your_api_key}',
base_url="https://api.model.box/v1",
)
response = client.chat.completions.create(
model="openai/gpt-3.5-turbo-0301",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)