AI Gateway

All Models/

GPT-3.5 Turbo

GPT-3.5 Turbo by OpenAI

OpenAI's most capable and cost effective model in the GPT-3.5 family optimized for chat purposes, but also works well for traditional completions tasks.

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