GPT-4.1 nano
GPT-4.1 nano is the smallest and fastest model in the GPT-4.1 family, designed for high-volume, low-latency tasks like classification, autocomplete, and routing, delivering strong results on MMLU at the lowest price point in the GPT-4.1 lineup.
import { streamText } from 'ai'
const result = streamText({ model: 'openai/gpt-4.1-nano', prompt: 'Why is the sky blue?'})