OpenAI
GPT-4 Turbo Vision Preview(older v1106)
openai/gpt-4-1106-vision-preview
GPT-4 model with the ability to understand images, in addition to all other GPT-4 Turbo capabilities. This is a preview model, we recommend developers to now use gpt-4-turbo which includes vision capabilities.
Capability
Vision Support
Context Window
128,000
Max Output Tokens
4,096
Using GPT-4 Turbo Vision Preview(older v1106) with Python API
Using GPT-4 Turbo Vision Preview(older v1106) 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-4-1106-vision-preview",
messages: [
{
role: 'user',
content:
'introduce your self',
},
]
)
print(response)