AI Gateway

All Models/

GPT-5 nano

GPT-5 nano by OpenAI

GPT-5 nano is a high throughput model that excels at simple instruction or classification tasks.

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