Skip to content

GPT-4 Turbo

GPT-4 Turbo launched at OpenAI DevDay 2023 with a context window of 128K tokens, built-in vision, JSON mode, and a knowledge cutoff of April 2023, all at reduced input prices compared to the original GPT-4.

Tool UseVision (Image)
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-4-turbo',
prompt: 'Why is the sky blue?'
})