GPT-5 nano
GPT-5 nano is the fastest and most affordable model in the GPT-5 family, designed for high-throughput, low-latency tasks like classification, routing, autocomplete, and lightweight inference at scale.
import { streamText } from 'ai'
const result = streamText({ model: 'openai/gpt-5-nano', prompt: 'Why is the sky blue?'})